GeonBit Documentation
GeonBit Documentation
GeonBit
GeonBit.Core.Graphics.Lights
LightsManager Class
LightsManager Methods
AddLight Method
GetLights Method
RemoveLight Method
UpdateLightTransform Method
LightsManager
GetLights Method
Get all lights for a given bounding sphere.
Namespace:
GeonBit.Core.Graphics.Lights
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
LightSource
[]
GetLights
(
MaterialAPI
material
,
ref
BoundingSphere
boundingSphere
)
Parameters
material
Type:
GeonBit.Core.Graphics.Materials
MaterialAPI
Material to get lights for.
boundingSphere
Type:
BoundingSphere
Rendering bounding sphere.
Return Value
Type:
LightSource
Array of lights to apply on this material and drawing.
Implements
ILightsManager
GetLights(MaterialAPI, BoundingSphere
)
See Also
Reference
LightsManager Class
GeonBit.Core.Graphics.Lights Namespace
GeonBit ECS game Engine. By Ronen Ness, 2017.
Send comments on this topic to
ronenness@gmail.com