Modifier

Partager via


OpenVRRenderModel Class

Definition

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

public ref class OpenVRRenderModel : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Providers/OpenVRRenderModel")]
public class OpenVRRenderModel : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Providers/OpenVRRenderModel")>]
type OpenVRRenderModel = class
    inherit MonoBehaviour
Public Class OpenVRRenderModel
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
OpenVRRenderModel
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

OpenVRRenderModel()

Methods

LoadModel(Handedness)

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

Applies to