Skip to main content
Version: Next

Type Alias: CustomObjectIntersection

CustomObjectIntersection = object

Defined in: packages/utilities/src/customObject/CustomObjectIntersection.ts:12

Beta

This class is used as output intersecting custom objects

Properties

boundingBox?

optional boundingBox: Box3

Defined in: packages/utilities/src/customObject/CustomObjectIntersection.ts:34

The bounding box of the part of the CustomObject that was intersected.


customObject

customObject: ICustomObject

Defined in: packages/utilities/src/customObject/CustomObjectIntersection.ts:29

The CustomObject that was intersected.


distanceToCamera

distanceToCamera: number

Defined in: packages/utilities/src/customObject/CustomObjectIntersection.ts:24

Distance from the camera to the intersection.


point

point: Vector3

Defined in: packages/utilities/src/customObject/CustomObjectIntersection.ts:20

Coordinate of the intersection.


type

type: "customObject"

Defined in: packages/utilities/src/customObject/CustomObjectIntersection.ts:16

The intersection type.


userData?

optional userData: any

Defined in: packages/utilities/src/customObject/CustomObjectIntersection.ts:39

Additional info, for instance which part of the CustomObject was intersected.