Class: Points

Points()

Class used to get 3D vertices and texture coordinates

Constructor

new Points()

Source:

Members

size

Get number of vertices
Source:

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
Source:

vertices

Get an array of 3D vertices. The coordinate system is: X right, Y up, Z away from the camera. Units: Meters
Source:

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
Source:
Returns:
Type
undefined