Table of Contents

Class ComponentOrderAttribute

Namespace
Stride.Engine
Assembly
Stride.Engine.dll

Defines the order of a component type. This information is used to determine the most "important" component of a collection

[AttributeUsage(AttributeTargets.Class)]
public class ComponentOrderAttribute : EntityComponentAttributeBase
Inheritance
ComponentOrderAttribute
Inherited Members

Constructors

ComponentOrderAttribute(int)

Initializes a new instance of the ComponentOrderAttribute class.

public ComponentOrderAttribute(int order)

Parameters

order int

The order of the associated component.

Properties

Order

Gets the order of the associated component.

public int Order { get; }

Property Value

int