| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static long | nVRRenderModels_GetComponentButtonMask(long pchRenderModelName, long pchComponentName)
Unsafe version of: |
| public static int | |
| public static int | nVRRenderModels_GetComponentName(long pchRenderModelName, int unComponentIndex, long pchComponentName, int unComponentNameLen)
Unsafe version of: |
| public static int | nVRRenderModels_GetComponentRenderModelName(long pchRenderModelName, long pchComponentName, long pchComponentRenderModelName, int unComponentRenderModelNameLen)
Unsafe version of: |
| public static boolean | nVRRenderModels_GetComponentState(long pchRenderModelName, long pchComponentName, long pControllerState, long pState, long pComponentState)
Unsafe version of: |
| public static boolean | nVRRenderModels_GetComponentStateForDevicePath(long pchRenderModelName, long pchComponentName, long devicePath, long pState, long pComponentState)
Unsafe version of: |
| public static long | nVRRenderModels_GetRenderModelErrorNameFromEnum(int error)
Unsafe version of: |
| public static int | nVRRenderModels_GetRenderModelName(int unRenderModelIndex, long pchRenderModelName, int unRenderModelNameLen)
Unsafe version of: |
| public static int | nVRRenderModels_GetRenderModelOriginalPath(long pchRenderModelName, long pchOriginalPath, int unOriginalPathLen, long peError)
Unsafe version of: |
| public static int | nVRRenderModels_GetRenderModelThumbnailURL(long pchRenderModelName, long pchThumbnailURL, int unThumbnailURLLen, long peError)
Unsafe version of: |
| public static int | nVRRenderModels_LoadRenderModel_Async(long pchRenderModelName, long ppRenderModel)
Unsafe version of: |
| public static int | nVRRenderModels_LoadTexture_Async(int textureId, long ppTexture)
Unsafe version of: |
| public static int | nVRRenderModels_LoadTextureD3D11_Async(int textureId, long pD3D11Device, long ppD3D11Texture2D)
Unsafe version of: |
| public static boolean | nVRRenderModels_RenderModelHasComponent(long pchRenderModelName, long pchComponentName)
Unsafe version of: |
| public static void | VRRenderModels_FreeRenderModel(RenderModel pRenderModel)
Frees a previously returned render model It is safe to call this on a null ptr. |
| public static void | |
| public static void | VRRenderModels_FreeTextureD3D11(long pD3D11Texture2D)
Use this to free textures created with LoadTextureD3D11_Async instead of calling Release on them. |
| public static long | VRRenderModels_GetComponentButtonMask(ByteBuffer pchRenderModelName, ByteBuffer pchComponentName)
Get the button mask for all buttons associated with this component. |
| public static long | VRRenderModels_GetComponentButtonMask(CharSequence pchRenderModelName, CharSequence pchComponentName)
Get the button mask for all buttons associated with this component. |
| public static int | VRRenderModels_GetComponentCount(ByteBuffer pchRenderModelName)
Returns the number of components of the specified render model. |
| public static int | VRRenderModels_GetComponentCount(CharSequence pchRenderModelName)
Returns the number of components of the specified render model. |
| public static int | VRRenderModels_GetComponentName(ByteBuffer pchRenderModelName, int unComponentIndex, ByteBuffer pchComponentName)
Use this to get the names of available components. |
| public static int | VRRenderModels_GetComponentName(CharSequence pchRenderModelName, int unComponentIndex, ByteBuffer pchComponentName)
Use this to get the names of available components. |
| public static String | VRRenderModels_GetComponentName(CharSequence pchRenderModelName, int unComponentIndex, int unComponentNameLen)
Use this to get the names of available components. |
| public static int | VRRenderModels_GetComponentRenderModelName(ByteBuffer pchRenderModelName, ByteBuffer pchComponentName, ByteBuffer pchComponentRenderModelName)
Use this to get the render model name for the specified rendermode/component combination, to be passed to |
| public static int | VRRenderModels_GetComponentRenderModelName(CharSequence pchRenderModelName, CharSequence pchComponentName, ByteBuffer pchComponentRenderModelName)
Use this to get the render model name for the specified rendermode/component combination, to be passed to |
| public static String | VRRenderModels_GetComponentRenderModelName(CharSequence pchRenderModelName, CharSequence pchComponentName, int unComponentRenderModelNameLen)
Use this to get the render model name for the specified rendermode/component combination, to be passed to |
| public static boolean | VRRenderModels_GetComponentState(ByteBuffer pchRenderModelName, ByteBuffer pchComponentName, VRControllerState pControllerState, RenderModelControllerModeState pState, RenderModelComponentState pComponentState)
This version of |
| public static boolean | VRRenderModels_GetComponentState(CharSequence pchRenderModelName, CharSequence pchComponentName, VRControllerState pControllerState, RenderModelControllerModeState pState, RenderModelComponentState pComponentState)
This version of |
| public static boolean | Returns: if thepchRenderModelName or pchComponentName is invalid, this will return false (and transforms will be set to identity). Otherwise,
return true Note: For dynamic objects, visibility may be dynamic. (I.e., true/false will be returned based on controller state and controller mode
state).
|
| public static boolean | Returns: if thepchRenderModelName or pchComponentName is invalid, this will return false (and transforms will be set to identity). Otherwise,
return true Note: For dynamic objects, visibility may be dynamic. (I.e., true/false will be returned based on controller state and controller mode
state).
|
| public static int | |
| public static String | |
| public static int | VRRenderModels_GetRenderModelName(int unRenderModelIndex, ByteBuffer pchRenderModelName)
Use this to get the names of available render models. |
| public static String | VRRenderModels_GetRenderModelName(int unRenderModelIndex, int unRenderModelNameLen)
Use this to get the names of available render models. |
| public static int | VRRenderModels_GetRenderModelOriginalPath(ByteBuffer pchRenderModelName, ByteBuffer pchOriginalPath, IntBuffer peError)
Provides a render model path that will load the unskinned model if the model name provided has been replace by the user. |
| public static int | VRRenderModels_GetRenderModelOriginalPath(CharSequence pchRenderModelName, ByteBuffer pchOriginalPath, IntBuffer peError)
Provides a render model path that will load the unskinned model if the model name provided has been replace by the user. |
| public static String | VRRenderModels_GetRenderModelOriginalPath(CharSequence pchRenderModelName, int unOriginalPathLen, IntBuffer peError)
Provides a render model path that will load the unskinned model if the model name provided has been replace by the user. |
| public static int | VRRenderModels_GetRenderModelThumbnailURL(ByteBuffer pchRenderModelName, ByteBuffer pchThumbnailURL, IntBuffer peError)
Returns the URL of the thumbnail image for this rendermodel. |
| public static int | VRRenderModels_GetRenderModelThumbnailURL(CharSequence pchRenderModelName, ByteBuffer pchThumbnailURL, IntBuffer peError)
Returns the URL of the thumbnail image for this rendermodel. |
| public static String | VRRenderModels_GetRenderModelThumbnailURL(CharSequence pchRenderModelName, int unThumbnailURLLen, IntBuffer peError)
Returns the URL of the thumbnail image for this rendermodel. |
| public static int | VRRenderModels_LoadIntoTextureD3D11_Async(int textureId, long pDstTexture)
Helper function to copy the bits into an existing texture. |
| public static int | VRRenderModels_LoadRenderModel_Async(ByteBuffer pchRenderModelName, PointerBuffer ppRenderModel)
Loads and returns a render model for use in the application. |
| public static int | VRRenderModels_LoadRenderModel_Async(CharSequence pchRenderModelName, PointerBuffer ppRenderModel)
Loads and returns a render model for use in the application. |
| public static int | VRRenderModels_LoadTexture_Async(int textureId, PointerBuffer ppTexture)
Loads and returns a texture for use in the application. |
| public static int | VRRenderModels_LoadTextureD3D11_Async(int textureId, long pD3D11Device, PointerBuffer ppD3D11Texture2D)
Creates a D3D11 texture and loads data into it. |
| public static boolean | VRRenderModels_RenderModelHasComponent(ByteBuffer pchRenderModelName, ByteBuffer pchComponentName)
Returns true if the render model has a component with the specified name. |
| public static boolean | VRRenderModels_RenderModelHasComponent(CharSequence pchRenderModelName, CharSequence pchComponentName)
Returns true if the render model has a component with the specified name. |
| VRRenderModels | back to summary |
|---|---|
| protected VRRenderModels() | |
| nVRRenderModels_FreeRenderModel | back to summary |
|---|---|
| public static void nVRRenderModels_FreeRenderModel(long pRenderModel) Unsafe version of: | |
| nVRRenderModels_FreeTexture | back to summary |
|---|---|
| public static void nVRRenderModels_FreeTexture(long pTexture) Unsafe version of: | |
| nVRRenderModels_GetComponentButtonMask | back to summary |
|---|---|
| public static long nVRRenderModels_GetComponentButtonMask(long pchRenderModelName, long pchComponentName) Unsafe version of: | |
| nVRRenderModels_GetComponentCount | back to summary |
|---|---|
| public static int nVRRenderModels_GetComponentCount(long pchRenderModelName) Unsafe version of: | |
| nVRRenderModels_GetComponentName | back to summary |
|---|---|
| public static int nVRRenderModels_GetComponentName(long pchRenderModelName, int unComponentIndex, long pchComponentName, int unComponentNameLen) Unsafe version of: | |
| nVRRenderModels_GetComponentRenderModelName | back to summary |
|---|---|
| public static int nVRRenderModels_GetComponentRenderModelName(long pchRenderModelName, long pchComponentName, long pchComponentRenderModelName, int unComponentRenderModelNameLen) Unsafe version of: | |
| nVRRenderModels_GetComponentState | back to summary |
|---|---|
| public static boolean nVRRenderModels_GetComponentState(long pchRenderModelName, long pchComponentName, long pControllerState, long pState, long pComponentState) Unsafe version of: | |
| nVRRenderModels_GetComponentStateForDevicePath | back to summary |
|---|---|
| public static boolean nVRRenderModels_GetComponentStateForDevicePath(long pchRenderModelName, long pchComponentName, long devicePath, long pState, long pComponentState) Unsafe version of: | |
| nVRRenderModels_GetRenderModelErrorNameFromEnum | back to summary |
|---|---|
| public static long nVRRenderModels_GetRenderModelErrorNameFromEnum(int error) Unsafe version of: | |
| nVRRenderModels_GetRenderModelName | back to summary |
|---|---|
| public static int nVRRenderModels_GetRenderModelName(int unRenderModelIndex, long pchRenderModelName, int unRenderModelNameLen) Unsafe version of: | |
| nVRRenderModels_GetRenderModelOriginalPath | back to summary |
|---|---|
| public static int nVRRenderModels_GetRenderModelOriginalPath(long pchRenderModelName, long pchOriginalPath, int unOriginalPathLen, long peError) Unsafe version of: | |
| nVRRenderModels_GetRenderModelThumbnailURL | back to summary |
|---|---|
| public static int nVRRenderModels_GetRenderModelThumbnailURL(long pchRenderModelName, long pchThumbnailURL, int unThumbnailURLLen, long peError) Unsafe version of: | |
| nVRRenderModels_LoadRenderModel_Async | back to summary |
|---|---|
| public static int nVRRenderModels_LoadRenderModel_Async(long pchRenderModelName, long ppRenderModel) Unsafe version of: | |
| nVRRenderModels_LoadTexture_Async | back to summary |
|---|---|
| public static int nVRRenderModels_LoadTexture_Async(int textureId, long ppTexture) Unsafe version of: | |
| nVRRenderModels_LoadTextureD3D11_Async | back to summary |
|---|---|
| public static int nVRRenderModels_LoadTextureD3D11_Async(int textureId, long pD3D11Device, long ppD3D11Texture2D) Unsafe version of: | |
| nVRRenderModels_RenderModelHasComponent | back to summary |
|---|---|
| public static boolean nVRRenderModels_RenderModelHasComponent(long pchRenderModelName, long pchComponentName) Unsafe version of: | |
| VRRenderModels_FreeRenderModel | back to summary |
|---|---|
| public static void VRRenderModels_FreeRenderModel(RenderModel pRenderModel) Frees a previously returned render model It is safe to call this on a null ptr. | |
| VRRenderModels_FreeTexture | back to summary |
|---|---|
| public static void VRRenderModels_FreeTexture(RenderModelTextureMap pTexture) Frees a previously returned texture. It is safe to call this on a null ptr. | |
| VRRenderModels_FreeTextureD3D11 | back to summary |
|---|---|
| public static void VRRenderModels_FreeTextureD3D11(long pD3D11Texture2D) Use this to free textures created with LoadTextureD3D11_Async instead of calling Release on them. | |
| VRRenderModels_GetComponentButtonMask | back to summary |
|---|---|
| public static long VRRenderModels_GetComponentButtonMask(ByteBuffer pchRenderModelName, ByteBuffer pchComponentName) Get the button mask for all buttons associated with this component. If no buttons (or axes) are associated with this component, return 0 Notemultiple components may be associated with the same button. Ex: two grip buttons on a single controller. NoteA single component may be associated with multiple buttons. Ex: A trackpad which also provides "D-pad" functionality
| |
| VRRenderModels_GetComponentButtonMask | back to summary |
|---|---|
| public static long VRRenderModels_GetComponentButtonMask(CharSequence pchRenderModelName, CharSequence pchComponentName) Get the button mask for all buttons associated with this component. If no buttons (or axes) are associated with this component, return 0 Notemultiple components may be associated with the same button. Ex: two grip buttons on a single controller. NoteA single component may be associated with multiple buttons. Ex: A trackpad which also provides "D-pad" functionality
| |
| VRRenderModels_GetComponentCount | back to summary |
|---|---|
| public static int VRRenderModels_GetComponentCount(ByteBuffer pchRenderModelName) Returns the number of components of the specified render model. Components are useful when client application wish to draw, label, or otherwise interact with components of tracked objects.
| |
| VRRenderModels_GetComponentCount | back to summary |
|---|---|
| public static int VRRenderModels_GetComponentCount(CharSequence pchRenderModelName) Returns the number of components of the specified render model. Components are useful when client application wish to draw, label, or otherwise interact with components of tracked objects.
| |
| VRRenderModels_GetComponentName | back to summary |
|---|---|
| public static int VRRenderModels_GetComponentName(ByteBuffer pchRenderModelName, int unComponentIndex, ByteBuffer pchComponentName) Use this to get the names of available components. Index does not correlate to a tracked device index, but is only used for iterating over all available components. If the index is out of range, this function will return 0. Otherwise, it will return the size of the buffer required for the name.
| |
| VRRenderModels_GetComponentName | back to summary |
|---|---|
| public static int VRRenderModels_GetComponentName(CharSequence pchRenderModelName, int unComponentIndex, ByteBuffer pchComponentName) Use this to get the names of available components. Index does not correlate to a tracked device index, but is only used for iterating over all available components. If the index is out of range, this function will return 0. Otherwise, it will return the size of the buffer required for the name.
| |
| VRRenderModels_GetComponentName | back to summary |
|---|---|
| public static String VRRenderModels_GetComponentName(CharSequence pchRenderModelName, int unComponentIndex, int unComponentNameLen) Use this to get the names of available components. Index does not correlate to a tracked device index, but is only used for iterating over all available components. If the index is out of range, this function will return 0. Otherwise, it will return the size of the buffer required for the name.
| |
| VRRenderModels_GetComponentRenderModelName | back to summary |
|---|---|
| public static int VRRenderModels_GetComponentRenderModelName(ByteBuffer pchRenderModelName, ByteBuffer pchComponentName, ByteBuffer pchComponentRenderModelName) Use this to get the render model name for the specified rendermode/component combination, to be passed to
| |
| VRRenderModels_GetComponentRenderModelName | back to summary |
|---|---|
| public static int VRRenderModels_GetComponentRenderModelName(CharSequence pchRenderModelName, CharSequence pchComponentName, ByteBuffer pchComponentRenderModelName) Use this to get the render model name for the specified rendermode/component combination, to be passed to
| |
| VRRenderModels_GetComponentRenderModelName | back to summary |
|---|---|
| public static String VRRenderModels_GetComponentRenderModelName(CharSequence pchRenderModelName, CharSequence pchComponentName, int unComponentRenderModelNameLen) Use this to get the render model name for the specified rendermode/component combination, to be passed to
| |
| VRRenderModels_GetComponentState | back to summary |
|---|---|
| public static boolean VRRenderModels_GetComponentState(ByteBuffer pchRenderModelName, ByteBuffer pchComponentName, VRControllerState pControllerState, RenderModelControllerModeState pState, RenderModelComponentState pComponentState) This version of
| |
| VRRenderModels_GetComponentState | back to summary |
|---|---|
| public static boolean VRRenderModels_GetComponentState(CharSequence pchRenderModelName, CharSequence pchComponentName, VRControllerState pControllerState, RenderModelControllerModeState pState, RenderModelComponentState pComponentState) This version of
| |
| VRRenderModels_GetComponentStateForDevicePath | back to summary |
|---|---|
public static boolean VRRenderModels_GetComponentStateForDevicePath(ByteBuffer pchRenderModelName, ByteBuffer pchComponentName, long devicePath, RenderModelControllerModeState pState, RenderModelComponentState pComponentState)
| |
| VRRenderModels_GetComponentStateForDevicePath | back to summary |
|---|---|
public static boolean VRRenderModels_GetComponentStateForDevicePath(CharSequence pchRenderModelName, CharSequence pchComponentName, long devicePath, RenderModelControllerModeState pState, RenderModelComponentState pComponentState)
| |
| VRRenderModels_GetRenderModelCount | back to summary |
|---|---|
| public static int VRRenderModels_GetRenderModelCount() Returns the number of available render models.
| |
| VRRenderModels_GetRenderModelErrorNameFromEnum | back to summary |
|---|---|
| public static String VRRenderModels_GetRenderModelErrorNameFromEnum(int error) Returns a string for a render model error.
| |
| VRRenderModels_GetRenderModelName | back to summary |
|---|---|
| public static int VRRenderModels_GetRenderModelName(int unRenderModelIndex, ByteBuffer pchRenderModelName) Use this to get the names of available render models. Index does not correlate to a tracked device index, but is only used for iterating over all available render models. If the index is out of range, this function will return 0. Otherwise, it will return the size of the buffer required for the name.
| |
| VRRenderModels_GetRenderModelName | back to summary |
|---|---|
| public static String VRRenderModels_GetRenderModelName(int unRenderModelIndex, int unRenderModelNameLen) Use this to get the names of available render models. Index does not correlate to a tracked device index, but is only used for iterating over all available render models. If the index is out of range, this function will return 0. Otherwise, it will return the size of the buffer required for the name.
| |
| VRRenderModels_GetRenderModelOriginalPath | back to summary |
|---|---|
| public static int VRRenderModels_GetRenderModelOriginalPath(ByteBuffer pchRenderModelName, ByteBuffer pchOriginalPath, IntBuffer peError) Provides a render model path that will load the unskinned model if the model name provided has been replace by the user. If the model hasn't been replaced the path value will still be a valid path to load the model. Pass this to LoadRenderModel_Async, etc. to load the model.
| |
| VRRenderModels_GetRenderModelOriginalPath | back to summary |
|---|---|
| public static int VRRenderModels_GetRenderModelOriginalPath(CharSequence pchRenderModelName, ByteBuffer pchOriginalPath, IntBuffer peError) Provides a render model path that will load the unskinned model if the model name provided has been replace by the user. If the model hasn't been replaced the path value will still be a valid path to load the model. Pass this to LoadRenderModel_Async, etc. to load the model.
| |
| VRRenderModels_GetRenderModelOriginalPath | back to summary |
|---|---|
| public static String VRRenderModels_GetRenderModelOriginalPath(CharSequence pchRenderModelName, int unOriginalPathLen, IntBuffer peError) Provides a render model path that will load the unskinned model if the model name provided has been replace by the user. If the model hasn't been replaced the path value will still be a valid path to load the model. Pass this to LoadRenderModel_Async, etc. to load the model.
| |
| VRRenderModels_GetRenderModelThumbnailURL | back to summary |
|---|---|
| public static int VRRenderModels_GetRenderModelThumbnailURL(ByteBuffer pchRenderModelName, ByteBuffer pchThumbnailURL, IntBuffer peError) Returns the URL of the thumbnail image for this rendermodel.
| |
| VRRenderModels_GetRenderModelThumbnailURL | back to summary |
|---|---|
| public static int VRRenderModels_GetRenderModelThumbnailURL(CharSequence pchRenderModelName, ByteBuffer pchThumbnailURL, IntBuffer peError) Returns the URL of the thumbnail image for this rendermodel.
| |
| VRRenderModels_GetRenderModelThumbnailURL | back to summary |
|---|---|
| public static String VRRenderModels_GetRenderModelThumbnailURL(CharSequence pchRenderModelName, int unThumbnailURLLen, IntBuffer peError) Returns the URL of the thumbnail image for this rendermodel.
| |
| VRRenderModels_LoadIntoTextureD3D11_Async | back to summary |
|---|---|
| public static int VRRenderModels_LoadIntoTextureD3D11_Async(int textureId, long pDstTexture) Helper function to copy the bits into an existing texture.
| |
| VRRenderModels_LoadRenderModel_Async | back to summary |
|---|---|
| public static int VRRenderModels_LoadRenderModel_Async(ByteBuffer pchRenderModelName, PointerBuffer ppRenderModel) Loads and returns a render model for use in the application. The resulting render model is valid until
| |
| VRRenderModels_LoadRenderModel_Async | back to summary |
|---|---|
| public static int VRRenderModels_LoadRenderModel_Async(CharSequence pchRenderModelName, PointerBuffer ppRenderModel) Loads and returns a render model for use in the application. The resulting render model is valid until
| |
| VRRenderModels_LoadTexture_Async | back to summary |
|---|---|
| public static int VRRenderModels_LoadTexture_Async(int textureId, PointerBuffer ppTexture) Loads and returns a texture for use in the application.
| |
| VRRenderModels_LoadTextureD3D11_Async | back to summary |
|---|---|
| public static int VRRenderModels_LoadTextureD3D11_Async(int textureId, long pD3D11Device, PointerBuffer ppD3D11Texture2D) Creates a D3D11 texture and loads data into it.
| |
| VRRenderModels_RenderModelHasComponent | back to summary |
|---|---|
| public static boolean VRRenderModels_RenderModelHasComponent(ByteBuffer pchRenderModelName, ByteBuffer pchComponentName) Returns true if the render model has a component with the specified name.
| |
| VRRenderModels_RenderModelHasComponent | back to summary |
|---|---|
| public static boolean VRRenderModels_RenderModelHasComponent(CharSequence pchRenderModelName, CharSequence pchComponentName) Returns true if the render model has a component with the specified name.
| |