W3cubDocs

/Godot 2.1

Matrix32

Category: Built-In Types

Brief Description

3x2 Matrix for 2D transforms.

Member Functions

Matrix32 Matrix32 ( Transform from )
Matrix32 Matrix32 ( Vector2 x_axis, Vector2 y_axis, Vector2 origin )
Matrix32 Matrix32 ( float rot, Vector2 pos )
Matrix32 affine_inverse ( )
Matrix32 basis_xform ( var v )
Matrix32 basis_xform_inv ( var v )
Vector2 get_origin ( )
float get_rotation ( )
Vector2 get_scale ( )
Matrix32 interpolate_with ( Matrix32 m, float c )
Matrix32 inverse ( )
Matrix32 orthonormalized ( )
Matrix32 rotated ( float phi )
Matrix32 scaled ( Vector2 scale )
Matrix32 translated ( Vector2 offset )
Matrix32 xform ( var v )
Matrix32 xform_inv ( var v )

Member Variables

Description

3x2 Matrix for 2D transforms.

Member Function Description

Matrix32 Matrix32 ( Transform from )

Matrix32 Matrix32 ( Vector2 x_axis, Vector2 y_axis, Vector2 origin )

Matrix32 Matrix32 ( float rot, Vector2 pos )

Matrix32 affine_inverse ( )

Matrix32 basis_xform ( var v )

Matrix32 basis_xform_inv ( var v )

Vector2 get_origin ( )

float get_rotation ( )

Vector2 get_scale ( )

Matrix32 interpolate_with ( Matrix32 m, float c )

Matrix32 inverse ( )

Matrix32 orthonormalized ( )

Matrix32 rotated ( float phi )

Matrix32 scaled ( Vector2 scale )

Matrix32 translated ( Vector2 offset )

Matrix32 xform ( var v )

Matrix32 xform_inv ( var v )

© 2014–2017 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/2.1/classes/class_matrix32.html