nuke.nukemath.Matrix4

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

Bases: pybind11_builtins.pybind11_object

Overloaded function.

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

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

Methods

determinant

identity

inverse

makeIdentity

mapQuadToUnitSquare

mapUnitSquareToQuad

ntransform

projection

rotate

Overloaded function.

rotateX

rotateY

rotateZ

rotation

Overloaded function.

rotationOnly

rotationX

rotationY

rotationZ

rotationsXYZ

rotationsXZY

rotationsYXZ

rotationsYZX

rotationsZXY

rotationsZYX

scale

Overloaded function.

scaleAndRotationOnly

scaleOnly

scaling

Overloaded function.

skew

skewXY

transform

Overloaded function.

translate

Overloaded function.

translation

Overloaded function.

translationOnly

transpose

vtransform

xAxis

yAxis

zAxis

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

Overloaded function.

  1. __mul__(self: nukemath.Matrix4, arg0: float) -> 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: float, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float, arg7: float) None
mapUnitSquareToQuad(self: nukemath.Matrix4, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float, arg7: float) None
ntransform(self: nukemath.Matrix4, arg0: nukemath.Vector3) nukemath.Vector3
projection(self: nukemath.Matrix4, arg0: float, arg1: float, arg2: float, arg3: bool) None
rotate(*args, **kwargs)

Overloaded function.

  1. rotate(self: nukemath.Matrix4, arg0: float, arg1: float, arg2: float, arg3: float) -> None

  2. rotate(self: nukemath.Matrix4, arg0: float, arg1: nukemath.Vector3) -> None

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

Overloaded function.

  1. rotation(self: nukemath.Matrix4, arg0: float, arg1: float, arg2: float, arg3: float) -> None

  2. rotation(self: nukemath.Matrix4, arg0: float, arg1: nukemath.Vector3) -> None

rotationOnly(self: nukemath.Matrix4) None
rotationX(self: nukemath.Matrix4, arg0: float) None
rotationY(self: nukemath.Matrix4, arg0: float) None
rotationZ(self: nukemath.Matrix4, arg0: float) 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: float) -> None

  2. scale(self: nukemath.Matrix4, arg0: float, arg1: float, arg2: float) -> None

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

Overloaded function.

  1. scaling(self: nukemath.Matrix4, arg0: float) -> None

  2. scaling(self: nukemath.Matrix4, arg0: float, arg1: float, arg2: float) -> None

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

skew(self: nukemath.Matrix4, arg0: float) None
skewXY(self: nukemath.Matrix4, arg0: float, arg1: float) 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: float, arg1: float, arg2: float) -> 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: float, arg1: float, arg2: float) -> 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