Previous topic

collada.light.BoundAmbientLight

Next topic

collada.light.BoundLight

This Page

collada.light.BoundDirectionalLight

class collada.light.BoundDirectionalLight(dlight, matrix)

Bases: collada.light.BoundLight

Directional light bound to a scene with transformation. This gets created when a light is instantiated in a scene. Do not create this manually.

Inheritance diagram of collada.light

__init__(dlight, matrix)

Methods

__init__(dlight, matrix)
direction = None

Numpy array of length 3 representing the direction of the light in the scene

color = None

Either a tuple of size 3 containing the RGB color value of the light or a tuple of size 4 containing the RGBA color value of the light

original = None

The original collada.light.DirectionalLight this is bound to