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
    Attribute
    MixedRealityControllerAttribute
    Implements
    _Attribute
    Inherited Members
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, Boolean)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo, Boolean)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, Boolean)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, Boolean)
    Attribute.GetCustomAttributes(Module, Type, Boolean)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, Boolean)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, Boolean)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, Boolean)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, Boolean)
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, Boolean)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, Boolean)
    Attribute.Equals(Object)
    Attribute.GetHashCode()
    Attribute.Match(Object)
    Attribute.IsDefaultAttribute()
    Attribute._Attribute.GetTypeInfoCount(UInt32)
    Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)
    Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)
    Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)
    Attribute.TypeId
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class MixedRealityControllerAttribute : Attribute, _Attribute

    Constructors

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

    Declaration
    public MixedRealityControllerAttribute(SupportedControllerType supportedControllerType, Handedness[] supportedHandedness, string texturePath = "", MixedRealityControllerConfigurationFlags flags = (MixedRealityControllerConfigurationFlags)0)
    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

    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[]

    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

    Implements

    System.Runtime.InteropServices._Attribute
    Back to top Generated by DocFX