Geometry3d
Hierarchy
- GeometryArrays
- Geometry3dHandle
- Geometry3d
Index
Properties
readonlyaabb
The axis-aligned bounding box of the geometry.
Type declaration
max: Vector3
min: Vector3
readonlycenter
The center of the geometry’s axis-aligned bounding box in IFC space.
cullOnCameraMove
readonlycullingDistance
The distance at which the geometry should be culled.
readonlyid
The unique identifier for the geometry.
readonlyindices
Indices. Describes triangles by referencing items in positions.
readonlyisTransparent
Indicates whether the geometry is transparent.
readonlypositions
Positions (x,y,z).
readonlyproductsAndMeshes
The products and meshes associated with the geometry.
readonlyuvs
Uvs (u,v)
Methods
applyToGeometry
Applies geometry to a babylon Geometry.
Parameters
babylonGeometry: Geometry
engine: Engine
Returns void
applyToMesh
Applies geometry to a babylon Mesh.
Parameters
mesh: Mesh
engine: Engine
Returns void
copyNormalsTo
Copies normals to existing array.
Type parameters
- T: Writeable<ArrayLike<number>>
Parameters
dst: T
Returns T
toHandle
Returns Geometry3dHandle
Represents a geometry that consists of one or more IFC objects