Fundamental OpenGL rigid entity.
|
__init__(self,
**args)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
gldl_update_cb(self,
updates,
actions)
Properties update callback. |
source code
|
|
|
gldl_redraw(self)
Triggers a redraw of the GLViewer |
source code
|
|
|
gldl_get_glviewer(self)
Returns the root GLViewer object. |
source code
|
|
|
gldl_property_color_rgbf(self,
prop_name)
Returns the property value as a RGBF triplet. |
source code
|
|
|
gldl_install_draw_methods(self)
Override in children to install draw methods for a GLDrawList. |
source code
|
|
|
|
|
gldl_draw_method_get(self,
draw_method_name)
Returns the draw metod of the given name or None if not found. |
source code
|
|
|
gldl_draw_method_compile(self,
draw_method)
Compiles a draw method. |
source code
|
|
|
gldl_draw_method_delete_compiled(self,
draw_method)
Deletes the compiled draw list in the current driver. |
source code
|
|
|
gldl_draw_method_delete_compiled_all_drivers(self) |
source code
|
|
|
gldl_push_matrix(self)
Rotate and translate to the correct position for drawing. |
source code
|
|
|
gldl_pop_matrix(self)
Pop the roatated/translated position. |
source code
|
|
|
gldl_render(self,
driver,
transparent=False)
Compile or force a recompile of this object's gl_draw list, and
render the scene. |
source code
|
|
|
gldl_render_draw_methods(self,
transparent)
Render all draw methods. |
source code
|
|
|
gldl_iter_multidraw_all(self)
When implemented as a iterator in a subclass, each time yield is
invoked the GLDrawList and all its decendants will be rendered from
whatever OpenGL coordinate system is set in the iterator. |
source code
|
|
|
|
|
gldl_draw(self)
Implement in subclass to draw somthing. |
source code
|
|
|
gldl_draw_transparent(self)
Implement in subclass to draw transparent objects. |
source code
|
|
Inherited from GLObject :
glo_add_child ,
glo_add_property ,
glo_add_update_callback ,
glo_append_child ,
glo_count_descendants ,
glo_get_child ,
glo_get_child_path ,
glo_get_degree ,
glo_get_depth ,
glo_get_glstructure ,
glo_get_index_path ,
glo_get_lowest_common_ancestor ,
glo_get_parent ,
glo_get_parent_list ,
glo_get_path ,
glo_get_properties_id ,
glo_get_property_desc ,
glo_get_root ,
glo_init_properties ,
glo_is_descendant_of ,
glo_iter_children ,
glo_iter_preorder_traversal ,
glo_iter_property_desc ,
glo_link_child_property ,
glo_name ,
glo_prepend_child ,
glo_remove_update_callback ,
glo_set_name ,
glo_set_properties_id ,
glo_update_properties ,
glo_update_properties_path
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|