Class OpenVRRenderableModels
OpenVR service.
Inherited Members
Namespace: Evergine.OpenVR.InputTracking
Assembly: Evergine.OpenVR.dll
Syntax
public class OpenVRRenderableModels : XRRenderableModels
Constructors
OpenVRRenderableModels(OpenVRPlatform)
Initializes a new instance of the OpenVRRenderableModels class.
Declaration
public OpenVRRenderableModels(OpenVRPlatform xrPlatform)
Parameters
Type | Name | Description |
---|---|---|
OpenVRPlatform | xrPlatform | XR platform. |
Properties
AvailableModels
Gets the available models for download.
Declaration
public override IEnumerable<string> AvailableModels { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
Overrides
Methods
TryGetRenderableModelAsync(string)
Gets a renderable model for this tracked device.
Declaration
public override Task<Model> TryGetRenderableModelAsync(string modelName)
Parameters
Type | Name | Description |
---|---|---|
string | modelName | The model name. |
Returns
Type | Description |
---|---|
Task<Model> | A task that returns the device model. |