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

  1. type string the flag type to set on the object
  2. data any the data to set the flag to

Returns

  1. the generic_shape object, used for tailing methods
add_prop(type, data)Source

another name for add_param

Parameters

  1. type string the flag type to set on the object
  2. data any the data to set the flag to

Returns

  1. the generic_shape object, used for tailing methods
push()Source

adds the geometry to the scene and returns the new scene object

Returns

  1. scene_object the scene_object