Click or drag to resize
LightsManager Class
Implement a default, basic lights manager.
Inheritance Hierarchy
SystemObject
  GeonBit.Core.Graphics.LightsLightsManager

Namespace:  GeonBit.Core.Graphics.Lights
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class LightsManager : ILightsManager

The LightsManager type exposes the following members.

Constructors
  NameDescription
Public methodLightsManager
Initializes a new instance of the LightsManager class
Top
Properties
  NameDescription
Public propertyAmbientLight
Ambient light.
Public propertyLightsRegionSize
Lights manager divide the world into segments, or regions, that contain lights. When drawing entities we get the entity bounding sphere and and all the
Top
Methods
  NameDescription
Public methodAddLight
Add a light source to lights manager.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLights
Get all lights for a given bounding sphere.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemoveLight
Remove a light source from lights manager.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateLightTransform
Update the transformations of a light inside this manager.
Top
Fields
  NameDescription
Public fieldMaxLightsPerRender
Max lights we allow to return for a single render.
Top
See Also