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 = None

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

direction = None

Direction of the spot light

up = None

Up vector of the spot light

matrix = None

Transform matrix for the bound light

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.SpotLight this is bound to