Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    InstanceComponent Class

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

    Represents a single instance of a model instancing component.

    System.Object → EntityComponent → ActivableEntityComponent → InstanceComponent
    Derived from InstanceComponent:

    [DataContract("InstanceComponent")]
    [Display("Instance", null, Expand = ExpandRule.Once)]
    [ComponentCategory("Model")]
    [DefaultEntityComponentProcessor(typeof(InstanceProcessor))]
    public sealed class InstanceComponent : ActivableEntityComponent, IIdentifiable
    Name Description
    Properties
    Master

    Gets or sets the referenced InstancingComponent to instance.

    | Improve this Doc View Source

    Properties


    Master

    Gets or sets the referenced InstancingComponent to instance.

    [DataMember(10)]
    [Display("Instancing", null, Expand = ExpandRule.Always)]
    public InstancingComponent Master { get; set; }
    Property Value
    Type Description
    InstancingComponent

    The referenced InstancingComponent to instance.


    Inherited Members

    ActivableEntityComponent.Enabled
    EntityComponent.Entity
    EntityComponent.Id
    EntityComponent.EnsureEntity

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)

    See Also

    ActivableEntityComponent
    • Improve this Doc
    • View Source
    In This Article

    Back to top

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