transform
pykraken.transform Submodule for Transform-related functionality.
At a glance
2 membersReference
PYTHON APIcompose
functioncompose(*args) -> TransformCompose 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
functioncompose_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.