docs.unity3d.com
    Show / Hide Table of Contents

    Class SimulationConstants

    Constant and static values used for simulations in MARS

    Inheritance
    Object
    SimulationConstants
    Namespace: Unity.MARS.Simulation
    Syntax
    public static class SimulationConstants : object

    Fields

    SimulationEnvironmentLayerName

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

    Declaration
    public const string SimulationEnvironmentLayerName = null
    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
    Int32

    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
    Int32
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023