paya.runtime.nodes.FourByFourMatrix#

class FourByFourMatrix(*args, **kwargs)#

Inheritance

FourByFourMatrix DependNode DependNode PyNode ProxyUnicode

getAxis(requestedAxis, normalize=False)#

Retrieves, or initialises, a compound ‘proxy’ that will govern all the row fields for the requested axis.

Parameters
  • requestedAxis (str) – one of ‘x’, ‘y’, ‘z’, ‘-x’, ‘-y’, ‘-z’, ‘translate’ or ‘t’

  • normalize/nr (bool) – normalize the extracted vector / point; defaults to False

Returns

The compound attribute, or its normalization / negation.

Return type

Vector

getX(normalize=False)#

Initialises or retrieves the compound ‘proxy’ for the X vector. See getAxis(). Used to implement the x property.

getY(normalize=False)#

Initialises or retrieves the compound ‘proxy’ for the Y vector. See getAxis(). Used to implement the y property.

getZ(normalize=False)#

Initialises or retrieves the compound ‘proxy’ for the Z vector. See getAxis(). Used to implement the z property.

getTranslate(normalize=False)#

Initialises or retrieves the compound ‘proxy’ for the translate row. See getAxis(). Used to implement the translate / t property.