日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class WindowsMixedRealitySpatialMeshObserver

    Inheritance
    Object
    WindowsMixedRealitySpatialMeshObserver
    Implements
    IMixedRealityCapabilityCheck
    Namespace: Microsoft.MixedReality.Toolkit.WindowsMixedReality.SpatialAwareness
    Assembly: cs.temp.dll.dll
    Syntax
    public class WindowsMixedRealitySpatialMeshObserver : BaseSpatialMeshObserver, IMixedRealityCapabilityCheck

    Constructors

    WindowsMixedRealitySpatialMeshObserver(IMixedRealitySpatialAwarenessSystem, String, UInt32, BaseMixedRealityProfile)

    Constructor.

    Declaration
    public WindowsMixedRealitySpatialMeshObserver(IMixedRealitySpatialAwarenessSystem spatialAwarenessSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
    Parameters
    Type Name Description
    IMixedRealitySpatialAwarenessSystem spatialAwarenessSystem

    The service instance that receives data from this provider.

    String name

    Friendly name of the service.

    UInt32 priority

    Service priority. Used to determine order of instantiation.

    BaseMixedRealityProfile profile

    The service's configuration profile.

    WindowsMixedRealitySpatialMeshObserver(IMixedRealityServiceRegistrar, IMixedRealitySpatialAwarenessSystem, String, UInt32, BaseMixedRealityProfile)

    Constructor.

    Declaration
    [Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
    public WindowsMixedRealitySpatialMeshObserver(IMixedRealityServiceRegistrar registrar, IMixedRealitySpatialAwarenessSystem spatialAwarenessSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
    Parameters
    Type Name Description
    IMixedRealityServiceRegistrar registrar

    The IMixedRealityServiceRegistrar instance that loaded the service.

    IMixedRealitySpatialAwarenessSystem spatialAwarenessSystem

    The service instance that receives data from this provider.

    String name

    Friendly name of the service.

    UInt32 priority

    Service priority. Used to determine order of instantiation.

    BaseMixedRealityProfile profile

    The service's configuration profile.

    Methods

    CheckCapability(MixedRealityCapability)

    Checks to see if one or more registered data providers supports the requested capability on the current platform.

    Declaration
    public bool CheckCapability(MixedRealityCapability capability)
    Parameters
    Type Name Description
    MixedRealityCapability capability

    The capability to check.

    Returns
    Type Description
    Boolean

    True if the capability is supported, false otherwise.

    CleanupObserver()

    Implements proper cleanup of the SurfaceObserver.

    Declaration
    protected override void CleanupObserver()

    CreateObserver()

    Creates the surface observer and handles the desired startup behavior.

    Declaration
    protected override void CreateObserver()

    LookupTriangleDensity(SpatialAwarenessMeshLevelOfDetail)

    Declaration
    protected override int LookupTriangleDensity(SpatialAwarenessMeshLevelOfDetail levelOfDetail)
    Parameters
    Type Name Description
    SpatialAwarenessMeshLevelOfDetail levelOfDetail
    Returns
    Type Description
    Int32

    Resume()

    Declaration
    public override void Resume()

    Suspend()

    Declaration
    public override void Suspend()

    Implements

    IMixedRealityCapabilityCheck
    Back to top Generated by DocFX