docs.unity3d.com
    显示 / 隐藏目录

    Class SimulationConstants

    Constant values used for simulations in Mars

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

    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
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)