Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Functions
extensions::MouseWatcherRegion-extensions Namespace Reference

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 Enumerations Enumerator Properties