Members
size
Get number of vertices
textureCoordinates
Get an array of texture coordinates per vertex
Each coordinate represent a (u,v) pair within [0,1] range, to be mapped to texture image
vertices
Get an array of 3D vertices.
The coordinate system is: X right, Y up, Z away from the camera. Units: Meters
Methods
exportToPly(fileName, texture) → {undefined}
Creates a ply file of the model with the given file name.
Parameters:
| Name | Type | Description |
|---|---|---|
fileName |
String | name of the ply file |
texture |
VideoFrame | texture frame |
Returns:
- Type
- undefined