Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IWebXRVertexData

A babylon interface for a XR mesh's vertex data.

Currently not supported by WebXR, available only with BabylonNative

Hierarchy

  • IWebXRVertexData

Index

Properties

idSearch playground for id

id: number

A babylon-assigned ID for this mesh

Optional indicesSearch playground for indices

indices: Uint32Array

An array of indices in babylon space. Indices have a counterclockwise winding order. Indices will only be populated if convertCoordinateSystems is set to true in the IWebXRMeshDetectorOptions.

Optional normalsSearch playground for normals

normals: Float32Array

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

positions: Float32Array

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 transformationMatrixSearch playground for transformationMatrix

transformationMatrix: Matrix

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 worldParentNodeSearch playground for worldParentNode

worldParentNode: TransformNode

The node to use to transform the local results to world coordinates. WorldParentNode will only exist if it was declared in the IWebXRMeshDetectorOptions.

xrMeshSearch playground for xrMesh

xrMesh: XRMesh

Data required for constructing a mesh in Babylon.js.

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method