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?): Box3B

Parameters

NameTypeDefault value
objectObject3D<Event>undefined
precisebooleanfalse
ignoreInvisiblebooleanfalse

Returns

Box3B

Overrides

Box3.expandByObject

Defined in

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


expandByObjects

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

Parameters

NameTypeDefault value
objectsObject3D<Event>[]undefined
precisebooleanfalse
ignoreInvisiblebooleanfalse

Returns

Box3B

Defined in

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


getPoints

getPoints(): Vector3[]

Get corner points.

Returns

Vector3[]

Defined in

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


getScreenSpaceBounds

getScreenSpaceBounds(camera): Box2

Parameters

NameType
cameraCamera

Returns

Box2

Defined in

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