Previous topic

collada.light.BoundPointLight

Next topic

collada.light.DirectionalLight

This Page

collada.light.BoundSpotLight

class collada.light.BoundSpotLight(slight, matrix)

Bases: collada.light.BoundLight

Spot 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__(slight, matrix)

Methods

__init__(slight, matrix)
position

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

direction

Direction of the spot light

up

Up vector of the spot light

matrix

Transform matrix for the bound light

color

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

The original collada.light.SpotLight this is bound to