Skip to main content

Class: Box3B

Extra-Helpers.Box3B

Hierarchy

  • Box3

    Box3B

Constructors

constructor

new Box3B(min?, max?)

Parameters

NameType
min?Vector3
max?Vector3

Inherited from

Box3.constructor

Defined in

webgi/node_modules/@types/three/src/math/Box3.d.ts:10

Methods

expandByObject

expandByObject(object, precise?, ignoreInvisible?, ignoreObject?): Box3B

Parameters

NameTypeDefault value
objectObject3D<Event, string>undefined
precisebooleanfalse
ignoreInvisiblebooleanfalse
ignoreObject?(obj: Object3D<Event, string>) => booleanundefined

Returns

Box3B

Overrides

Box3.expandByObject

Defined in

webgi/src/helpers/threejs/Box3B.ts:6


expandByObjects

expandByObjects(objects, precise?, ignoreInvisible?, ignoreObject?): Box3B

Parameters

NameTypeDefault value
objectsObject3D<Event, string>[]undefined
precisebooleanfalse
ignoreInvisiblebooleanfalse
ignoreObject?(obj: Object3D<Event, string>) => booleanundefined

Returns

Box3B

Defined in

webgi/src/helpers/threejs/Box3B.ts:72


getPoints

getPoints(): Vector3[]

Get corner points.

Returns

Vector3[]

Defined in

webgi/src/helpers/threejs/Box3B.ts:79


getScreenSpaceBounds

getScreenSpaceBounds(camera): Box2

Parameters

NameType
cameraCamera<Event, string>

Returns

Box2

Defined in

webgi/src/helpers/threejs/Box3B.ts:92