qc.Node.setTransformToWorld

Prototype

  • void setTransformToWorld(number x, number y, number scaleX, number scaleY, number rotation)

Parameters

Parameter Type Description
x number The world position.x
y number The world position.y
scaleX number The world scale.x
scaleY number The world scale.y
rotation number The world rotation in radian

Description

Set up the Node's world transform.