getAxisAlignedBoundingBox

actual fun getAxisAlignedBoundingBox(instance: EntityInstance, outBox: 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()

outBox

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

See also

expect fun getAxisAlignedBoundingBox(instance: EntityInstance, outBox: 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()

outBox

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

See also

actual fun getAxisAlignedBoundingBox(instance: EntityInstance, outBox: 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()

outBox

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

See also

actual fun getAxisAlignedBoundingBox(instance: EntityInstance, outBox: 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()

outBox

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

See also

actual fun getAxisAlignedBoundingBox(instance: EntityInstance, outBox: 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()

outBox

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

See also