Click or drag to resize
ILightsManagerGetLights 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#
LightSource[] GetLights(
	MaterialAPI material,
	ref BoundingSphere boundingSphere
)

Parameters

material
Type: GeonBit.Core.Graphics.MaterialsMaterialAPI
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