mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class OpenVRRenderModel

    Represents and loads models from the OpenVR APIs. This class is based on the SteamVR_RenderModel class.

    Inheritance
    Object
    OpenVRRenderModel
    Implements
    MonoBehaviour
    Namespace: Microsoft.MixedReality.Toolkit.OpenVR.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public class OpenVRRenderModel : MonoBehaviour, MonoBehaviour

    Methods

    LoadModel(Handedness)

    Attempts to load or reload a controller model based on the passed in handedness.

    Declaration
    public bool LoadModel(Handedness handedness)
    Parameters
    Type Name Description
    Handedness handedness

    The handedness of the controller model to load.

    Returns
    Type Description
    Boolean

    True if the controller model was found and loaded. False otherwise.

    LoadModel(Handedness)

    Attempts to load or reload a controller model based on the passed in handedness.

    Declaration
    public bool LoadModel(Handedness handedness)
    Parameters
    Type Name Description
    Handedness handedness

    The handedness of the controller model to load.

    Returns
    Type Description
    Boolean

    True if the controller model was found and loaded. False otherwise.

    Implements

    MonoBehaviour
    In This Article
    • Methods
      • LoadModel(Handedness)
      • LoadModel(Handedness)
    • Implements
    Back to top Generated by DocFX