Class EnvironmentComponent
Sets the environment manager properties.
Inheritance
EnvironmentComponent
Implements
Inherited Members
Namespace: Evergine.Components.Graphics3D
Assembly: Evergine.Framework.dll
Syntax
[Obsolete("Managers should be configured from Scene Managers panel")]
public class EnvironmentComponent : Component, IDependencyObject
Constructors
EnvironmentComponent()
Initializes a new instance of the EnvironmentComponent class.
Declaration
public EnvironmentComponent()
Fields
reflectionProbeLink
Dependency System Reference Model.
Declaration
protected LoadableDependencyLink<ReflectionProbe> reflectionProbeLink
Field Value
Type | Description |
---|---|
LoadableDependencyLink<ReflectionProbe> |
Properties
IntensityMultiplier
Gets or sets the intensity multiplier.
Declaration
public float IntensityMultiplier { get; set; }
Property Value
Type | Description |
---|---|
float |
ReflectionProbe
Gets or sets the SkyBox texture.
Declaration
public ReflectionProbe ReflectionProbe { get; set; }
Property Value
Type | Description |
---|---|
ReflectionProbe |
Strategy
Gets or sets the strategy for generating scene files.
Declaration
public EnvironmentComponent.StrategyTypes Strategy { get; set; }
Property Value
Type | Description |
---|---|
EnvironmentComponent.StrategyTypes |
Methods
Generate()
Generates a reflection probe on-demand action.
Declaration
public void Generate()
OnActivated()
Invoked when the object is activated once it is attached.
Declaration
protected override void OnActivated()
Overrides
OnDeactivated()
Invoked when the object is deactivated.
Declaration
protected override void OnDeactivated()
Overrides
OnDestroy()
Invoked when the object is about to be disposed.
Declaration
protected override void OnDestroy()
Overrides
Events
OnGenerateReflectionProbe
Event fired when the specified action occurs.
Declaration
public event EventHandler OnGenerateReflectionProbe
Event Type
Type | Description |
---|---|
EventHandler |