Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ActivableEntityComponent Class

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

    An EntityComponent that can be enabled and disabled.

    System.Object → EntityComponent → ActivableEntityComponent
    Derived from ActivableEntityComponent: AudioEmitterComponent AudioListenerComponent BackgroundComponent CameraComponent InstanceComponent InstancingComponent LightComponent LightShaftBoundingVolumeComponent LightShaftComponent ModelComponent PhysicsComponent SpriteComponent UIComponent ParticleSystemComponent

    [DataContract]
    public abstract class ActivableEntityComponent : EntityComponent, IIdentifiable
    Name Description
    Properties
    Enabled

    Gets or sets a value indicating whether this EntityComponent is enabled.

    | Improve this Doc View Source

    Properties


    Enabled

    Gets or sets a value indicating whether this EntityComponent is enabled.

    [DataMember(-10)]
    public virtual bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if enabled; otherwise, false.


    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