Class MixedRealityExtensionServiceAttribute
Attribute that defines the properties of a Mixed Reality Toolkit extension service.
Implements
Namespace: Microsoft.MixedReality.Toolkit
Assembly: cs.temp.dll.dll
Syntax
public class MixedRealityExtensionServiceAttribute : Attribute, 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. |
MixedRealityExtensionServiceAttribute(SupportedPlatforms, String, String, String, Boolean)
Constructor
Declaration
public MixedRealityExtensionServiceAttribute(SupportedPlatforms runtimePlatforms, string name = "", string defaultProfilePath = "", string packageFolder = "MixedRealityToolkit", bool requiresProfile = false)
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. |
Boolean | requiresProfile |
Properties
DefaultProfile
The default profile.
Declaration
public virtual BaseMixedRealityProfile DefaultProfile { get; }
Property Value
Type | Description |
---|---|
BaseMixedRealityProfile |
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 |
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 |
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 |
PackageFolder
The package where the default profile asset resides.
Declaration
public virtual string PackageFolder { get; }
Property Value
Type | Description |
---|---|
String |
RequiresProfile
Is a profile explicitly required?
Declaration
public virtual bool RequiresProfile { get; }
Property Value
Type | Description |
---|---|
Boolean |
RuntimePlatforms
The runtime platform(s) to run this service.
Declaration
public virtual SupportedPlatforms RuntimePlatforms { get; }
Property Value
Type | Description |
---|---|
SupportedPlatforms |
RuntimePlatforms
The runtime platform(s) to run this service.
Declaration
public virtual SupportedPlatforms RuntimePlatforms { get; }
Property Value
Type | Description |
---|---|
SupportedPlatforms |