km-engine ~master (2022-05-09T12:27:43.0681511)
Dub
Repo
Transform2D.this
engine
math
transform
Transform2D
Create a new 2D transform
this
(Transform2D parent)
this
(vec2 position, vec2 origin, vec2 scale, float rotation, Transform2D parent)
class
Transform2D
this
(
vec2
position
,
vec2
origin
=
vec2
(0, 0)
,
vec2
scale
=
vec2
(1, 1)
,
float
rotation
= 0
,
Transform2D
parent
= null
)
Meta
Source
See Implementation
engine
math
transform
Transform2D
constructors
this
functions
changeParent
matrix
variables
origin
position
rotation
scale
Create a new 2D transform