docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SimulationConstants

    Constant and static values used for simulations in MARS

    Inheritance
    object
    SimulationConstants
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.MARS.Simulation
    Assembly: Unity.MARS.dll
    Syntax
    [MovedFrom("Unity.MARS")]
    public static class SimulationConstants

    Fields

    SimulationEnvironmentLayerName

    The name of the expected Simulation Environment Layer for the simulated environment.

    Declaration
    public const string SimulationEnvironmentLayerName = "MARS Simulation Environment"
    Field Value
    Type Description
    string

    Properties

    SimulatedEnvironmentLayerIndex

    The layer index value used for GameObjects in the simulated environment. This is used when setting gameObject.layer to that of the simulated environment.

    Declaration
    public static int SimulatedEnvironmentLayerIndex { get; }
    Property Value
    Type Description
    int

    SimulatedEnvironmentLayerMask

    The bit mask for the layer used for GameObjects in the simulated environment. This is used when needing to a layer culling or include mask to the simulated environment.

    Declaration
    public static int SimulatedEnvironmentLayerMask { get; }
    Property Value
    Type Description
    int
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)