from tdw.container_data.cylinder_container import CylinderContainer
A cylindrical container shape.
-
radius
The radius of the cylinder. -
height
The height of the cylinder. -
rotation
The rotation of the cylinder relative to the parent object in Euler angles. -
tag
The collider's semanticContainerTag
. -
position
The position of the shape relative to the parent object.
CylinderContainer(tag, position, radius, height, rotation)
Parameter | Type | Default | Description |
---|---|---|---|
tag | ContainerTag | The cylinder's semantic ContainerTag . |
|
position | Dict[str, float] | The position of the cylinder relative to the parent object. | |
radius | float | The radius of the cylinder. | |
height | float | The height of the cylinder. | |
rotation | Dict[str, float] | The rotation of the cylinder relative to the parent object in Euler angles. |