setAxisAlignedBoundingBox

actual fun setAxisAlignedBoundingBox(instance: EntityInstance, box: Box)

Changes the bounding box used for frustum culling. The renderable must not have staticGeometry enabled.

Parameters

instance

Instance of the component obtained from getInstance()

box

the new axis-aligned bounding box

See also

expect fun setAxisAlignedBoundingBox(instance: EntityInstance, box: Box)

Changes the bounding box used for frustum culling. The renderable must not have staticGeometry enabled.

Parameters

instance

Instance of the component obtained from getInstance()

box

the new axis-aligned bounding box

See also

actual fun setAxisAlignedBoundingBox(instance: EntityInstance, box: Box)

Changes the bounding box used for frustum culling. The renderable must not have staticGeometry enabled.

Parameters

instance

Instance of the component obtained from getInstance()

box

the new axis-aligned bounding box

See also

actual fun setAxisAlignedBoundingBox(instance: EntityInstance, box: Box)

Changes the bounding box used for frustum culling. The renderable must not have staticGeometry enabled.

Parameters

instance

Instance of the component obtained from getInstance()

box

the new axis-aligned bounding box

See also

actual fun setAxisAlignedBoundingBox(instance: EntityInstance, box: Box)

Changes the bounding box used for frustum culling. The renderable must not have staticGeometry enabled.

Parameters

instance

Instance of the component obtained from getInstance()

box

the new axis-aligned bounding box

See also