docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IProvidesDeviceSimulationSettings

    Defines the API for settings used when simulating the movement of an MR device

    Inherited Members
    IFunctionalityProvider.LoadProvider()
    IFunctionalityProvider.ConnectSubscriber(object)
    IFunctionalityProvider.UnloadProvider()
    Namespace: Unity.MARS.Simulation
    Assembly: Unity.MARS.Interfaces.dll
    Syntax
    [MovedFrom("Unity.MARS")]
    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
    bool

    VoxelSizeFromEnvironment

    Returns any plane discovery voxel size setting from a PlaneExtractionSettings on the current environment

    Declaration
    float? VoxelSizeFromEnvironment { get; }
    Property Value
    Type Description
    float?

    Events

    EnvironmentChanged

    Called when the simulation environment has changed

    Declaration
    event Action EnvironmentChanged
    Event Type
    Type Description
    Action
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)