Class MixedRealityExtensionServiceAttribute
Attribute that defines the properties of a Mixed Reality Toolkit extension service.
Namespace: Microsoft.MixedReality.Toolkit
Assembly: cs.temp.dll.dll
Syntax
public class MixedRealityExtensionServiceAttribute : Attribute
Constructors
MixedRealityExtensionServiceAttribute(SupportedPlatforms, String, String, String)
Constructor
Declaration
public MixedRealityExtensionServiceAttribute(SupportedPlatforms runtimePlatforms, string name = "", string defaultProfilePath = "", string packageFolder = "MixedRealityToolkit")
Parameters
Type | Name | Description |
---|---|---|
SupportedPlatforms | runtimePlatforms | The platforms on which the extension service is supported. |
String | name | |
String | defaultProfilePath | The relative path to the default profile asset. |
String | packageFolder | The package folder to which the path is relative. |
Properties
DefaultProfile
The default profile.
Declaration
public virtual BaseMixedRealityProfile DefaultProfile { get; }
Property Value
Type | Description |
---|---|
BaseMixedRealityProfile |
DefaultProfilePath
The file path to the default profile asset relative to the package folder.
Declaration
public virtual string DefaultProfilePath { get; }
Property Value
Type | Description |
---|---|
String |
Name
The friendly name for this service.
Declaration
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
String |
PackageFolder
The package where the default profile asset resides.
Declaration
public virtual string PackageFolder { get; }
Property Value
Type | Description |
---|---|
String |
RuntimePlatforms
The runtime platform(s) to run this service.
Declaration
public virtual SupportedPlatforms RuntimePlatforms { get; }
Property Value
Type | Description |
---|---|
SupportedPlatforms |