Editar

Compartir a través de


MixedRealitySpatialAwarenessMeshObserverProfile Class

Definition

Configuration profile settings for spatial awareness mesh observers.

public ref class MixedRealitySpatialAwarenessMeshObserverProfile : Microsoft::MixedReality::Toolkit::SpatialAwareness::BaseSpatialAwarenessObserverProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessMeshObserver), null)]
[UnityEngine.CreateAssetMenu(fileName="MixedRealitySpatialAwarenessMeshObserverProfile", menuName="Mixed Reality Toolkit/Profiles/Mixed Reality Spatial Awareness Mesh Observer Profile", order=11)]
[UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/spatial-awareness/configuring-spatial-awareness-mesh-observer")]
public class MixedRealitySpatialAwarenessMeshObserverProfile : Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialAwarenessObserverProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessMeshObserver), null)]
[UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/spatial-awareness/configuring-spatial-awareness-mesh-observer")]
[UnityEngine.CreateAssetMenu(fileName="MixedRealitySpatialAwarenessMeshObserverProfile", menuName="Mixed Reality/Toolkit/Profiles/Mixed Reality Spatial Awareness Mesh Observer Profile", order=11)]
public class MixedRealitySpatialAwarenessMeshObserverProfile : Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialAwarenessObserverProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessMeshObserver), null)>]
[<UnityEngine.CreateAssetMenu(fileName="MixedRealitySpatialAwarenessMeshObserverProfile", menuName="Mixed Reality Toolkit/Profiles/Mixed Reality Spatial Awareness Mesh Observer Profile", order=11)>]
[<UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/spatial-awareness/configuring-spatial-awareness-mesh-observer")>]
type MixedRealitySpatialAwarenessMeshObserverProfile = class
    inherit BaseSpatialAwarenessObserverProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessMeshObserver), null)>]
[<UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/spatial-awareness/configuring-spatial-awareness-mesh-observer")>]
[<UnityEngine.CreateAssetMenu(fileName="MixedRealitySpatialAwarenessMeshObserverProfile", menuName="Mixed Reality/Toolkit/Profiles/Mixed Reality Spatial Awareness Mesh Observer Profile", order=11)>]
type MixedRealitySpatialAwarenessMeshObserverProfile = class
    inherit BaseSpatialAwarenessObserverProfile
Public Class MixedRealitySpatialAwarenessMeshObserverProfile
Inherits BaseSpatialAwarenessObserverProfile
Inheritance
UnityEngine.ScriptableObject
MixedRealitySpatialAwarenessMeshObserverProfile
Derived
Attributes
MixedRealityServiceProfileAttribute UnityEngine.CreateAssetMenuAttribute UnityEngine.HelpURLAttribute

Constructors

MixedRealitySpatialAwarenessMeshObserverProfile()

Properties

DisplayOption

Indicates how the mesh subsystem is to display surface meshes within the application.

IsStationaryObserver

Indicates whether or not the spatial observer is to remain in a fixed location.

(Inherited from BaseSpatialAwarenessObserverProfile)
LevelOfDetail

The level of detail used when creating the mesh.

MeshPhysicsLayer

The Unity Physics Layer on which to set observed meshes.

ObservationExtents

The size of the volume, in meters per axis, from which individual observations will be made.

(Inherited from BaseSpatialAwarenessObserverProfile)
ObserverVolumeType

The shape (ex: axis aligned cube) of the observation volume.

(Inherited from BaseSpatialAwarenessObserverProfile)
OcclusionMaterial

The material to be used when observed meshes should occlude other objects.

PhysicsMaterial
RecalculateNormals

Indicates if the spatial awareness system to generate normal for the returned meshes as some platforms may not support returning normal along with the spatial mesh.

RuntimeSpatialMeshPrefab

Optional prefab that is added to the runtime spatial mesh hierarchy. This prefab will only be instantiated and appended to the hierarchy in a build, the behavior associated with this property is not enabled in editor.

Runtime Spatial Awareness Hierarchy without this prefab:

Spatial Awareness System Windows Mixed Reality Spatial Mesh Observer Spatial Mesh - ID Spatial Mesh - ID ...

Runtime Spatial Awareness Hierarchy with this prefab:

Spatial Awareness System Runtime Spatial Mesh Prefab Windows Mixed Reality Spatial Mesh Observer Spatial Mesh - ID Spatial Mesh - ID ...

StartupBehavior

Indicates if the observer is to start immediately or wait for manual startup.

(Inherited from BaseSpatialAwarenessObserverProfile)
TrianglesPerCubicMeter

The level of detail, in triangles per cubic meter, for the returned spatial mesh.

UpdateInterval

The frequency, in seconds, at which the spatial observer updates.

(Inherited from BaseSpatialAwarenessObserverProfile)
VisibleMaterial

The material to be used when displaying observed meshes.

Applies to