Transform2D

There is currently no description for this class. Please help us by contributing one!

Note

There are notable differences when using this API with C#. See C# Differences for more information.

Properties

Vector2

origin

Vector2(0, 0)

Vector2

x

Vector2(1, 0)

Vector2

y

Vector2(0, 1)

Constructors

Transform2D

Transform2D ( )

Transform2D

Transform2D ( Transform2D from )

Transform2D

Transform2D ( float rotation, Vector2 position )

Transform2D

Transform2D ( float rotation, Vector2 scale, float skew, Vector2 position )

Transform2D

Transform2D ( Vector2 x_axis, Vector2 y_axis, Vector2 origin )

Methods

Transform2D

affine_inverse ( ) const

Vector2

basis_xform ( Vector2 v ) const

Vector2

basis_xform_inv ( Vector2 v ) const

float

determinant ( ) const

Vector2

get_origin ( ) const

float

get_rotation ( ) const

Vector2

get_scale ( ) const

float

get_skew ( ) const

Transform2D

interpolate_with ( Transform2D xform, float weight ) const

Transform2D

inverse ( ) const

bool

is_conformal ( ) const

bool

is_equal_approx ( Transform2D xform ) const

bool

is_finite ( ) const

Transform2D

looking_at ( Vector2 target=Vector2(0, 0) ) const

Transform2D

orthonormalized ( ) const

Transform2D

rotated ( float angle ) const

Transform2D

rotated_local ( float angle ) const

Transform2D

scaled ( Vector2 scale ) const

Transform2D

scaled_local ( Vector2 scale ) const

Transform2D

translated ( Vector2 offset ) const

Transform2D

translated_local ( Vector2 offset ) const

Operators

bool

operator != ( Transform2D right )

PackedVector2Array

operator * ( PackedVector2Array right )

Rect2

operator * ( Rect2 right )

Transform2D

operator * ( Transform2D right )

Vector2

operator * ( Vector2 right )

Transform2D

operator * ( float right )

Transform2D

operator * ( int right )

Transform2D

operator / ( float right )

Transform2D

operator / ( int right )

bool

operator == ( Transform2D right )

Vector2

operator [] ( int index )


Constants

IDENTITY = Transform2D(1, 0, 0, 1, 0, 0)

There is currently no description for this constant. Please help us by contributing one!

FLIP_X = Transform2D(-1, 0, 0, 1, 0, 0)

There is currently no description for this constant. Please help us by contributing one!

FLIP_Y = Transform2D(1, 0, 0, -1, 0, 0)

There is currently no description for this constant. Please help us by contributing one!


Property Descriptions

Vector2 origin = Vector2(0, 0)

There is currently no description for this property. Please help us by contributing one!


Vector2 x = Vector2(1, 0)

There is currently no description for this property. Please help us by contributing one!


Vector2 y = Vector2(0, 1)

There is currently no description for this property. Please help us by contributing one!


Constructor Descriptions

Transform2D Transform2D ( )

There is currently no description for this constructor. Please help us by contributing one!


Transform2D Transform2D ( Transform2D from )

There is currently no description for this constructor. Please help us by contributing one!


Transform2D Transform2D ( float rotation, Vector2 position )

There is currently no description for this constructor. Please help us by contributing one!


Transform2D Transform2D ( float rotation, Vector2 scale, float skew, Vector2 position )

There is currently no description for this constructor. Please help us by contributing one!


Transform2D Transform2D ( Vector2 x_axis, Vector2 y_axis, Vector2 origin )

There is currently no description for this constructor. Please help us by contributing one!


Method Descriptions

Transform2D affine_inverse ( ) const

There is currently no description for this method. Please help us by contributing one!


Vector2 basis_xform ( Vector2 v ) const

There is currently no description for this method. Please help us by contributing one!


Vector2 basis_xform_inv ( Vector2 v ) const

There is currently no description for this method. Please help us by contributing one!


float determinant ( ) const

There is currently no description for this method. Please help us by contributing one!


Vector2 get_origin ( ) const

There is currently no description for this method. Please help us by contributing one!


float get_rotation ( ) const

There is currently no description for this method. Please help us by contributing one!


Vector2 get_scale ( ) const

There is currently no description for this method. Please help us by contributing one!


float get_skew ( ) const

There is currently no description for this method. Please help us by contributing one!


Transform2D interpolate_with ( Transform2D xform, float weight ) const

There is currently no description for this method. Please help us by contributing one!


Transform2D inverse ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_conformal ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_equal_approx ( Transform2D xform ) const

There is currently no description for this method. Please help us by contributing one!


bool is_finite ( ) const

There is currently no description for this method. Please help us by contributing one!


Transform2D looking_at ( Vector2 target=Vector2(0, 0) ) const

There is currently no description for this method. Please help us by contributing one!


Transform2D orthonormalized ( ) const

There is currently no description for this method. Please help us by contributing one!


Transform2D rotated ( float angle ) const

There is currently no description for this method. Please help us by contributing one!


Transform2D rotated_local ( float angle ) const

There is currently no description for this method. Please help us by contributing one!


Transform2D scaled ( Vector2 scale ) const

There is currently no description for this method. Please help us by contributing one!


Transform2D scaled_local ( Vector2 scale ) const

There is currently no description for this method. Please help us by contributing one!


Transform2D translated ( Vector2 offset ) const

There is currently no description for this method. Please help us by contributing one!


Transform2D translated_local ( Vector2 offset ) const

There is currently no description for this method. Please help us by contributing one!


Operator Descriptions

bool operator != ( Transform2D right )

There is currently no description for this operator. Please help us by contributing one!


PackedVector2Array operator * ( PackedVector2Array right )

There is currently no description for this operator. Please help us by contributing one!


Rect2 operator * ( Rect2 right )

There is currently no description for this operator. Please help us by contributing one!


Transform2D operator * ( Transform2D right )

There is currently no description for this operator. Please help us by contributing one!


Vector2 operator * ( Vector2 right )

There is currently no description for this operator. Please help us by contributing one!


Transform2D operator * ( float right )

There is currently no description for this operator. Please help us by contributing one!


Transform2D operator * ( int right )

There is currently no description for this operator. Please help us by contributing one!


Transform2D operator / ( float right )

There is currently no description for this operator. Please help us by contributing one!


Transform2D operator / ( int right )

There is currently no description for this operator. Please help us by contributing one!


bool operator == ( Transform2D right )

There is currently no description for this operator. Please help us by contributing one!


Vector2 operator [] ( int index )

There is currently no description for this operator. Please help us by contributing one!