Optional
aabbAxis-aligned, non-quantized 3D boundary of the geometry's vertex positions.
Optional
colorsVertex RGB colors, quantized as 8-bit integers.
Optional
edgeEdge indices.
This is either an array of 8-bit, 16-bit or 32-bit values.
ID for the geometry.
Optional
indicesprimitive indices.
This is either an array of 8-bit, 16-bit or 32-bit values.
The count of SceneMeshes that reference this SceneGeometry.
Optional
originTODO
3D vertex positions, quantized as 16-bit integers.
Internally, the Viewer dequantizes these using SceneGeometry.aabb, which provides their unquantized 3D boundary.
Vertex positions are required for all primitive types.
Primitive type.
Possible values are constants!SolidPrimitive, constants!SurfacePrimitive, constants!LinesPrimitive, constants!PointsPrimitive and constants!TrianglesPrimitive.
Internal
rendererInterface through which this SceneGeometry can load any user-updated geometry arrays into the renderers.
Optional
uvsUV coordinates, quantized as 16-bit integers.
Internally, the Viewer de-quantizes these with SceneGeometry.uvsDecompressMatrix.
Optional
uvs4x4 matrix to de-quantize the geometry's UV coordinates, when UVs are provided.
Gets this SceneGeometry as SceneGeometryCompressedParams.
A geometry in a SceneModel.
See @xeokit/sdk/scene for usage.