Kamaelia docs : Kamaelia.UI.OpenGL.Movement.SimpleMover

Kamaelia.UI.OpenGL.Movement.SimpleMover

For examples and more explanations, see the module level docs.


class SimpleMover(Axon.Component.component)

SimpleMover(...) -> A new SimpleMover component.

A simple mover component mostly for testing. Moves OpenGLComponents between the specified borders if connected to their "position" boxes. The amount of movement every frame and the origin can also be specified.

Keyword arguments:

  • amount -- amount of movement every frame sent (default=(0.03,0.03,0.03))
  • borders -- borders of every dimension (default=(5,5,5))
  • origin -- origin of movement (default=(0,0,-20))

Methods defined here

__init__(self[, amount][, borders][, origin])

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Feedback

Got a problem with the documentation? Something unclear that could be clearer? Want to help improve it? Constructive criticism is very welcome - especially if you can suggest a better rewording!

Please leave you feedback here in reply to the documentation thread in the Kamaelia blog.

-- Automatic documentation generator, 19 Oct 2008 at 14:29:09 UTC/GMT

This is a page from the Kamaelia website. You can find the original here: