LightShaftBoundingVolumeComponent Class
Namespace: Stride.EngineAssembly: Stride.Engine.dll
A bounding volume for light shafts to be rendered in, can take any Model as a volume
Derived from LightShaftBoundingVolumeComponent:
[Display("Light shaft bounding volume", null, Expand = ExpandRule.Always)]
[DataContract("LightShaftBoundingVolumeComponent")]
[DefaultEntityComponentProcessor(typeof(LightShaftBoundingVolumeProcessor))]
[ComponentCategory("Lights")]
public class LightShaftBoundingVolumeComponent : ActivableEntityComponent, IIdentifiable
Name | Description | |
---|---|---|
Properties | ||
Enabled | ||
LightShaft | The light shaft to which the bounding volume applies |
|
Model | The model used to define the bounding volume |
|
Events | ||
EnabledChanged | ||
LightShaftChanged | ||
ModelChanged |
Properties
Enabled
public override bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
LightShaft
The light shaft to which the bounding volume applies
public LightShaftComponent LightShaft { get; set; }
Property Value
Type | Description |
---|---|
LightShaftComponent |
Model
The model used to define the bounding volume
public Model Model { get; set; }
Property Value
Type | Description |
---|---|
Model |
Events
EnabledChanged
public event EventHandler EnabledChanged
Event Type
Type | Description |
---|---|
System.EventHandler |
LightShaftChanged
public event EventHandler LightShaftChanged
Event Type
Type | Description |
---|---|
System.EventHandler |
ModelChanged
public event EventHandler ModelChanged
Event Type
Type | Description |
---|---|
System.EventHandler |