MixedRealityControllerAttribute Class

Definition

Attach to a controller device class to make it show up in the controller mapping profile.

C++
public ref class MixedRealityControllerAttribute : 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.

Applies to

Produit Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0