Class EnvironmentManager
Is responsible for configuring the environment of the scene (SkyBox, general lighting parameters, etc.).
Inheritance
EnvironmentManager
Implements
Inherited Members
Namespace: Evergine.Framework.Managers
Assembly: Evergine.Framework.dll
Syntax
public class EnvironmentManager : SceneManager, IDependencyObject
Constructors
EnvironmentManager()
Initializes a new instance of the EnvironmentManager class.
Declaration
public EnvironmentManager()
Fields
iblReflectionProbe
Dependency system reference model.
Declaration
protected LoadableDependencyLink<ReflectionProbe> iblReflectionProbe
Field Value
Type | Description |
---|---|
LoadableDependencyLink<ReflectionProbe> |
sunLight
The directional light used as sunlight.
Declaration
protected DirectionalLight sunLight
Field Value
Type | Description |
---|---|
DirectionalLight |
Properties
IBLReflectionProbe
Gets or sets the IBL radiance texture asset.
Declaration
public ReflectionProbe IBLReflectionProbe { get; set; }
Property Value
Type | Description |
---|---|
ReflectionProbe |
IntensityMultiplier
Gets or sets the SkyBox intensity multiplier.
Declaration
public float IntensityMultiplier { get; set; }
Property Value
Type | Description |
---|---|
float |
Strategy
Gets or sets the generated scene files strategy.
Declaration
public EnvironmentManager.StrategyTypes Strategy { get; set; }
Property Value
Type | Description |
---|---|
EnvironmentManager.StrategyTypes |
SunLight
Gets or sets the skybox texture asset.
Declaration
public DirectionalLight SunLight { get; set; }
Property Value
Type | Description |
---|---|
DirectionalLight |
Methods
OnDestroy()
Invoked when the object is about to be disposed.
Declaration
protected override void OnDestroy()
Overrides
Events
OnStrategyChanged
Event that fires when the strategy is changed.
Declaration
public event EventHandler<EnvironmentManager.StrategyTypes> OnStrategyChanged
Event Type
Type | Description |
---|---|
EventHandler<EnvironmentManager.StrategyTypes> |
OnSunLightChanged
Event fired when the sunlight has changed.
Declaration
public event EventHandler<ValueChanged<DirectionalLight>> OnSunLightChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChanged<DirectionalLight>> |