LinearTransform
Summary
Constructors
Properties
Methods
Operators
Static members
Constructors
LinearTransform
LinearTransform()
LinearTransform
LinearTransform(scale: float)
Parameters
Name |
Type |
Description |
scale |
float |
|
LinearTransform
LinearTransform(left: Vec3, up: Vec3, forward: Vec3, trans: Vec3)
Parameters
LinearTransform
LinearTransform(data: table)
Parameters
Name |
Type |
Description |
data |
table |
|
Properties
left
Vec3
up
Vec3
forward
Vec3
trans
Vec3
Methods
LookAtTransform(camera: Vec3, world: Vec3)
Parameters
Name |
Type |
Description |
camera |
Vec3 |
|
world |
Vec3 |
|
ToQuatTransform(hasScale: bool): QuatTransform
Parameters
Name |
Type |
Description |
hasScale |
bool |
|
Returns
Translate
Translate(trans: Vec3)
Parameters
Name |
Type |
Description |
trans |
Vec3 |
|
Inverse
Inverse(): LinearTransform
Returns
Clone
Clone(): LinearTransform
Returns
Operators
operator+
operator+(rhs: LinearTransform): LinearTransform
Parameters
Returns
operator-
operator-(rhs: LinearTransform): LinearTransform
Parameters
Returns
operator*
operator*(rhs: LinearTransform): LinearTransform
Parameters
Returns
operator*
operator*(rhs: float): LinearTransform
Parameters
Name |
Type |
Description |
rhs |
float |
|
Returns
operator*
operator*(rhs: Vec3): Vec3
Parameters
Name |
Type |
Description |
rhs |
Vec3 |
|
Returns
operator*
operator*(rhs: Vec4): Vec3
Parameters
Name |
Type |
Description |
rhs |
Vec4 |
|
Returns
operator==
operator==(rhs: LinearTransform): bool
Parameters
Returns
Static members
typeInfo
TypeInformation