編集

次の方法で共有


MixedRealityControllerAttribute Class

Definition

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

MixedRealityControllerAttribute(SupportedControllerType, Handedness[], String, MixedRealityControllerConfigurationFlags, SupportedUnityXRPipelines)

Constructor.

MixedRealityControllerAttribute(SupportedControllerType, Handedness[], String, MixedRealityControllerConfigurationFlags)

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