Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    InstancingComponent Class

    Namespace: Stride.Engine
    Assembly: Stride.Engine.dll
    System.Object → EntityComponent → ActivableEntityComponent → InstancingComponent
    Derived from InstancingComponent:

    [DataContract("InstancingComponent")]
    [Display("Instancing", null, Expand = ExpandRule.Once)]
    [ComponentCategory("Model")]
    [DefaultEntityComponentRenderer(typeof(InstancingProcessor))]
    public sealed class InstancingComponent : ActivableEntityComponent, IIdentifiable
    Name Description
    Properties
    Type

    Gets or sets the type of the instancing.

    Events
    InstancingChanged

    Occurs when the instancing changed. Used to notify instances to change their

    | Improve this Doc View Source

    Properties


    Type

    Gets or sets the type of the instancing.

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

    The type of the instancing.

    | Improve this Doc View Source

    Events


    InstancingChanged

    Occurs when the instancing changed. Used to notify instances to change their

    public event EventHandler<IInstancing> InstancingChanged
    Event Type
    Type Description
    System.EventHandler<IInstancing>

    Inherited Members

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

    Extension Methods

    InstancingExtensions.IsEntityTransform(InstancingComponent, out InstancingEntityTransform)
    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