Class SimulationConstants
Constant values used for simulations in Mars
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 |