generic_shape
definition of a 3D geometry along with some methods
add_param(type, data) | adds a new flag to the geometry |
---|---|
add_prop(type, data) | another name for add_param |
push() | adds the geometry to the scene and returns the new scene object |
- add_param(type, data)Source
adds a new flag to the geometry
Parameters
- type string the flag type to set on the object
- data any the data to set the flag to
Returns
- the generic_shape object, used for tailing methods
- add_prop(type, data)Source
another name for add_param
Parameters
- type string the flag type to set on the object
- data any the data to set the flag to
Returns
- the generic_shape object, used for tailing methods
- push()Source
adds the geometry to the scene and returns the new scene object
Returns
- scene_object the scene_object