Interface IWebXRVertexData
Hierarchy
- IWebXRVertexData
Index
Properties
Properties
idSearch playground for id
A babylon-assigned ID for this mesh
Optional indicesSearch playground for indices
An array of indices in babylon space. right/left hand system is taken into account. Indices will only be calculated if convertCoordinateSystems is set to true in the IWebXRMeshDetectorOptions.
Optional normalsSearch playground for normals
An array of vertex normals in babylon space. right/left hand system is taken into account. Normals will not be calculated if convertCoordinateSystems is undefined in the IWebXRMeshDetectorOptions. Different platforms may or may not support mesh normals when convertCoordinateSystems is set to true.
Optional positionsSearch playground for positions
An array of vertex positions in babylon space. right/left hand system is taken into account. Positions will only be calculated if convertCoordinateSystems is set to true in the IWebXRMeshDetectorOptions.
Optional transformation MatrixSearch playground for transformationMatrix
A transformation matrix to apply on the mesh that will be built using the meshDefinition. Local vs. World are decided if worldParentNode was provided or not in the options when constructing the module. TransformationMatrix will only be calculated if convertCoordinateSystems is set to true in the IWebXRMeshDetectorOptions.
Optional world Parent NodeSearch playground for worldParentNode
The node to use to transform the local results to world coordinates. WorldParentNode will only exist if it was declared in the IWebXRMeshDetectorOptions.
xr MeshSearch playground for xrMesh
Data required for constructing a mesh in Babylon.js.
A babylon interface for a XR mesh's vertex data.
Currently not supported by WebXR, available only with BabylonNative