Node Utility Funcs

class lwsdk.LWNodeUtilityFuncs(*args)

Bases: object

Proxy of C++ PCore::LWNodeUtilityFuncs class

 Blend(LWDVector bg, LWDVector fg, double alpha, BlendingMode mode) → result[3]

Blend two nodes using the indicated blending mode, input includes foreground, background and alpha.

 BuildCameraMatrix(LWTime in_time, LWItemID cameraID)

Build the transformation matrix for front projection mapping to use.

 CubicMapping(LWDVector tPos, int axis) → (u, v)

Convenience functions for handling various mapping types. Returns the the texture coordinates.

 CylindricalMapping(LWDVector tPos, int axis) → (u, v)

Convenience functions for handling various mapping types. Returns the the texture coordinates.

 FrontMapping(LWDVector tPos, double pixelAspect) → (u, v, matrix[16])

Convenience functions for handling various mapping types. Returns the the texture coordinates.

 NodeAutosize(NodeID nodeID) → (scale[3], position[3])

Returns scale and position vectors filled with the automatic values.

 PlanarMapping(LWDVector tPos, int axis) → (u, v)

Convenience functions for handling various mapping types. Returns the the texture coordinates.

 ReflectionMapping(double seamAngle, LWDVector direction) → (u, v)

Convenience functions for handling various mapping types. Returns the the texture coordinates.

 SphericalMapping(LWDVector tPos, int axis) → (u, v)

Convenience functions for handling various mapping types. Returns the the texture coordinates.

 UVMapping(char UVMapName, LWNodalAccess access) → (u, v)

Convenience functions for handling various mapping types. Returns the the texture coordinates.

Previous topic

Node Funcs

Next topic

List Info

This Page