getAxisAlignedBoundingBox

actual fun getAxisAlignedBoundingBox(instance: EntityInstance, out: Box?): Box

Gets the bounding box used for frustum culling.

Return

the axis-aligned bounding box

Parameters

instance

Instance of the component obtained from getInstance()

out

optional output Box; if null, a new Box is created

See also

expect fun getAxisAlignedBoundingBox(instance: EntityInstance, out: Box? = null): Box

Gets the bounding box used for frustum culling.

Return

the axis-aligned bounding box

Parameters

instance

Instance of the component obtained from getInstance()

out

optional output Box; if null, a new Box is created

See also

actual fun getAxisAlignedBoundingBox(instance: EntityInstance, out: Box?): Box

Gets the bounding box used for frustum culling.

Return

the axis-aligned bounding box

Parameters

instance

Instance of the component obtained from getInstance()

out

optional output Box; if null, a new Box is created

See also

actual fun getAxisAlignedBoundingBox(instance: EntityInstance, out: Box?): Box

Gets the bounding box used for frustum culling.

Return

the axis-aligned bounding box

Parameters

instance

Instance of the component obtained from getInstance()

out

optional output Box; if null, a new Box is created

See also

actual fun getAxisAlignedBoundingBox(instance: EntityInstance, out: Box?): Box

Gets the bounding box used for frustum culling.

Return

the axis-aligned bounding box

Parameters

instance

Instance of the component obtained from getInstance()

out

optional output Box; if null, a new Box is created

See also