Skip to main content

Transform

Represents a position in the world for a layer.

struct Transform {
// from native code
position: Vec2
rotation: Angle2
bounds: RectBounds
}

Fields

position

position: Vec2

rotation

rotation: Angle2

bounds

bounds: RectBounds

Methods