Edytuj

Udostępnij za pośrednictwem


SpatialObjectMeshObserverProfile Class

Definition

Configuration profile for the spatial object mesh observer.

public ref class SpatialObjectMeshObserverProfile : Microsoft::MixedReality::Toolkit::SpatialAwareness::MixedRealitySpatialAwarenessMeshObserverProfile
[UnityEngine.CreateAssetMenu(fileName="SpatialObjectMeshObserverProfile", menuName="Mixed Reality Toolkit/Profiles/Spatial Object Mesh Observer Profile", order=100)]
public class SpatialObjectMeshObserverProfile : Microsoft.MixedReality.Toolkit.SpatialAwareness.MixedRealitySpatialAwarenessMeshObserverProfile
[UnityEngine.CreateAssetMenu(fileName="SpatialObjectMeshObserverProfile", menuName="Mixed Reality/Toolkit/Profiles/Spatial Object Mesh Observer Profile", order=100)]
public class SpatialObjectMeshObserverProfile : Microsoft.MixedReality.Toolkit.SpatialAwareness.MixedRealitySpatialAwarenessMeshObserverProfile
[<UnityEngine.CreateAssetMenu(fileName="SpatialObjectMeshObserverProfile", menuName="Mixed Reality Toolkit/Profiles/Spatial Object Mesh Observer Profile", order=100)>]
type SpatialObjectMeshObserverProfile = class
    inherit MixedRealitySpatialAwarenessMeshObserverProfile
[<UnityEngine.CreateAssetMenu(fileName="SpatialObjectMeshObserverProfile", menuName="Mixed Reality/Toolkit/Profiles/Spatial Object Mesh Observer Profile", order=100)>]
type SpatialObjectMeshObserverProfile = class
    inherit MixedRealitySpatialAwarenessMeshObserverProfile
Public Class SpatialObjectMeshObserverProfile
Inherits MixedRealitySpatialAwarenessMeshObserverProfile
Inheritance
Attributes
UnityEngine.CreateAssetMenuAttribute

Constructors

SpatialObjectMeshObserverProfile()

Properties

DisplayOption

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

(Inherited from MixedRealitySpatialAwarenessMeshObserverProfile)
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.

(Inherited from MixedRealitySpatialAwarenessMeshObserverProfile)
MeshPhysicsLayer

The Unity Physics Layer on which to set observed meshes.

(Inherited from MixedRealitySpatialAwarenessMeshObserverProfile)
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.

(Inherited from MixedRealitySpatialAwarenessMeshObserverProfile)
PhysicsMaterial (Inherited from MixedRealitySpatialAwarenessMeshObserverProfile)
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.

(Inherited from MixedRealitySpatialAwarenessMeshObserverProfile)
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 ...

(Inherited from MixedRealitySpatialAwarenessMeshObserverProfile)
SpatialMeshObject

The model containing the desired mesh data.

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.

(Inherited from MixedRealitySpatialAwarenessMeshObserverProfile)
UpdateInterval

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

(Inherited from BaseSpatialAwarenessObserverProfile)
VisibleMaterial

The material to be used when displaying observed meshes.

(Inherited from MixedRealitySpatialAwarenessMeshObserverProfile)

Applies to