collada.light.BoundSpotLight¶
- class collada.light.BoundSpotLight(slight, matrix)¶
Spot light bound to a scene with transformation. This gets created when a light is instantiated in a scene. Do not create this manually.
- __init__(slight, matrix)¶
Methods
__init__(slight, matrix)Attributes
positionNumpy array of length 3 representing the position of the light in the scene
directionDirection of the spot light
upUp vector of the spot light
matrixTransform matrix for the bound light
colorEither 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
originalThe original
collada.light.SpotLightthis is bound to