docs.unity3d.com
    显示 / 隐藏目录

    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
    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
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)