Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Stores a compact set of scene layers for rendering, physics, and query filtering.

API: scripting
Implements: System.IEquatable<InnoEngine.Scene.GameLayerMask>
Inherits: System.ValueType
Project: Inno.Scene
Scope: Runtime

public readonly struct InnoEngine.Scene.GameLayerMask : System.IEquatable<InnoEngine.Scene.GameLayerMask>
Kind Element Description
Constructors GameLayerMask.Constructor Creates a mask from its raw thirty-two-bit representation.
Methods GameLayerMask.Contains Determines whether the supplied layer is contained in this mask.
Methods GameLayerMask.Equals(InnoEngine.Scene.GameLayerMask) Determines whether another mask contains the same layer bits.
Methods GameLayerMask.Equals(System.Object) Determines whether this instance and the supplied value represent the same logical state.
Methods GameLayerMask.FromLayers Creates a mask containing the supplied layers.
Methods GameLayerMask.GetHashCode Computes a hash code from the fields that participate in logical equality.
Methods GameLayerMask.op_BitwiseAnd Retains only layer bits enabled in both masks.
Methods GameLayerMask.op_BitwiseOr Combines the enabled bits from two masks.
Methods GameLayerMask.op_Equality Determines whether two masks contain the same bits.
Methods GameLayerMask.op_Inequality Determines whether two masks contain different bits.
Methods GameLayerMask.op_OnesComplement Inverts every layer bit in a mask.
Methods GameLayerMask.ToString Formats this value as a human-readable representation.
Methods GameLayerMask.With Returns a mask with the supplied layer enabled.
Methods GameLayerMask.Without Returns a mask with the supplied layer disabled.
Properties GameLayerMask.everything Gets a mask containing every supported layer.
Properties GameLayerMask.none Gets a mask containing no layers.
Properties GameLayerMask.value Gets the raw thirty-two-bit mask value.