Constructs bounding info
min vector of the bounding box/sphere
max vector of the bounding box/sphere
defines the new world matrix
Bounding box for the mesh
Bounding sphere for the mesh
Gets the world distance between the min and max points of the bounding box
If the info is locked and won't be updated to avoid perf overhead
max vector of the bounding box/sphere
min vector of the bounding box/sphere
Recreate the bounding info to be centered around a specific point given a specific extend.
New center of the bounding info
New extend of the bounding info
the current bounding info
Checks if another bounding info intersects the bounding box and bounding sphere or the mesh
the bounding info to check intersection with
if the intersection should be done using OBB
if the bounding info intersects
Checks if a point is inside the bounding box and bounding sphere or the mesh
the point to check intersection with
if the point intersects
Checks if a cullable object (mesh...) is in the camera frustum Unlike isInFrustum this cheks the full bounding box
Camera near/planes
true if the object is in frustum otherwise false
Returns true
if the bounding info is within the frustum defined by the passed array of planes.
defines the frustum to test
defines the strategy to use for the culling (default is BABYLON.AbstractMesh.CULLINGSTRATEGY_STANDARD)
true if the bounding info is in the frustum planes
Recreates the entire bounding info from scratch as if we call the constructor in place
defines the new minimum vector (in local space)
defines the new maximum vector (in local space)
defines the new world matrix
Scale the current bounding info by applying a scale factor
defines the scale factor to apply
the current bounding info
Updates the bounding sphere and box
world matrix to be used to update
Generated using TypeDoc
Info for a bounding data of a mesh