Bases: collada.light.Light
Point light as defined in COLLADA tag <point>.
Create a new sun light.
Parameters: |
|
---|
Methods
__init__(id, color[, constant_att, ...]) | Create a new sun light. |
bind(matrix) | Binds this light to a transform matrix. |
load(collada, localscope, node) | |
save() | Saves the light’s properties back to xmlnode |
The unique string identifier for the light
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
Constant attenuation factor.
Linear attenuation factor.
Quadratic attenuation factor.
Distance to the far clipping plane
ElementTree representation of the light.
Binds this light to a transform matrix.
Parameters: | matrix (numpy.array) – A 4x4 numpy float matrix |
---|---|
Return type: | collada.light.BoundPointLight |