|
Panda3D
|
Functions | |
| def | setRelative |
| 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.
1.7.3