Class LightShaftBoundingVolumeComponent
A bounding volume for light shafts to be rendered in, can take any Model as a volume
[Display("Light shaft bounding volume", null, Expand = ExpandRule.Always)]
[DataContract("LightShaftBoundingVolumeComponent")]
[DefaultEntityComponentProcessor(typeof(LightShaftBoundingVolumeProcessor))]
[ComponentCategory("Lights")]
public class LightShaftBoundingVolumeComponent : ActivableEntityComponent, IIdentifiable
- Inheritance
-
LightShaftBoundingVolumeComponent
- Implements
- Inherited Members
Properties
Enabled
Gets or sets a value indicating whether this EntityComponent is enabled.
public override bool Enabled { get; set; }
Property Value
- bool
true
if enabled; otherwise,false
.
LightShaft
The light shaft to which the bounding volume applies
public LightShaftComponent LightShaft { get; set; }
Property Value
Model
The model used to define the bounding volume
public Model Model { get; set; }
Property Value
Events
EnabledChanged
public event EventHandler EnabledChanged
Event Type
LightShaftChanged
public event EventHandler LightShaftChanged
Event Type
ModelChanged
public event EventHandler ModelChanged