docs.unity3d.com
    Show / Hide Table of Contents

    Interface IProvidesDeviceSimulationSettings

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

    Namespace: Unity.MARS.Simulation
    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023