Methods
- createLine(id: string, origin: Vector3, target: Vector3, color: Color4): LinesMesh
Parameters
id: string
origin: Vector3
target: Vector3
color: Color4
Returns LinesMesh
- createMeshWireframe(mesh: BimIfcMesh, inWorldSpace?: boolean, color: Color4): LinesMesh[]
Parameters
inWorldSpace: boolean = true
color: Color4
Returns LinesMesh[]
- createRay(id: string, ray: Ray, color: Color3): RayHelper
Parameters
id: string
ray: Ray
color: Color3
Returns RayHelper
- createSphere(id: string, origin: Vector3, size: number, segments?: number): Mesh
Parameters
id: string
origin: Vector3
size: number
segments: number = 4
Returns Mesh
- createStartDisc(id: string, origin: Vector3, normal: Vector3, size: number, segments?: number): Mesh
Parameters
id: string
origin: Vector3
normal: Vector3
size: number
segments: number = 6
Returns Mesh
- updateLine(instance: LinesMesh, origin: Vector3, target: Vector3, color: Color4): LinesMesh
Parameters
instance: LinesMesh
origin: Vector3
target: Vector3
color: Color4
Returns LinesMesh
- viewObjectWireFrame(object: BimIfcObject, color: Color4): LinesMesh[][]
Parameters
Returns LinesMesh[][]