Class: Matrix4x4f
Functions
| Name | Description |
|---|---|
.lookAt(eye,center,up) | |
.new() | Constructs an emptry matrix with zero values |
.new(value) | Constructs a matrix from Matrix3x3f |
.newIdentity() | Constructs an identity matrix |
Methods
| Name | Description |
|---|---|
:__add(value) | |
:__div(value) | |
:__index(index) | |
:__mul(value) | |
:__sub(value) | |
:determinant() | |
:inverse() | |
:position() | |
:quatCast() | |
:rotateByAxis(axis,angle) | |
:scale(value) | |
:translate(value) | |
:transpose() |
Function declarations
Function: lookAt
lua
function Matrix4x4f.lookAt(
eye,
center,
up
) endParameters:
Returns:
Function: new
Constructs an emptry matrix with zero values
lua
function Matrix4x4f.new() endReturns:
Function: new
Constructs a matrix from Matrix3x3f
lua
function Matrix4x4f.new(
value
) endParameters:
- value (
any)
Returns:
Function: newIdentity
Constructs an identity matrix
lua
function Matrix4x4f.newIdentity() endReturns:
Method declarations
Method: __add
lua
function Matrix4x4f:__add(
value
) endParameters:
- value (
any)
Returns:
Method: __div
lua
function Matrix4x4f:__div(
value
) endParameters:
- value (
any)
Returns:
Method: __index
lua
function Matrix4x4f:__index(
index
) endParameters:
- index (
integer) - The index of the column to retrieve
Returns:
Method: __mul
lua
function Matrix4x4f:__mul(
value
) endParameters:
- value (
any)
Returns:
Method: __sub
lua
function Matrix4x4f:__sub(
value
) endParameters:
- value (
any)
Returns:
Method: determinant
lua
function Matrix4x4f:determinant() endReturns:
number
Method: inverse
lua
function Matrix4x4f:inverse() endReturns:
Method: position
lua
function Matrix4x4f:position() endReturns:
Method: quatCast
lua
function Matrix4x4f:quatCast() endReturns:
Method: rotateByAxis
lua
function Matrix4x4f:rotateByAxis(
axis,
angle
) endParameters:
- axis (Vector3f)
- angle (
number)
Returns:
Method: scale
lua
function Matrix4x4f:scale(
value
) endParameters:
- value (Vector3f)
Returns:
Method: translate
lua
function Matrix4x4f:translate(
value
) endParameters:
- value (Vector3f)
Returns:
Method: transpose
lua
function Matrix4x4f:transpose() end