nuke.nukemath.Matrix4

class nuke.nukemath.Matrix4(*args, **kwargs)

Bases: pybind11_object

Overloaded function.

  1. __init__(self: _nukemath.Matrix4) -> None

  2. __init__(self: _nukemath.Matrix4, arg0: _nukemath.Matrix4) -> None

Methods

determinant

determinant(self: _nukemath.Matrix4) -> float

identity

identity() -> _nukemath.Matrix4

inverse

inverse(self: _nukemath.Matrix4) -> _nukemath.Matrix4

makeIdentity

makeIdentity(self: _nukemath.Matrix4) -> None

mapQuadToUnitSquare

mapQuadToUnitSquare(self: _nukemath.Matrix4, arg0: typing.SupportsFloat, arg1: typing.SupportsFloat, arg2: typing.SupportsFloat, arg3: typing.SupportsFloat, arg4: typing.SupportsFloat, arg5: typing.SupportsFloat, arg6: typing.SupportsFloat, arg7: typing.SupportsFloat) -> None

mapUnitSquareToQuad

mapUnitSquareToQuad(self: _nukemath.Matrix4, arg0: typing.SupportsFloat, arg1: typing.SupportsFloat, arg2: typing.SupportsFloat, arg3: typing.SupportsFloat, arg4: typing.SupportsFloat, arg5: typing.SupportsFloat, arg6: typing.SupportsFloat, arg7: typing.SupportsFloat) -> None

ntransform

ntransform(self: _nukemath.Matrix4, arg0: _nukemath.Vector3) -> _nukemath.Vector3

projection

projection(self: _nukemath.Matrix4, arg0: typing.SupportsFloat, arg1: typing.SupportsFloat, arg2: typing.SupportsFloat, arg3: bool) -> None

rotate

rotate(*args, **kwargs) Overloaded function.

rotateX

rotateX(self: _nukemath.Matrix4, arg0: typing.SupportsFloat) -> None

rotateY

rotateY(self: _nukemath.Matrix4, arg0: typing.SupportsFloat) -> None

rotateZ

rotateZ(self: _nukemath.Matrix4, arg0: typing.SupportsFloat) -> None

rotation

rotation(*args, **kwargs) Overloaded function.

rotationOnly

rotationOnly(self: _nukemath.Matrix4) -> None

rotationX

rotationX(self: _nukemath.Matrix4, arg0: typing.SupportsFloat) -> None

rotationY

rotationY(self: _nukemath.Matrix4, arg0: typing.SupportsFloat) -> None

rotationZ

rotationZ(self: _nukemath.Matrix4, arg0: typing.SupportsFloat) -> None

rotationsXYZ

rotationsXYZ(self: _nukemath.Matrix4) -> tuple

rotationsXZY

rotationsXZY(self: _nukemath.Matrix4) -> tuple

rotationsYXZ

rotationsYXZ(self: _nukemath.Matrix4) -> tuple

rotationsYZX

rotationsYZX(self: _nukemath.Matrix4) -> tuple

rotationsZXY

rotationsZXY(self: _nukemath.Matrix4) -> tuple

rotationsZYX

rotationsZYX(self: _nukemath.Matrix4) -> tuple

scale

scale(*args, **kwargs) Overloaded function.

scaleAndRotationOnly

scaleAndRotationOnly(self: _nukemath.Matrix4) -> None

scaleOnly

scaleOnly(self: _nukemath.Matrix4) -> None

scaling

scaling(*args, **kwargs) Overloaded function.

skew

skew(self: _nukemath.Matrix4, arg0: typing.SupportsFloat) -> None

skewXY

skewXY(self: _nukemath.Matrix4, arg0: typing.SupportsFloat, arg1: typing.SupportsFloat) -> None

transform

transform(*args, **kwargs) Overloaded function.

translate

translate(*args, **kwargs) Overloaded function.

translation

translation(*args, **kwargs) Overloaded function.

translationOnly

translationOnly(self: _nukemath.Matrix4) -> None

transpose

transpose(self: _nukemath.Matrix4) -> None

vtransform

vtransform(self: _nukemath.Matrix4, arg0: _nukemath.Vector3) -> _nukemath.Vector3

xAxis

xAxis(self: _nukemath.Matrix4) -> _nukemath.Vector3

yAxis

yAxis(self: _nukemath.Matrix4) -> _nukemath.Vector3

zAxis

zAxis(self: _nukemath.Matrix4) -> _nukemath.Vector3

__add__(self: _nukemath.Matrix4, arg0: _nukemath.Matrix4) _nukemath.Matrix4
__mul__(*args, **kwargs)

Overloaded function.

  1. __mul__(self: _nukemath.Matrix4, arg0: typing.SupportsFloat) -> _nukemath.Matrix4

  2. __mul__(self: _nukemath.Matrix4, arg0: _nukemath.Vector4) -> _nukemath.Vector4

  3. __mul__(self: _nukemath.Matrix4, arg0: _nukemath.Matrix4) -> _nukemath.Matrix4

