Click or drag to resize
LightSource Methods

The LightSource type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetFloatBuffer
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.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRecalcBoundingSphere
Recalculate light bounding sphere after transformations or radius change.
Public methodRemove
Remove self from parent lights manager.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateTransforms
Update light transformations.
Top
See Also