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 with @xeokit/scene!SceneGeometry.positionsDecompressMatrix | SceneGeometry.positionsDecompressMatrix.
Vertex positions are required for all primitive types.
Primitive type.
Possible values are @xeokit/constants!SolidPrimitive, @xeokit/constants!SurfacePrimitive, @xeokit/constants!LinesPrimitive, @xeokit/constants!PointsPrimitive and @xeokit/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 JSON.
A geometry in a SceneModel.
See @xeokit/scene for usage.