編輯

共用方式為


MixedRealitySpatialObserverConfiguration Constructor

Definition

Constructor.

public:
 MixedRealitySpatialObserverConfiguration(Microsoft::MixedReality::Toolkit::Utilities::SystemType ^ componentType, System::String ^ componentName, System::UInt32 priority, Microsoft::MixedReality::Toolkit::Utilities::SupportedPlatforms runtimePlatform, Microsoft::MixedReality::Toolkit::SpatialAwareness::BaseSpatialAwarenessObserverProfile ^ configurationProfile);
public MixedRealitySpatialObserverConfiguration (Microsoft.MixedReality.Toolkit.Utilities.SystemType componentType, string componentName, uint priority, Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms runtimePlatform, Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialAwarenessObserverProfile configurationProfile);
new Microsoft.MixedReality.Toolkit.SpatialAwareness.MixedRealitySpatialObserverConfiguration : Microsoft.MixedReality.Toolkit.Utilities.SystemType * string * uint32 * Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms * Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialAwarenessObserverProfile -> Microsoft.MixedReality.Toolkit.SpatialAwareness.MixedRealitySpatialObserverConfiguration
Public Sub New (componentType As SystemType, componentName As String, priority As UInteger, runtimePlatform As SupportedPlatforms, configurationProfile As BaseSpatialAwarenessObserverProfile)

Parameters

componentType
SystemType

The SystemType of the observer.

componentName
String

The friendly name of the observer.

priority
UInt32

The load priority of the observer.

runtimePlatform
SupportedPlatforms

The runtime platform(s) supported by the observer.

configurationProfile
BaseSpatialAwarenessObserverProfile

The configuration profile for the observer.

Applies to