Interface IProvidesDeviceSimulationSettings
Defines the API for settings used when simulating the movement of an MR device
Inherited Members
Namespace: Unity.MARS
Syntax
public interface IProvidesDeviceSimulationSettings : IFunctionalityProvider
Properties
DeviceStartingPose
World pose of the device at the start of simulation
Declaration
Pose DeviceStartingPose { get; }
Property Value
Type | Description |
---|---|
Pose |
EnvironmentBounds
Bounds encapsulating the current environment, used to restrict device movement
Declaration
Bounds EnvironmentBounds { get; }
Property Value
Type | Description |
---|---|
Bounds |
IsMovementEnabled
Whether simulated device movement is enabled
Declaration
bool IsMovementEnabled { get; }
Property Value
Type | Description |
---|---|
Boolean |
VoxelSizeFromEnvironment
Returns any plane discovery voxel size setting from a PlaneExtractionSettings on the current environment
Declaration
float? VoxelSizeFromEnvironment { get; }
Property Value
Type | Description |
---|---|
Nullable<Single> |
Events
EnvironmentChanged
Called when the simulation environment has changed
Declaration
event Action EnvironmentChanged
Event Type
Type | Description |
---|---|
Action |