Struct XrPassthroughMeshTransformInfoHTC
The XrPassthroughMeshTransformInfoHTC structure describes the mesh and transformation.
Inherited Members
Namespace: VIVE.OpenXR.CompositionLayer
Assembly: VIVE.OpenXR.dll
Syntax
public struct XrPassthroughMeshTransformInfoHTC
Constructors
XrPassthroughMeshTransformInfoHTC(XrStructureType, IntPtr, uint, XrVector3f[], uint, uint[], XrSpace, XrTime, XrPosef, XrVector3f)
Declaration
public XrPassthroughMeshTransformInfoHTC(XrStructureType in_type, IntPtr in_next, uint in_vertexCount, XrVector3f[] in_vertices, uint in_indexCount, uint[] in_indices, XrSpace in_baseSpace, XrTime in_time, XrPosef in_pose, XrVector3f in_scale)
Parameters
Type | Name | Description |
---|---|---|
XrStructureType | in_type | |
IntPtr | in_next | |
uint | in_vertexCount | |
XrVector3f[] | in_vertices | |
uint | in_indexCount | |
uint[] | in_indices | |
XrSpace | in_baseSpace | |
XrTime | in_time | |
XrPosef | in_pose | |
XrVector3f | in_scale |
Fields
baseSpace
The XrSpace that defines the projected passthrough's base space for transformations.
Declaration
public XrSpace baseSpace
Field Value
Type | Description |
---|---|
XrSpace |
indexCount
The count of indices array in the mesh.
Declaration
public uint indexCount
Field Value
Type | Description |
---|---|
uint |
indices
An array of triangle indices. The size of the array must be equal to indexCount.
Declaration
public uint[] indices
Field Value
Type | Description |
---|---|
uint[] |
next
Next is NULL or a pointer to the next structure in a structure chain.
Declaration
public IntPtr next
Field Value
Type | Description |
---|---|
IntPtr |
pose
The XrPosef that defines the pose of the mesh
Declaration
public XrPosef pose
Field Value
Type | Description |
---|---|
XrPosef |
scale
The XrVector3f that defines the scale of the mesh
Declaration
public XrVector3f scale
Field Value
Type | Description |
---|---|
XrVector3f |
time
The XrTime that defines the time at which the transform is applied.
Declaration
public XrTime time
Field Value
Type | Description |
---|---|
XrTime |
type
The XrStructureType of this structure.
Declaration
public XrStructureType type
Field Value
Type | Description |
---|---|
XrStructureType |
vertexCount
The count of vertices array in the mesh.
Declaration
public uint vertexCount
Field Value
Type | Description |
---|---|
uint |
vertices
An array of XrVector3f. The size of the array must be equal to vertexCount.
Declaration
public XrVector3f[] vertices
Field Value
Type | Description |
---|---|
XrVector3f[] |