We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class UWPCapabilityUtility

    Utility to check and configure UWP capability request from MRTK systems

    Inheritance
    Object
    UWPCapabilityUtility
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Utilities.Editor
    Assembly: cs.temp.dll.dll
    Syntax
    public class UWPCapabilityUtility

    Methods

    RequireCapability(PlayerSettings.WSACapability, Type)

    Given capability is required by the given component. Check if capability is enabled, if not auto-enable if possible and log to console

    Declaration
    public static void RequireCapability(PlayerSettings.WSACapability capability, Type dependentComponent)
    Parameters
    Type Name Description
    PlayerSettings.WSACapability capability

    Desired capability needed

    Type dependentComponent

    Component type that requires the associated capability to perform operations

    In This Article
    Back to top Generated by DocFX