Click or drag to resize
LightsManagerGetLights 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#
public 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.

Implements

ILightsManagerGetLights(MaterialAPI, BoundingSphere)
See Also