LightSourceGetFloatBuffer Method |
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.
Namespace:
GeonBit.Core.Graphics.Lights
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public virtual float[] GetFloatBuffer()
Return Value
Type:
Single[Missing <returns> documentation for "M:GeonBit.Core.Graphics.Lights.LightSource.GetFloatBuffer"]
See Also