docs.unity3d.com
    目次を表示する/隠す

    Class SimulationConstants

    Constant and static values used for simulations in MARS

    Inheritance
    Object
    SimulationConstants
    Namespace: Unity.MARS.Simulation
    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
    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 — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)