paya.runtime.nodes.Shape#
- class Shape(*args, **kwargs)#
Inheritance
Shape
DagNode
DagNode
Entity
Entity
ContainerBase
ContainerBase
DependNode
DependNode
PyNode
ProxyUnicode
- classmethod createShape(name=None, parent=None, conformShapeName=None, intermediate=False)#
Basic shape constructor.
- Parameters
name/n (str) – the shape name; defaults to a contextual name
parent/p (None, str,
Transform
) – a custom destination parent; defaults to NoneconformShapeName/csn (bool) – ignored if parent was omitted; rename the shape after it is reparented; defaults to True if parent was provided, otherwise False
intermediate/i (bool) – create the shape as an intermediate object; defaults to False
- Returns
The shape node.
- Return type
- toShape()#
- toTransform()#