Skip to main content

BimIfcMeshIntersectionCameraOptions

BimIfcMesh intersection options for intersection with a camera and canvas coordinates.

Hierarchy

Index

Properties

readonlycamera

camera: Camera

Camera to use for intersection test.

readonlycanvasCoordinate

canvasCoordinate: Vertex2

Canvas coordinate to use when picking. A ray is shot into the scene from the camera passing through the canvas coordinate.

optionalisAABBIntersectionEnabled

isAABBIntersectionEnabled?: boolean

If true, an intersection test against the AABB is performed. This test also requires that isGeometryIntersectionTestEnabled === false or that no geometry intersection is found.

optionalisCenterIntersectionFallbackEnabled

isCenterIntersectionFallbackEnabled?: boolean

If true, fall back to use the object center as intersection point if no intersection point is otherwise found.

optionalisGeometryIntersectionEnabled

isGeometryIntersectionEnabled?: boolean

If undefined or true then a (computationally expensive) intersection test will be performed against geometry to find out exactly where intersection is.