Basis

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

Vector3

x

Vector3(1, 0, 0)

Vector3

y

Vector3(0, 1, 0)

Vector3

z

Vector3(0, 0, 1)

Constructors

Basis

Basis ( )

Basis

Basis ( Basis from )

Basis

Basis ( Vector3 axis, float angle )

Basis

Basis ( Quaternion from )

Basis

Basis ( Vector3 x_axis, Vector3 y_axis, Vector3 z_axis )

Methods

float

determinant ( ) const

Basis

from_euler ( Vector3 euler, int order=2 ) static

Basis

from_scale ( Vector3 scale ) static

Vector3

get_euler ( int order=2 ) const

Quaternion

get_rotation_quaternion ( ) const

Vector3

get_scale ( ) const

Basis

inverse ( ) const

bool

is_conformal ( ) const

bool

is_equal_approx ( Basis b ) const

bool

is_finite ( ) const

Basis

looking_at ( Vector3 target, Vector3 up=Vector3(0, 1, 0), bool use_model_front=false ) static

Basis

orthonormalized ( ) const

Basis

rotated ( Vector3 axis, float angle ) const

Basis

scaled ( Vector3 scale ) const

Basis

slerp ( Basis to, float weight ) const

float

tdotx ( Vector3 with ) const

float

tdoty ( Vector3 with ) const

float

tdotz ( Vector3 with ) const

Basis

transposed ( ) const

Operators

bool

operator != ( Basis right )

Basis

operator * ( Basis right )

Vector3

operator * ( Vector3 right )

Basis

operator * ( float right )

Basis

operator * ( int right )

Basis

operator / ( float right )

Basis

operator / ( int right )

bool

operator == ( Basis right )

Vector3

operator [] ( int index )


Constants

IDENTITY = Basis(1, 0, 0, 0, 1, 0, 0, 0, 1)

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

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

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

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

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

FLIP_Z = Basis(1, 0, 0, 0, 1, 0, 0, 0, -1)

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


Property Descriptions

Vector3 x = Vector3(1, 0, 0)

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


Vector3 y = Vector3(0, 1, 0)

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


Vector3 z = Vector3(0, 0, 1)

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


Constructor Descriptions

Basis Basis ( )

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


Basis Basis ( Basis from )

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


Basis Basis ( Vector3 axis, float angle )

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


Basis Basis ( Quaternion from )

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


Basis Basis ( Vector3 x_axis, Vector3 y_axis, Vector3 z_axis )

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


Method Descriptions

float determinant ( ) const

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


Basis from_euler ( Vector3 euler, int order=2 ) static

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


Basis from_scale ( Vector3 scale ) static

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


Vector3 get_euler ( int order=2 ) const

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


Quaternion get_rotation_quaternion ( ) const

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


Vector3 get_scale ( ) const

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


Basis 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 ( Basis b ) 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!


Basis looking_at ( Vector3 target, Vector3 up=Vector3(0, 1, 0), bool use_model_front=false ) static

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


Basis orthonormalized ( ) const

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


Basis rotated ( Vector3 axis, float angle ) const

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


Basis scaled ( Vector3 scale ) const

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


Basis slerp ( Basis to, float weight ) const

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


float tdotx ( Vector3 with ) const

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


float tdoty ( Vector3 with ) const

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


float tdotz ( Vector3 with ) const

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


Basis transposed ( ) const

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


Operator Descriptions

bool operator != ( Basis right )

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


Basis operator * ( Basis right )

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


Vector3 operator * ( Vector3 right )

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


Basis operator * ( float right )

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


Basis operator * ( int right )

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


Basis operator / ( float right )

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


Basis operator / ( int right )

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


bool operator == ( Basis right )

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


Vector3 operator [] ( int index )

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