Panda3DLight

class Panda3DLight

Bases: pybind11_object

Base class for a Light that can be added to a Panda3D scene.

Note that modifying any object that inherits from this class after the method addToScene has been called * will not update the rendered light.

Methods

__init__

getColor

Get the light's color.

getName

Get the name of the light.

Inherited Methods

Operators

__annotations__

__doc__

__init__

__module__

Attributes

__annotations__

__init__(*args, **kwargs)
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.