Panda3D
Functions

Package extensions.MouseWatcherRegion-extensions

Functions

def setRelative

Function Documentation

def extensions.MouseWatcherRegion-extensions.setRelative (   self,
  np,
  left,
  right,
  bottom,
  top 
)
setRelation(NodePath np, float left, float right,
               float bottom, float top)

Sets the region to represnt the indicated rectangle, relative
to the given NodePath.  It is assumed that np represents some
node parented within the render2d hierarchy.

 All Classes Namespaces Functions Variables Properties