Class OpenVRRenderModel
Represents and loads models from the OpenVR APIs. This class is based on the SteamVR_RenderModel class.
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