GeonBit Documentation
GeonBit Documentation
GeonBit
GeonBit.Core.Graphics.Lights
ILightsManager Interface
ILightsManager Methods
AddLight Method
GetLights Method
RemoveLight Method
UpdateLightTransform Method
ILightsManager
GetLights Method
Get all lights for a given bounding sphere and material.
Namespace:
GeonBit.Core.Graphics.Lights
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
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.
See Also
Reference
ILightsManager Interface
GeonBit.Core.Graphics.Lights Namespace
GeonBit ECS game Engine. By Ronen Ness, 2017.
Send comments on this topic to
ronenness@gmail.com