Class EnvironmentManager
Is responsible to configure the environment of the scene (SkyBox, lighting general parameter, 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 a Sun light.
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 generate 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 going to be disposed.
Declaration
protected override void OnDestroy()
Overrides
Events
OnStrategyChanged
Event fired when the strategy has been changed.
Declaration
public event EventHandler<EnvironmentManager.StrategyTypes> OnStrategyChanged
Event Type
| Type | Description |
|---|---|
| EventHandler<EnvironmentManager.StrategyTypes> |
OnSunLightChanged
Event fired when the sun light has been changed.
Declaration
public event EventHandler<ValueChanged<DirectionalLight>> OnSunLightChanged
Event Type
| Type | Description |
|---|---|
| EventHandler<ValueChanged<DirectionalLight>> |