API reference

setAbsoluteScale Function

Sets entity's Scale so it renders at scale, in the active scale mode. The inverse of getAbsoluteScale; see getLocalScaleForAbsoluteScale.

Signature

fun setAbsoluteScale(entity: Entity, scale: Vector3)

Parameters

entity: Entity The entity to scale.
scale: Vector3 The scale it should render at.