Synced
GameLayer
Section titled “GameLayer”
- Identifies one of the thirty-two runtime layers available to scene objects.
Required contracts
Section titled “Required contracts”API: scripting
Implements: System.IEquatable<InnoEngine.Scene.GameLayer>, System.IComparable<InnoEngine.Scene.GameLayer>
Inherits: System.ValueType
Project: Inno.Scene
Scope: Runtime
Declaration
Section titled “Declaration”public readonly struct InnoEngine.Scene.GameLayer : System.IEquatable<InnoEngine.Scene.GameLayer>, System.IComparable<InnoEngine.Scene.GameLayer>Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | GameLayer.Constructor | Creates a layer identifier from a zero-based layer index. |
| Fields | GameLayer.C_MAX_COUNT | Defines the number of layer slots supported by the runtime bit-mask representation. |
| Methods | GameLayer.CompareTo | Compares this layer with another layer by index. |
| Methods | GameLayer.Equals(InnoEngine.Scene.GameLayer) | Determines whether another layer identifies the same index. |
| Methods | GameLayer.Equals(System.Object) | Determines whether this instance and the supplied value represent the same logical state. |
| Methods | GameLayer.GetHashCode | Computes a hash code from the fields that participate in logical equality. |
| Methods | GameLayer.op_Equality | Determines whether two layer identifiers contain the same index. |
| Methods | GameLayer.op_Inequality | Determines whether two layer identifiers contain different indices. |
| Methods | GameLayer.ToString | Formats this value as a human-readable representation. |
| Properties | GameLayer.defaultLayer | Gets the built-in default layer stored in slot zero. |
| Properties | GameLayer.index | Gets the zero-based layer index. |