OptionalaabbAxis-aligned, non-quantized 3D boundary of the geometry's vertex positions.
OptionalcolorsVertex RGB colors, quantized as 8-bit integers.
OptionaledgeEdge indices.
This is either an array of 8-bit, 16-bit or 32-bit values.
ID for the geometry.
Optionalindicesprimitive indices.
This is either an array of 8-bit, 16-bit or 32-bit values.
The count of SceneMeshes that reference this SceneGeometry.
OptionaloriginTODO
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.
InternalrendererInterface through which this SceneGeometry can load any user-updated geometry arrays into the renderers.
OptionaluvsUV coordinates, quantized as 16-bit integers.
Internally, the Viewer de-quantizes these with SceneGeometry.uvsDecompressMatrix.
Optionaluvs4x4 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.