mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class MixedRealityControllerAttribute

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

    Inheritance
    Object
    MixedRealityControllerAttribute
    Implements
    Attribute
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public class MixedRealityControllerAttribute : Attribute, Attribute

    Constructors

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

    Declaration
    public MixedRealityControllerAttribute(SupportedControllerType supportedControllerType, Handedness[] supportedHandedness, string texturePath = "", MixedRealityControllerConfigurationFlags flags = null)
    Parameters
    Type Name Description
    SupportedControllerType supportedControllerType
    Handedness[] supportedHandedness
    String texturePath
    MixedRealityControllerConfigurationFlags flags

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

    Declaration
    public MixedRealityControllerAttribute(SupportedControllerType supportedControllerType, Handedness[] supportedHandedness, string texturePath = "", MixedRealityControllerConfigurationFlags flags = null)
    Parameters
    Type Name Description
    SupportedControllerType supportedControllerType
    Handedness[] supportedHandedness
    String texturePath
    MixedRealityControllerConfigurationFlags flags

    Properties

    Flags

    Additional flags for configuring controller capabilities.

    Declaration
    public MixedRealityControllerConfigurationFlags Flags { get; }
    Property Value
    Type Description
    MixedRealityControllerConfigurationFlags

    Flags

    Additional flags for configuring controller capabilities.

    Declaration
    public MixedRealityControllerConfigurationFlags Flags { get; }
    Property Value
    Type Description
    MixedRealityControllerConfigurationFlags

    SupportedControllerType

    The SupportedControllerType to which the controller device belongs to.

    Declaration
    public SupportedControllerType SupportedControllerType { get; }
    Property Value
    Type Description
    SupportedControllerType

    SupportedControllerType

    The SupportedControllerType to which the controller device belongs to.

    Declaration
    public SupportedControllerType SupportedControllerType { get; }
    Property Value
    Type Description
    SupportedControllerType

    SupportedHandedness

    List of handedness values supported by the respective controller.

    Declaration
    public Handedness[] SupportedHandedness { get; }
    Property Value
    Type Description
    Handedness[]

    SupportedHandedness

    List of handedness values supported by the respective controller.

    Declaration
    public Handedness[] SupportedHandedness { get; }
    Property Value
    Type Description
    Handedness[]

    TexturePath

    Path to image file used when displaying an icon in the UI.

    Declaration
    public string TexturePath { get; }
    Property Value
    Type Description
    String

    TexturePath

    Path to image file used when displaying an icon in the UI.

    Declaration
    public string TexturePath { get; }
    Property Value
    Type Description
    String

    Methods

    Find(Type)

    Convenience function for retrieving the attribute given a certain class type.

    Declaration
    public static MixedRealityControllerAttribute Find(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    MixedRealityControllerAttribute

    Find(Type)

    Convenience function for retrieving the attribute given a certain class type.

    Declaration
    public static MixedRealityControllerAttribute Find(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    MixedRealityControllerAttribute

    Implements

    Attribute
    In This Article
    • Constructors
      • MixedRealityControllerAttribute(SupportedControllerType, Handedness[], String, MixedRealityControllerConfigurationFlags)
      • MixedRealityControllerAttribute(SupportedControllerType, Handedness[], String, MixedRealityControllerConfigurationFlags)
    • Properties
      • Flags
      • Flags
      • SupportedControllerType
      • SupportedControllerType
      • SupportedHandedness
      • SupportedHandedness
      • TexturePath
      • TexturePath
    • Methods
      • Find(Type)
      • Find(Type)
    • Implements
    Back to top Generated by DocFX