MODULE v1.8.0

transform

pykraken.transform

Submodule for Transform-related functionality.

Reference

PYTHON API

compose

function
compose(*args) -> Transform

Compose multiple Transform objects in order and return the resulting Transform in world space. The first transform is treated as already in world space; each subsequent transform is local to the previous.

Args

  • *transforms — Two or more Transform objects to compose.

Returns

  • Transform — The composed Transform in world space.
compose_chain(*args) -> list[Transform]

Returns a list of cumulative world-space transforms excluding the initial input.

Args

  • *transforms — Two or more Transform objects to compose.

Returns

list[Transform]: The composed Transforms for inputs 2..N in world space.

Find your next step

Start typing to search the manual.