normals

normals: undefined | Uint16ArrayBuilder

The normal vector of each vertex in the mesh, or undefined if RealityMeshParamsBuilderOptions.wantNormals was not true when constructing the builder. A normal vector must be supplied to RealityMeshParamsBuilder.addQuantizedVertex and RealityMeshParamsBuilder.addUnquantizedVertex if and only if RealityMeshParamsBuilderOptions.wantNormals was specified as true. The vectors are stored as OctEncodedNormals.

Defined in

Last Updated: 20 June, 2023