Interface
ScaleComp
:The scale component.
group
Component Types
scale
: Vec2The current scale of the object
returns
The current scale of the object as a
scaleTo
(s: number): voidSet the scale of the object to a number
scaleTo
(s: Vec2): voidSet the scale of the object to a Vec2
scaleTo
(sx: number, sy: number): voidSet the scale of the object to a number for x and y
scaleBy
(s: number): voidScale the object by a number
scaleBy
(s: Vec2): voidScale the object by a Vec2
scaleBy
(sx: number, sy: number): voidScale the object by a number for x and y