MixedRealityControllerAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attach to a controller device class to make it show up in the controller mapping profile.
public ref class MixedRealityControllerAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public class MixedRealityControllerAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public class MixedRealityControllerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type MixedRealityControllerAttribute = class
inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
type MixedRealityControllerAttribute = class
inherit Attribute
Public Class MixedRealityControllerAttribute
Inherits Attribute
- Inheritance
-
MixedRealityControllerAttribute
- Attributes
Constructors
Properties
Flags |
Additional flags for configuring controller capabilities. |
SupportedControllerType |
The SupportedControllerType to which the controller device belongs to. |
SupportedHandedness |
List of handedness values supported by the respective controller. |
SupportedUnityXRPipelines |
The supported Unity XR pipelines for this controller. |
TexturePath |
Path to image file used when displaying an icon in the UI. |
Methods
Find(Type) |
Convenience function for retrieving the attribute given a certain class type. |