determinant(self: _nukemath.Matrix4) float
identity() _nukemath.Matrix4
inverse(self: _nukemath.Matrix4) _nukemath.Matrix4
makeIdentity(self: _nukemath.Matrix4) None
mapQuadToUnitSquare(self: _nukemath.Matrix4, arg0: SupportsFloat, arg1: SupportsFloat, arg2: SupportsFloat, arg3: SupportsFloat, arg4: SupportsFloat, arg5: SupportsFloat, arg6: SupportsFloat, arg7: SupportsFloat) None
mapUnitSquareToQuad(self: _nukemath.Matrix4, arg0: SupportsFloat, arg1: SupportsFloat, arg2: SupportsFloat, arg3: SupportsFloat, arg4: SupportsFloat, arg5: SupportsFloat, arg6: SupportsFloat, arg7: SupportsFloat) None
ntransform(self: _nukemath.Matrix4, arg0: _nukemath.Vector3) _nukemath.Vector3
projection(self: _nukemath.Matrix4, arg0: SupportsFloat, arg1: SupportsFloat, arg2: SupportsFloat, arg3: bool) None
rotate(*args, **kwargs)

Overloaded function.

  1. rotate(self: _nukemath.Matrix4, arg0: typing.SupportsFloat, arg1: typing.SupportsFloat, arg2: typing.SupportsFloat, arg3: typing.SupportsFloat) -> None

  2. rotate(self: _nukemath.Matrix4, arg0: typing.SupportsFloat, arg1: _nukemath.Vector3) -> None

rotateX(self: _nukemath.Matrix4, arg0: SupportsFloat) None
rotateY(self: _nukemath.Matrix4, arg0: SupportsFloat) None
rotateZ(self: _nukemath.Matrix4, arg0: SupportsFloat) None
rotation(*args, **kwargs)

Overloaded function.

  1. rotation(self: _nukemath.Matrix4, arg0: typing.SupportsFloat, arg1: typing.SupportsFloat, arg2: typing.SupportsFloat, arg3: typing.SupportsFloat) -> None

  2. rotation(self: _nukemath.Matrix4, arg0: typing.SupportsFloat, arg1: _nukemath.Vector3) -> None

rotationOnly(self: _nukemath.Matrix4) None
rotationX(self: _nukemath.Matrix4, arg0: SupportsFloat) None
rotationY(self: _nukemath.Matrix4, arg0: SupportsFloat) None
rotationZ(self: _nukemath.Matrix4, arg0: SupportsFloat) None
rotationsXYZ(self: _nukemath.Matrix4) tuple
rotationsXZY(self: _nukemath.Matrix4) tuple
rotationsYXZ(self: _nukemath.Matrix4) tuple
rotationsYZX(self: _nukemath.Matrix4) tuple
rotationsZXY(self: _nukemath.Matrix4) tuple
rotationsZYX(self: _nukemath.Matrix4) tuple
scale(*args, **kwargs)

Overloaded function.

  1. scale(self: _nukemath.Matrix4, arg0: typing.SupportsFloat) -> None

  2. scale(self: _nukemath.Matrix4, arg0: typing.SupportsFloat, arg1: typing.SupportsFloat, arg2: typing.SupportsFloat) -> None

scaleAndRotationOnly(self: _nukemath.Matrix4) None
scaleOnly(self: _nukemath.Matrix4) None
scaling(*args, **kwargs)

Overloaded function.

  1. scaling(self: _nukemath.Matrix4, arg0: typing.SupportsFloat) -> None

  2. scaling(self: _nukemath.Matrix4, arg0: typing.SupportsFloat, arg1: typing.SupportsFloat, arg2: typing.SupportsFloat) -> None

  3. scaling(self: _nukemath.Matrix4, arg0: _nukemath.Vector3) -> None

skew(self: _nukemath.Matrix4, arg0: SupportsFloat) None
skewXY(self: _nukemath.Matrix4, arg0: SupportsFloat, arg1: SupportsFloat) None
transform(*args, **kwargs)

Overloaded function.

  1. transform(self: _nukemath.Matrix4, arg0: _nukemath.Vector4) -> _nukemath.Vector4

  2. transform(self: _nukemath.Matrix4, arg0: _nukemath.Vector3) -> _nukemath.Vector3

translate(*args, **kwargs)

Overloaded function.

  1. translate(self: _nukemath.Matrix4, arg0: typing.SupportsFloat, arg1: typing.SupportsFloat, arg2: typing.SupportsFloat) -> None

  2. translate(self: _nukemath.Matrix4, arg0: _nukemath.Vector3) -> None

translation(*args, **kwargs)

Overloaded function.

  1. translation(self: _nukemath.Matrix4) -> tuple

  2. translation(self: _nukemath.Matrix4, arg0: typing.SupportsFloat, arg1: typing.SupportsFloat, arg2: typing.SupportsFloat) -> None

  3. translation(self: _nukemath.Matrix4, arg0: _nukemath.Vector3) -> None

translationOnly(self: _nukemath.Matrix4) None
transpose(self: _nukemath.Matrix4) None
vtransform(self: _nukemath.Matrix4, arg0: _nukemath.Vector3) _nukemath.Vector3
xAxis(self: _nukemath.Matrix4) _nukemath.Vector3
yAxis(self: _nukemath.Matrix4) _nukemath.Vector3
zAxis(self: _nukemath.Matrix4) _nukemath.Vector3