Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    LightShaftBoundingVolumeComponent Class

    Namespace: Stride.Engine
    Assembly: Stride.Engine.dll

    A bounding volume for light shafts to be rendered in, can take any Model as a volume

    System.Object → EntityComponent → ActivableEntityComponent → LightShaftBoundingVolumeComponent
    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
    | Improve this Doc View Source

    Properties


    Enabled

    public override bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    ActivableEntityComponent.Enabled

    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
    | Improve this Doc View Source

    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

    Inherited Members

    EntityComponent.Entity
    EntityComponent.Id
    EntityComponent.EnsureEntity

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation