API Docs for: 2.7.3
Show:

ObjectHelper.OyBB Class

Module: Helpers
Parent Module: Wanaplan

Bounding Box Oriented along Y axis. Same as OBB but the rotation is only along the Y axis, which saves some computations.

in order to keep things simple and limit space complexity, this class holds minimal mandatory properties.

Constructor

ObjectHelper.OyBB

(
  • dimension
  • matrix
)

Parameters:

  • dimension BABYLON.Vector3

    the vector from the origin to the top corner ( positive vector )

  • matrix BABYLON.Matrix

    the transormation matrix of the box, should be a rotationY combined with a translation

Item Index