LightSource Methods |
The LightSource type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetFloatBuffer |
Get the source light as a buffer of floats, in the following format:
float3 Color, float3 Position, float Intensity, float Range, float specular.
Note: if its a directional light, we'll get Direction instead of Position.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
RecalcBoundingSphere |
Recalculate light bounding sphere after transformations or radius change.
| |
Remove |
Remove self from parent lights manager.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateTransforms |
Update light transformations.
|