Panda3DAmbientLight

class Panda3DAmbientLight(self, name: str, color: visp._visp.core.RGBf)

Bases: Panda3DLight

Methods

__init__

addToScene

Inherited Methods

getName

Get the name of the light.

getColor

Get the light's color.

Operators

__doc__

__init__

__module__

Attributes

__annotations__

__init__(self, name: str, color: visp._visp.core.RGBf)
addToScene(self, scene: NodePath) None
getColor(self) visp._visp.core.RGBf

Get the light’s color.

Returns:

const vpRGBf &

getName(self) str

Get the name of the light.

This name should be unique and will be required when interacting with Panda3D to fetch the node.