editor › Globals › ITransformable
Interface: ITransformable
Implement this interface, so class can be used with {@link Transforms#chain} and {@link Transforms#getMappingBetween}
Hierarchy
- ITransformable
Implemented by
Index
Methods
Methods
getParent
▸ getParent(): ITransformable | null
Defined in src/util/Transforms.ts:27
The parent of the coordinate system (where global points to). The graph connecting all transforms has to be a tree.
Returns: ITransformable | null
parent in next higher space (global) or null if at root space
getTransforms
▸ getTransforms(): IReadOnlyTransforms
Defined in src/util/Transforms.ts:20
Returns: IReadOnlyTransforms
the transform from next higher space (global) to local space