|
| __init__ (self, appRunner, parent=None, **kw) |
|
| cleanup (self) |
|
| destroy (self) |
|
| downloadFinished (self, success) |
|
| downloadProgress (self, overallProgress) |
|
| packageProgress (self, package, progress) |
|
| packageStarted (self, package) |
|
| finish (self, N=10) |
|
| getPercent (self) |
|
| setBarBorderWidth (self) |
|
| setBarColor (self) |
|
| setBarRelief (self) |
|
| setBarTexture (self) |
|
| setRange (self) |
|
| setValue (self) |
|
| update (self, value) |
|
| updateBarStyle (self) |
|
| clearGeom (self) |
|
| clearImage (self) |
|
| clearText (self) |
|
| setGeom (self, geom=None) |
|
| setImage (self, image=None) |
|
| setText (self, text=None) |
|
| copyOptions (self, other) |
|
| disableEdit (self) |
|
| editStart (self, event) |
|
| editStop (self, event) |
|
| enableEdit (self) |
|
| frameInitialiseFunc (self) |
|
| getBounds (self, state=0) |
|
| getCenter (self) |
|
| getFrameType (self, state=0) |
|
| getHeight (self) |
|
| getWidth (self) |
|
| guiDragTask (self, state) |
|
| guiScaleTask (self, state) |
|
| printConfig (self, indent=0) |
|
| resetFrameSize (self) |
|
| setBorderUvWidth (self) |
|
| setBorderWidth (self) |
|
| setFrameColor (self) |
|
| setFrameSize (self, fClearFrame=0) |
|
| setFrameTexture (self) |
|
| setFrameVisibleScale (self) |
|
| setProp (self, propString, value) |
|
| setRelief (self, fSetStyle=1) |
|
| setState (self) |
|
| taskName (self, idString) |
|
| uniqueName (self, idString) |
|
| updateFrameStyle (self) |
|
| __setitem__ (self, key, value) |
|
| addoptions (self, optionDefs, optionkeywords) |
|
| bind (self, event, command, extraArgs=[]) |
|
| cget (self, option) |
|
| component (self, name) |
|
| components (self) |
|
| configure (self, option=None, **kw) |
|
| createcomponent (self, componentName, componentAliases, componentGroup, widgetClass, *widgetArgs, **kw) |
|
| defineoptions (self, keywords, optionDefs, dynamicGroups=()) |
|
| destroycomponent (self, name) |
|
| hascomponent (self, component) |
|
| initialiseoptions (self, myClass) |
|
| isinitoption (self, option) |
|
| options (self) |
|
| postInitialiseFunc (self) |
|
| unbind (self, event) |
|
Public Member Functions inherited from NodePath |
NodePath | __copy__ () |
|
object | __deepcopy__ (object memo) |
|
| __init__ () |
| This constructs an empty NodePath with no nodes.
|
|
| __init__ (const NodePath copy) |
|
| __init__ (const NodePath parent, PandaNode child_node, Thread current_thread) |
| Constructs a NodePath with the indicated parent NodePath and child node; the child node must be a stashed or unstashed child of the parent.
|
|
| __init__ (PandaNode node, Thread current_thread) |
| This constructs a NodePath for the indicated node.
|
|
| __init__ (str top_node_name, Thread current_thread) |
| This constructs a new NodePath with a single node.
|
|
object | __reduce__ () |
|
object | __reduce_persist__ (object pickler) |
|
int | __traverse__ (Visitproc visit, void arg) |
|
int | addHash (int hash) |
| Adds the NodePath into the running hash.
|
|
| adjustAllPriorities (int adjustment) |
| Adds the indicated adjustment amount (which may be negative) to the priority for all transitions on the referenced node, and for all nodes in the subgraph below.
|
|
| applyTextureColors () |
| Removes textures from Geoms at this node and below by applying the texture colors to the vertices.
|
|
NodePath | attachNewNode (PandaNode node, int sort, Thread current_thread) |
| Attaches a new node, with or without existing parents, to the scene graph below the referenced node of this NodePath.
|
|
NodePath | attachNewNode (str name, int sort, Thread current_thread) |
| Creates an ordinary PandaNode and attaches it below the current NodePath, returning a new NodePath that references it.
|
|
bool | calcTightBounds (LPoint3 min_point, LPoint3 max_point, const NodePath other, Thread current_thread) |
| Calculates the minimum and maximum vertices of all Geoms at this NodePath's bottom node and below.
|
|
| clear () |
| Sets this NodePath to the empty NodePath.
|
|
| clearAntialias () |
| Completely removes any antialias setting that may have been set on this node via set_antialias().
|
|
| clearAttrib (TypeHandle type) |
| Removes the render attribute of the given type from this node.
|
|
| clearAudioVolume () |
| Completely removes any audio volume from the referenced node.
|
|
| clearBillboard () |
| Removes any billboard effect from the node.
|
|
| clearBin () |
| Completely removes any bin adjustment that may have been set via set_bin() from this particular node.
|
|
| clearClipPlane () |
| Completely removes any clip planes that may have been set via set_clip_plane() or set_clip_plane_off() from this particular node.
|
|
| clearClipPlane (const NodePath clip_plane) |
| Removes any reference to the indicated clipping plane from the NodePath.
|
|
| clearColor () |
| Completely removes any color adjustment from the node.
|
|
| clearColorScale () |
| Completely removes any color scale from the referenced node.
|
|
| clearCompass () |
| Removes any compass effect from the node.
|
|
| clearDepthOffset () |
| Completely removes any depth-offset adjustment that may have been set on this node via set_depth_offset().
|
|
| clearDepthTest () |
| Completely removes any depth-test adjustment that may have been set on this node via set_depth_test().
|
|
| clearDepthWrite () |
| Completely removes any depth-write adjustment that may have been set on this node via set_depth_write().
|
|
| clearEffect (TypeHandle type) |
| Removes the render effect of the given type from this node.
|
|
| clearEffects () |
| Resets this node to have no render effects.
|
|
| clearFog () |
| Completely removes any fog adjustment that may have been set via set_fog() or set_fog_off() from this particular node.
|
|
| clearLight () |
| Completely removes any lighting operations that may have been set via set_light() or set_light_off() from this particular node.
|
|
| clearLight (const NodePath light) |
| Removes any reference to the indicated Light or PolylightNode from the NodePath.
|
|
| clearLogicOp () |
| Completely removes any logical operation that may have been set on this node via set_logic_op().
|
|
| clearMat () |
| Completely removes any transform from the referenced node.
|
|
| clearMaterial () |
| Completely removes any material adjustment that may have been set via set_material() from this particular node.
|
|
int | clearModelNodes () |
| Recursively walks through the scene graph at this level and below, looking for ModelNodes, and calls model_node->set_preserve_transform(PT_drop_node) on each one.
|
|
| clearOccluder () |
| Completely removes any occluders that may have been set via set_occluder() from this particular node.
|
|
| clearOccluder (const NodePath occluder) |
| Removes any reference to the indicated occluder from the NodePath.
|
|
| clearProjectTexture (TextureStage stage) |
| Undoes the effect of project_texture().
|
|
| clearPythonTag (object keys) |
|
| clearRenderMode () |
| Completely removes any render mode adjustment that may have been set on this node via set_render_mode_wireframe() or set_render_mode_filled().
|
|
| clearScissor () |
| Removes the scissor region that was defined at this node level by a previous call to set_scissor().
|
|
| clearShader () |
|
| clearShaderInput (const InternalName id) |
|
| clearTag (str key) |
| Removes the value defined for this key on this particular node.
|
|
| clearTexGen () |
| Removes the texture coordinate generation mode from all texture stages on this node.
|
|
| clearTexGen (TextureStage stage) |
| Disables automatic texture coordinate generation for the indicated texture stage.
|
|
| clearTexProjector () |
| Removes the TexProjectorEffect for all stages from this node.
|
|
| clearTexProjector (TextureStage stage) |
| Removes the TexProjectorEffect for the indicated stage from this node.
|
|
| clearTexTransform () |
| Removes all texture matrices from the current node.
|
|
| clearTexTransform (TextureStage stage) |
| Removes the texture matrix on the current node for the given stage.
|
|
| clearTexture () |
| Completely removes any texture adjustment that may have been set via set_texture() or set_texture_off() from this particular node.
|
|
| clearTexture (TextureStage stage) |
| Removes any reference to the indicated texture stage from the NodePath.
|
|
| clearTransform (const NodePath other, Thread current_thread) |
| Sets the transform object on this node to identity, relative to the other node.
|
|
| clearTransform (Thread current_thread) |
| Sets the transform object on this node to identity.
|
|
| clearTransparency () |
| Completely removes any transparency adjustment that may have been set on this node via set_transparency().
|
|
| clearTwoSided () |
| Completely removes any two-sided adjustment that may have been set on this node via set_two_sided().
|
|
int | compareTo (const NodePath other) |
| Returns a number less than zero if this NodePath sorts before the other one, greater than zero if it sorts after, or zero if they are equivalent.
|
|
int | compareTo (const WeakNodePath other) |
| Returns a number less than zero if this NodePath sorts before the other one, greater than zero if it sorts after, or zero if they are equivalent.
|
|
| composeColorScale (const LVecBase4 scale, int priority) |
| multiplies the color scale component of the transform, with previous color scale leaving translation and rotation untouched.
|
|
| composeColorScale (float sx, float sy, float sz, float sa, int priority) |
| Sets the color scale component of the transform.
|
|
NodePath | copyTo (const NodePath other, int sort, Thread current_thread) |
| Functions like instance_to(), except a deep copy is made of the referenced node and all of its descendents, which is then parented to the indicated node.
|
|
int | countNumDescendants () |
| Returns the number of nodes at and below this level.
|
|
| detachNode (Thread current_thread) |
| Disconnects the referenced node from its parent, but does not immediately delete it.
|
|
| doBillboardAxis (const NodePath camera, float offset) |
| Performs a billboard-type rotate to the indicated camera node, one time only, and leaves the object rotated.
|
|
| doBillboardPointEye (const NodePath camera, float offset) |
| Performs a billboard-type rotate to the indicated camera node, one time only, and leaves the object rotated.
|
|
| doBillboardPointWorld (const NodePath camera, float offset) |
| Performs a billboard-type rotate to the indicated camera node, one time only, and leaves the object rotated.
|
|
VectorUchar | encodeToBamStream () |
| Converts the NodePath object into a single stream of data using a BamWriter, and returns that data as a string string.
|
|
bool | encodeToBamStream (VectorUchar data, BamWriter writer) |
| Converts the NodePath object into a single stream of data using a BamWriter, and stores that data in the indicated string.
|
|
NodePath | find (str path) |
| Searches for a node below the referenced node that matches the indicated string.
|
|
NodePathCollection | findAllMatches (str path) |
| Returns the complete set of all NodePaths that begin with this NodePath and can be extended by path.
|
|
MaterialCollection | findAllMaterials () |
| Returns a list of a materials applied to geometry at this node and below.
|
|
MaterialCollection | findAllMaterials (str name) |
| Returns a list of a materials applied to geometry at this node and below that match the indicated name (which may contain wildcard characters).
|
|
NodePathCollection | findAllPathsTo (PandaNode node) |
| Returns the set of all NodePaths that extend from this NodePath down to the indicated node.
|
|
InternalNameCollection | findAllTexcoords () |
| Returns a list of all texture coordinate sets used by any geometry at this node level and below.
|
|
InternalNameCollection | findAllTexcoords (str name) |
| Returns a list of all texture coordinate sets used by any geometry at this node level and below that match the indicated name (which may contain wildcard characters).
|
|
TextureCollection | findAllTextures () |
| Returns a list of a textures applied to geometry at this node and below.
|
|
TextureCollection | findAllTextures (str name) |
| Returns a list of a textures applied to geometry at this node and below that match the indicated name (which may contain wildcard characters).
|
|
TextureCollection | findAllTextures (TextureStage stage) |
| Returns a list of a textures on geometry at this node and below that are assigned to the indicated texture stage.
|
|
TextureStageCollection | findAllTextureStages () |
| Returns a list of a TextureStages applied to geometry at this node and below.
|
|
TextureStageCollection | findAllTextureStages (str name) |
| Returns a list of a TextureStages applied to geometry at this node and below that match the indicated name (which may contain wildcard characters).
|
|
InternalNameCollection | findAllVertexColumns () |
| Returns a list of all vertex array columns stored on some geometry found at this node level and below.
|
|
InternalNameCollection | findAllVertexColumns (str name) |
| Returns a list of all vertex array columns stored on some geometry found at this node level and below that match the indicated name (which may contain wildcard characters).
|
|
Material | findMaterial (str name) |
| Returns the first material found applied to geometry at this node or below that matches the indicated name (which may contain wildcards).
|
|
NodePath | findNetPythonTag (object keys) |
|
NodePath | findNetTag (str key) |
| Returns the lowest ancestor of this node that contains a tag definition with the indicated key, if any, or an empty NodePath if no ancestor of this node contains this tag definition.
|
|
NodePath | findPathTo (PandaNode node) |
| Searches for the indicated node below this node and returns the shortest NodePath that connects them.
|
|
Texture | findTexture (str name) |
| Returns the first texture found applied to geometry at this node or below that matches the indicated name (which may contain wildcards).
|
|
Texture | findTexture (TextureStage stage) |
| Returns the first texture found applied to geometry at this node or below that is assigned to the indicated texture stage.
|
|
TextureStage | findTextureStage (str name) |
| Returns the first TextureStage found applied to geometry at this node or below that matches the indicated name (which may contain wildcards).
|
|
int | flattenLight () |
| Lightly flattens out the hierarchy below this node by applying transforms, colors, and texture matrices from the nodes onto the vertices, but does not remove any nodes.
|
|
int | flattenMedium () |
| A more thorough flattening than flatten_light(), this first applies all the transforms, colors, and texture matrices from the nodes onto the vertices, and then removes unneeded grouping nodes–nodes that have exactly one child, for instance, but have no special properties in themselves.
|
|
int | flattenStrong () |
| The strongest possible flattening.
|
|
| forceRecomputeBounds () |
| Forces the recomputing of all the bounding volumes at every node in the subgraph beginning at this node and below.
|
|
NodePath | getAncestor (int index, Thread current_thread) |
| Returns the nth ancestor of the path, where 0 is the NodePath itself and get_num_nodes() - 1 is get_top().
|
|
list | getAncestors () |
|
unsigned short int | getAntialias () |
| Returns the antialias setting that has been specifically set on this node via set_antialias(), or M_none if no setting has been made.
|
|
const RenderAttrib | getAttrib (TypeHandle type) |
| Returns the render attribute of the indicated type, if it is defined on the node, or NULL if it is not.
|
|
float | getAudioVolume () |
| Returns the complete audio volume that has been applied to this node via a previous call to set_audio_volume(), or 1.
|
|
int | getBinDrawOrder () |
| Returns the drawing order associated with the bin that this particular node was assigned to via set_bin(), or 0 if no bin was assigned.
|
|
str | getBinName () |
| Returns the name of the bin that this particular node was assigned to via set_bin(), or the empty string if no bin was assigned.
|
|
BoundingVolume | getBounds (Thread current_thread) |
| Returns a newly-allocated bounding volume containing the bottom node and all of its descendants.
|
|
NodePath | getChild (int n, Thread current_thread) |
| Returns a NodePath representing the nth child of the referenced node.
|
|
NodePathCollection | getChildren (Thread current_thread) |
| Returns the set of all child nodes of the referenced node.
|
|
CollideMask | getCollideMask () |
| Returns the union of all of the into_collide_masks for nodes at this level and below.
|
|
LColor | getColor () |
| Returns the color that has been assigned to the node, or black if no color has been assigned.
|
|
const LVecBase4 | getColorScale () |
| Returns the complete color scale vector that has been applied to this node via a previous call to set_color_scale() and/or set_alpha_scale(), or all 1's (identity) if no scale has been applied to this particular node.
|
|
NodePath | getCommonAncestor (const NodePath other, Thread current_thread) |
| Returns the lowest NodePath that both of these two NodePaths have in common: the first ancestor that both of them share.
|
|
int | getDepthOffset () |
| Returns the depth offset value if it has been specified using set_depth_offset, or 0 if not.
|
|
bool | getDepthTest () |
| Returns true if depth-test rendering has been specifically set on this node via set_depth_test(), or false if depth-test rendering has been specifically disabled.
|
|
bool | getDepthWrite () |
| Returns true if depth-write rendering has been specifically set on this node via set_depth_write(), or false if depth-write rendering has been specifically disabled.
|
|
float | getDistance (const NodePath other) |
| Returns the straight-line distance between this referenced node's coordinate frame's origin, and that of the other node's origin.
|
|
const RenderEffect | getEffect (TypeHandle type) |
| Returns the render effect of the indicated type, if it is defined on the node, or NULL if it is not.
|
|
const RenderEffects | getEffects () |
| Returns the complete RenderEffects that will be applied to this node.
|
|
NodePath::ErrorType | getErrorType () |
| If is_empty() is true, this returns a code that represents the reason why the NodePath is empty.
|
|
Fog | getFog () |
| Returns the fog that has been set on this particular node, or NULL if no fog has been set.
|
|
float | getH () |
|
float | getH (const NodePath other) |
|
NodePath | getHiddenAncestor (DrawMask camera_mask, Thread current_thread) |
| Returns the NodePath at or above the referenced node that is hidden to the indicated camera(s), or an empty NodePath if no ancestor of the referenced node is hidden (and the node should be visible).
|
|
LVecBase3 | getHpr () |
| Retrieves the rotation component of the transform.
|
|
LVecBase3 | getHpr (const NodePath other) |
| Returns the relative orientation of the bottom node as seen from the other node.
|
|
int | getInstanceCount () |
| Returns the geometry instance count, or 0 if disabled.
|
|
int | getKey () |
| Returns an integer that is guaranteed to be the same for all NodePaths that represent the same node instance, and different for all NodePaths that represent a different node instance.
|
|
LogicOpAttrib::Operation | getLogicOp () |
| Returns the logical operation that has been specifically set on this node via set_logic_op(), or O_none if standard color blending has been specifically set, or if nothing has been specifically set.
|
|
const LMatrix4 | getMat () |
| Returns the transform matrix that has been applied to the referenced node, or the identity matrix if no matrix has been applied.
|
|
LMatrix4 | getMat (const NodePath other) |
| Returns the matrix that describes the coordinate space of the bottom node, relative to the other path's bottom node's coordinate space.
|
|
Material | getMaterial () |
| Returns the material that has been set on this particular node, or NULL if no material has been set.
|
|
str | getName () |
| Returns the name of the referenced node.
|
|
float | getNetAudioVolume () |
| Returns the complete audio volume for this node taking highers nodes in the graph into account.
|
|
const TransformState | getNetPrevTransform (Thread current_thread) |
| Returns the net "previous" transform on this node from the root.
|
|
object | getNetPythonTag (object keys) |
|
const RenderState | getNetState (Thread current_thread) |
| Returns the net state on this node from the root.
|
|
str | getNetTag (str key) |
| Returns the tag value that has been defined on this node, or the nearest ancestor node, for the indicated key.
|
|
const TransformState | getNetTransform (Thread current_thread) |
| Returns the net transform on this node from the root.
|
|
PandaNode | getNode (int index, Thread current_thread) |
| Returns the nth node of the path, where 0 is the referenced (bottom) node and get_num_nodes() - 1 is the top node.
|
|
list | getNodes () |
|
int | getNumChildren (Thread current_thread) |
| Returns the number of children of the referenced node.
|
|
int | getNumNodes (Thread current_thread) |
| Returns the number of nodes in the path.
|
|
float | getP () |
|
float | getP (const NodePath other) |
|
NodePath | getParent (Thread current_thread) |
| Returns the NodePath to the parent of the referenced node: that is, this NodePath, shortened by one node.
|
|
LPoint3 | getPos () |
| Retrieves the translation component of the transform.
|
|
LPoint3 | getPos (const NodePath other) |
| Returns the relative position of the referenced node as seen from the other node.
|
|
LVector3 | getPosDelta () |
| Returns the delta vector from this node's position in the previous frame (according to set_prev_transform(), typically set via the use of set_fluid_pos()) and its position in the current frame.
|
|
LVector3 | getPosDelta (const NodePath other) |
| Returns the delta vector from this node's position in the previous frame (according to set_prev_transform(), typically set via the use of set_fluid_pos()) and its position in the current frame, as seen in the indicated node's coordinate space.
|
|
const TransformState | getPrevTransform (const NodePath other, Thread current_thread) |
| Returns the relative "previous" transform to this node from the other node; i.e.
|
|
const TransformState | getPrevTransform (Thread current_thread) |
| Returns the transform that has been set as this node's "previous" position.
|
|
object | getPythonTag (object keys) |
|
object | getPythonTagKeys () |
|
object | getPythonTags () |
|
LQuaternion | getQuat () |
| Retrieves the rotation component of the transform.
|
|
LQuaternion | getQuat (const NodePath other) |
| Returns the relative orientation of the bottom node as seen from the other node.
|
|
float | getR () |
|
float | getR (const NodePath other) |
|
LPoint3 | getRelativePoint (const NodePath other, const LVecBase3 point) |
| Given that the indicated point is in the coordinate system of the other node, returns the same point in this node's coordinate system.
|
|
LVector3 | getRelativeVector (const NodePath other, const LVecBase3 vec) |
| Given that the indicated vector is in the coordinate system of the other node, returns the same vector in this node's coordinate system.
|
|
RenderModeAttrib::Mode | getRenderMode () |
| Returns the render mode that has been specifically set on this node via set_render_mode(), or M_unchanged if nothing has been set.
|
|
bool | getRenderModePerspective () |
| Returns the flag that has been set on this node via set_render_mode_perspective(), or false if no flag has been set.
|
|
float | getRenderModeThickness () |
| Returns the render mode thickness that has been specifically set on this node via set_render_mode(), or 1.0 if nothing has been set.
|
|
float | getSa () |
| Gets the alpha component of the color scale.
|
|
float | getSb () |
| Gets the blue component of the color scale.
|
|
LVecBase3 | getScale () |
| Retrieves the scale component of the transform.
|
|
LVecBase3 | getScale (const NodePath other) |
| Returns the relative scale of the bottom node as seen from the other node.
|
|
float | getSg () |
| Gets the green component of the color scale.
|
|
const Shader | getShader () |
|
ShaderInput | getShaderInput (const InternalName id) |
|
LVecBase3 | getShear () |
| Retrieves the shear component of the transform.
|
|
LVecBase3 | getShear (const NodePath other) |
| Returns the relative shear of the bottom node as seen from the other node.
|
|
float | getShxy () |
|
float | getShxy (const NodePath other) |
| Returns the relative shear of the referenced node as seen from the other node.
|
|
float | getShxz () |
|
float | getShxz (const NodePath other) |
|
float | getShyz () |
|
float | getShyz (const NodePath other) |
|
int | getSort (Thread current_thread) |
| Returns the sort value of the referenced node within its parent; that is, the sort number passed on the last reparenting operation for this node.
|
|
float | getSr () |
| Gets the red component of the color scale.
|
|
NodePath | getStashedAncestor (Thread current_thread) |
| Returns the NodePath at or above the referenced node that is stashed, or an empty NodePath if no ancestor of the referenced node is stashed (and the node should be visible).
|
|
NodePathCollection | getStashedChildren (Thread current_thread) |
| Returns the set of all child nodes of the referenced node that have been stashed.
|
|
const RenderState | getState (const NodePath other, Thread current_thread) |
| Returns the state changes that must be made to transition to the render state of this node from the render state of the other node.
|
|
const RenderState | getState (Thread current_thread) |
| Returns the complete state object set on this node.
|
|
float | getSx () |
|
float | getSx (const NodePath other) |
| Returns the relative scale of the referenced node as seen from the other node.
|
|
float | getSy () |
|
float | getSy (const NodePath other) |
|
float | getSz () |
|
float | getSz (const NodePath other) |
|
str | getTag (str key) |
| Retrieves the user-defined value that was previously set on this node for the particular key, if any.
|
|
object | getTagKeys () |
|
| getTagKeys (VectorString keys) |
| Fills the given vector up with the list of tags on this PandaNode.
|
|
object | getTags () |
|
RenderAttrib::TexGenMode | getTexGen (TextureStage stage) |
| Returns the texture coordinate generation mode for the given stage, or M_off if there is no explicit mode set for the given stage.
|
|
LVecBase3 | getTexHpr (const NodePath other, TextureStage stage) |
| Returns the 3-D HPR set for the UVW's for the given stage on the current node.
|
|
LVecBase3 | getTexHpr (TextureStage stage) |
| Returns the 3-D HPR set for the UVW's for the given stage on the current node.
|
|
LVecBase2 | getTexOffset (const NodePath other, TextureStage stage) |
| Returns the offset set for the UV's for the given stage on the current node.
|
|
LVecBase2 | getTexOffset (TextureStage stage) |
| Returns the offset set for the UV's for the given stage on the current node.
|
|
LVecBase3 | getTexPos (const NodePath other, TextureStage stage) |
| Returns the offset set for the UVW's for the given stage on the current node.
|
|
LVecBase3 | getTexPos (TextureStage stage) |
| Returns the offset set for the UVW's for the given stage on the current node.
|
|
NodePath | getTexProjectorFrom (TextureStage stage) |
| Returns the "from" node associated with the TexProjectorEffect on the indicated stage.
|
|
NodePath | getTexProjectorTo (TextureStage stage) |
| Returns the "to" node associated with the TexProjectorEffect on the indicated stage.
|
|
float | getTexRotate (const NodePath other, TextureStage stage) |
| Returns the rotation set for the UV's for the given stage on the current node.
|
|
float | getTexRotate (TextureStage stage) |
| Returns the rotation set for the UV's for the given stage on the current node.
|
|
LVecBase2 | getTexScale (const NodePath other, TextureStage stage) |
| Returns the scale set for the UV's for the given stage on the current node.
|
|
LVecBase2 | getTexScale (TextureStage stage) |
| Returns the scale set for the UV's for the given stage on the current node.
|
|
LVecBase3 | getTexScale3d (const NodePath other, TextureStage stage) |
| Returns the scale set for the UVW's for the given stage on the current node.
|
|
LVecBase3 | getTexScale3d (TextureStage stage) |
| Returns the scale set for the UVW's for the given stage on the current node.
|
|
const TransformState | getTexTransform (const NodePath other, TextureStage stage) |
| Returns the texture matrix on the current node for the given stage, relative to the other node.
|
|
const TransformState | getTexTransform (TextureStage stage) |
| Returns the texture matrix on the current node for the given stage, or identity transform if there is no explicit transform set for the given stage.
|
|
Texture | getTexture () |
| Returns the base-level texture that has been set on this particular node, or NULL if no texture has been set.
|
|
Texture | getTexture (TextureStage stage) |
| Returns the texture that has been set on the indicated stage for this particular node, or NULL if no texture has been set for this stage.
|
|
const SamplerState | getTextureSampler () |
| Returns the sampler state that has been given for the base-level texture that has been set on this particular node.
|
|
const SamplerState | getTextureSampler (TextureStage stage) |
| Returns the sampler state that has been given for the indicated texture stage that has been set on this particular node.
|
|
object | getTightBounds (const NodePath other) |
|
NodePath | getTop (Thread current_thread) |
| Returns a singleton NodePath that represents the top of the path, or empty NodePath if this path is empty.
|
|
PandaNode | getTopNode (Thread current_thread) |
| Returns the top node of the path, or NULL if the path is empty.
|
|
const TransformState | getTransform (const NodePath other, Thread current_thread) |
| Returns the relative transform to this node from the other node; i.e.
|
|
const TransformState | getTransform (Thread current_thread) |
| Returns the complete transform object set on this node.
|
|
TransparencyAttrib::Mode | getTransparency () |
| Returns the transparent rendering that has been specifically set on this node via set_transparency(), or M_none if nontransparent rendering has been specifically set, or if nothing has been specifically set.
|
|
bool | getTwoSided () |
| Returns true if two-sided rendering has been specifically set on this node via set_two_sided(), or false if one-sided rendering has been specifically set, or if nothing has been specifically set.
|
|
float | getX () |
|
float | getX (const NodePath other) |
|
float | getY () |
|
float | getY (const NodePath other) |
|
float | getZ () |
|
float | getZ (const NodePath other) |
|
bool | hasAntialias () |
| Returns true if an antialias setting has been explicitly mode on this particular node via set_antialias().
|
|
bool | hasAttrib (TypeHandle type) |
| Returns true if there is a render attribute of the indicated type defined on this node, or false if there is not.
|
|
bool | hasAudioVolume () |
| Returns true if an audio volume has been applied to the referenced node, false otherwise.
|
|
bool | hasBillboard () |
| Returns true if there is any billboard effect on the node.
|
|
bool | hasBin () |
| Returns true if the node has been assigned to the a particular rendering bin via set_bin(), false otherwise.
|
|
bool | hasClipPlane (const NodePath clip_plane) |
| Returns true if the indicated clipping plane has been specifically applied to this particular node.
|
|
bool | hasClipPlaneOff () |
| Returns true if all clipping planes have been specifically disabled on this particular node.
|
|
bool | hasClipPlaneOff (const NodePath clip_plane) |
| Returns true if the indicated clipping plane has been specifically disabled on this particular node.
|
|
bool | hasColor () |
| Returns true if a color has been applied to the given node, false otherwise.
|
|
bool | hasColorScale () |
| Returns true if a color scale has been applied to the referenced node, false otherwise.
|
|
bool | hasCompass () |
| Returns true if there is any compass effect on the node.
|
|
bool | hasDepthOffset () |
| Returns true if a depth-offset adjustment has been explicitly set on this particular node via set_depth_offset().
|
|
bool | hasDepthTest () |
| Returns true if a depth-test adjustment has been explicitly set on this particular node via set_depth_test().
|
|
bool | hasDepthWrite () |
| Returns true if a depth-write adjustment has been explicitly set on this particular node via set_depth_write().
|
|
bool | hasEffect (TypeHandle type) |
| Returns true if there is a render effect of the indicated type defined on this node, or false if there is not.
|
|
bool | hasFog () |
| Returns true if a fog has been applied to this particular node via set_fog(), false otherwise.
|
|
bool | hasFogOff () |
| Returns true if a fog has been specifically disabled on this particular node via set_fog_off(), false otherwise.
|
|
bool | hasLight (const NodePath light) |
| Returns true if the indicated Light or PolylightNode has been specifically enabled on this particular node.
|
|
bool | hasLightOff () |
| Returns true if all Lights have been specifically disabled on this particular node.
|
|
bool | hasLightOff (const NodePath light) |
| Returns true if the indicated Light has been specifically disabled on this particular node.
|
|
bool | hasLogicOp () |
| Returns true if a logical operation has been explicitly set on this particular node via set_logic_op().
|
|
bool | hasMat () |
| Returns true if a non-identity transform matrix has been applied to the referenced node, false otherwise.
|
|
bool | hasMaterial () |
| Returns true if a material has been applied to this particular node via set_material(), false otherwise.
|
|
bool | hasNetPythonTag (object keys) |
|
bool | hasNetTag (str key) |
| Returns true if the indicated tag value has been defined on this node or on any ancestor node, or false otherwise.
|
|
bool | hasOccluder (const NodePath occluder) |
| Returns true if the indicated occluder has been specifically applied to this particular node.
|
|
bool | hasParent (Thread current_thread) |
| Returns true if the referenced node has a parent; i.e.
|
|
bool | hasPythonTag (object keys) |
|
bool | hasRenderMode () |
| Returns true if a render mode has been explicitly set on this particular node via set_render_mode() (or set_render_mode_wireframe() or set_render_mode_filled()), false otherwise.
|
|
bool | hasScissor () |
| Returns true if a scissor region was defined at this node by a previous call to set_scissor().
|
|
bool | hasTag (str key) |
| Returns true if a value has been defined on this node for the particular key (even if that value is the empty string), or false if no value has been set.
|
|
bool | hasTexcoord (str texcoord_name) |
| Returns true if there are at least some vertices at this node and below that use the named texture coordinate set, false otherwise.
|
|
bool | hasTexGen (TextureStage stage) |
| Returns true if there is a mode for automatic texture coordinate generation on the current node for the given stage.
|
|
bool | hasTexProjector (TextureStage stage) |
| Returns true if this node has a TexProjectorEffect for the indicated stage, false otherwise.
|
|
bool | hasTexTransform (TextureStage stage) |
| Returns true if there is an explicit texture matrix on the current node for the given stage.
|
|
bool | hasTexture () |
| Returns true if a texture has been applied to this particular node via set_texture(), false otherwise.
|
|
bool | hasTexture (TextureStage stage) |
| Returns true if texturing has been specifically enabled on this particular node for the indicated stage.
|
|
bool | hasTextureOff () |
| Returns true if texturing has been specifically disabled on this particular node via set_texture_off(), false otherwise.
|
|
bool | hasTextureOff (TextureStage stage) |
| Returns true if texturing has been specifically disabled on this particular node for the indicated stage.
|
|
bool | hasTransparency () |
| Returns true if a transparent-rendering adjustment has been explicitly set on this particular node via set_transparency().
|
|
bool | hasTwoSided () |
| Returns true if a two-sided adjustment has been explicitly set on this particular node via set_two_sided().
|
|
bool | hasVertexColumn (const InternalName name) |
| Returns true if there are at least some vertices at this node and below that contain a reference to the indicated vertex data column name, false otherwise.
|
|
| headsUp (const LPoint3 point, const LVector3 up) |
| Behaves like look_at(), but with a strong preference to keeping the up vector oriented in the indicated "up" direction.
|
|
| headsUp (const NodePath other, const LPoint3 point, const LVector3 up) |
| Behaves like look_at(), but with a strong preference to keeping the up vector oriented in the indicated "up" direction.
|
|
| headsUp (const NodePath other, float x, float y, float z) |
| Behaves like look_at(), but with a strong preference to keeping the up vector oriented in the indicated "up" direction.
|
|
| headsUp (float x, float y, float z) |
| Behaves like look_at(), but with a strong preference to keeping the up vector oriented in the indicated "up" direction.
|
|
| hide () |
| Makes the referenced node (and the entire subgraph below this node) invisible to all cameras.
|
|
| hide (DrawMask camera_mask) |
| Makes the referenced node invisible just to the cameras whose camera_mask shares the indicated bits.
|
|
| hideBounds () |
| Stops the rendering of the bounding volume begun with show_bounds().
|
|
NodePath | instanceTo (const NodePath other, int sort, Thread current_thread) |
| Adds the referenced node of the NodePath as a child of the referenced node of the indicated other NodePath.
|
|
NodePath | instanceUnderNode (const NodePath other, str name, int sort, Thread current_thread) |
| Behaves like instance_to(), but implicitly creates a new node to instance the geometry under, and returns a NodePath to that new node.
|
|
bool | isAncestorOf (const NodePath other, Thread current_thread) |
| Returns true if the node represented by this NodePath is a parent or other ancestor of the other NodePath, or false if it is not.
|
|
bool | isEmpty () |
| Returns true if the NodePath contains no nodes.
|
|
bool | isHidden (DrawMask camera_mask) |
| Returns true if the referenced node is hidden from the indicated camera(s) either directly, or because some ancestor is hidden.
|
|
bool | isSameGraph (const NodePath other, Thread current_thread) |
| Returns true if the node represented by this NodePath is parented within the same graph as that of the other NodePath.
|
|
bool | isSingleton (Thread current_thread) |
| Returns true if the NodePath contains exactly one node.
|
|
bool | isStashed () |
| Returns true if the referenced node is stashed either directly, or because some ancestor is stashed.
|
|
| listTags () |
| Lists the tags to the nout stream, one per line.
|
|
| lookAt (const LPoint3 point, const LVector3 up) |
| Sets the hpr on this NodePath so that it rotates to face the indicated point in space.
|
|
| lookAt (const NodePath other, const LPoint3 point, const LVector3 up) |
| Sets the transform on this NodePath so that it rotates to face the indicated point in space, which is relative to the other NodePath.
|
|
| lookAt (const NodePath other, float x, float y, float z) |
| Sets the hpr on this NodePath so that it rotates to face the indicated point in space, which is relative to the other NodePath.
|
|
| lookAt (float x, float y, float z) |
| Sets the transform on this NodePath so that it rotates to face the indicated point in space.
|
|
| ls () |
| Lists the hierarchy at and below the referenced node.
|
|
| ls (Ostream out, int indent_level) |
| Lists the hierarchy at and below the referenced node.
|
|
PandaNode | node () |
| Returns the referenced node of the path.
|
|
bool | operator!= (const NodePath other) |
|
bool | operator!= (const WeakNodePath other) |
|
bool | operator< (const NodePath other) |
|
bool | operator< (const WeakNodePath other) |
|
NodePath | operator= (const NodePath copy) |
|
bool | operator== (const NodePath other) |
|
bool | operator== (const WeakNodePath other) |
|
| output (Ostream out) |
| Writes a sensible description of the NodePath to the indicated output stream.
|
|
| premungeScene (GraphicsStateGuardianBase gsg) |
| Walks through the scene graph beginning at the bottom node, and internally adjusts any GeomVertexFormats for optimal rendering on the indicated GSG.
|
|
| prepareScene (GraphicsStateGuardianBase gsg) |
| Walks through the scene graph beginning at the bottom node, and does whatever initialization is required to render the scene properly with the indicated GSG.
|
|
| projectTexture (TextureStage stage, Texture tex, const NodePath projector) |
| A convenience function to enable projective texturing at this node level and below, using the indicated NodePath (which should contain a LensNode) as the projector.
|
|
| removeNode (Thread current_thread) |
| Disconnects the referenced node from the scene graph.
|
|
| reparentTo (const NodePath other, int sort, Thread current_thread) |
| Removes the referenced node of the NodePath from its current parent and attaches it to the referenced node of the indicated NodePath.
|
|
| replaceMaterial (Material mat, Material new_mat) |
| Recursively searches the scene graph for references to the given material, and replaces them with the new material.
|
|
| replaceMaterial (Material mat, nullptr_t new_mat) |
|
| replaceTexture (Texture tex, nullptr_t new_tex) |
|
| replaceTexture (Texture tex, Texture new_tex) |
| Recursively searches the scene graph for references to the given texture, and replaces them with the new texture.
|
|
| reverseLs () |
| Lists the hierarchy at and above the referenced node.
|
|
int | reverseLs (Ostream out, int indent_level) |
| Lists the hierarchy at and above the referenced node.
|
|
| setAllColorScale (float scale, int priority) |
| Scales all the color components of the object by the same amount, darkening the object, without (much) affecting alpha.
|
|
| setAlphaScale (float scale, int priority) |
| Sets the alpha scale component of the transform without (much) affecting the color scale.
|
|
| setAntialias (unsigned short int mode, int priority) |
| Specifies the antialiasing type that should be applied at this node and below.
|
|
| setAttrib (const RenderAttrib attrib, int priority) |
| Adds the indicated render attribute to the scene graph on this node.
|
|
| setAudioVolume (float volume, int priority) |
| Sets the audio volume component of the transform.
|
|
| setAudioVolumeOff (int priority) |
| Disables any audio volume attribute inherited from above.
|
|
| setBillboardAxis (const NodePath camera, float offset) |
| Puts a billboard transition on the node such that it will rotate in two dimensions around the up axis, towards a specified "camera" instead of to the viewing camera.
|
|
| setBillboardAxis (float offset) |
| Puts a billboard transition on the node such that it will rotate in two dimensions around the up axis.
|
|
| setBillboardPointEye (const NodePath camera, float offset, bool fixed_depth) |
| Puts a billboard transition on the node such that it will rotate in three dimensions about the origin, keeping its up vector oriented to the top of the camera, towards a specified "camera" instead of to the viewing camera.
|
|
| setBillboardPointEye (float offset, bool fixed_depth) |
| Puts a billboard transition on the node such that it will rotate in three dimensions about the origin, keeping its up vector oriented to the top of the camera.
|
|
| setBillboardPointWorld (const NodePath camera, float offset) |
| Puts a billboard transition on the node such that it will rotate in three dimensions about the origin, keeping its up vector oriented to the sky, towards a specified "camera" instead of to the viewing camera.
|
|
| setBillboardPointWorld (float offset) |
| Puts a billboard transition on the node such that it will rotate in three dimensions about the origin, keeping its up vector oriented to the sky.
|
|
| setBin (str bin_name, int draw_order, int priority) |
| Assigns the geometry at this level and below to the named rendering bin.
|
|
| setClipPlane (const NodePath clip_plane, int priority) |
| Adds the indicated clipping plane to the list of planes that apply to geometry at this node and below.
|
|
| setClipPlaneOff (const NodePath clip_plane, int priority) |
| Sets the geometry at this level and below to render without being clipped by the indicated PlaneNode.
|
|
| setClipPlaneOff (int priority) |
| Sets the geometry at this level and below to render using no clip_planes at all.
|
|
| setCollideMask (CollideMask new_mask, CollideMask bits_to_change, TypeHandle node_type) |
| Recursively applies the indicated CollideMask to the into_collide_masks for all nodes at this level and below.
|
|
| setColor (const LColor color, int priority) |
| Applies a scene-graph color to the referenced node.
|
|
| setColor (float r, float g, float b, float a, int priority) |
| Applies a scene-graph color to the referenced node.
|
|
| setColorOff (int priority) |
| Sets the geometry at this level and below to render using the geometry color.
|
|
| setColorScale (const LVecBase4 scale, int priority) |
| Sets the color scale component of the transform, leaving translation and rotation untouched.
|
|
| setColorScale (float sx, float sy, float sz, float sa, int priority) |
| Sets the color scale component of the transform.
|
|
| setColorScaleOff (int priority) |
| Disables any color scale attribute inherited from above.
|
|
| setCompass (const NodePath reference) |
| Puts a compass effect on the node, so that it will retain a fixed rotation relative to the reference node (or render if the reference node is empty) regardless of the transforms above it.
|
|
| setDepthOffset (int bias, int priority) |
| This instructs the graphics driver to apply an offset or bias to the generated depth values for rendered polygons, before they are written to the depth buffer.
|
|
| setDepthTest (bool depth_test, int priority) |
| Specifically sets or disables the testing of the depth buffer on this particular node.
|
|
| setDepthWrite (bool depth_write, int priority) |
| Specifically sets or disables the writing to the depth buffer on this particular node.
|
|
| setEffect (const RenderEffect effect) |
| Adds the indicated render effect to the scene graph on this node.
|
|
| setEffects (const RenderEffects effects) |
| Sets the complete RenderEffects that will be applied this node.
|
|
| setFluidPos (const LVecBase3 pos) |
| Sets the translation component, without changing the "previous" position, so that the collision system will see the node as moving fluidly from its previous position to its new position.
|
|
| setFluidPos (const NodePath other, const LVecBase3 pos) |
| Sets the translation component of the transform, relative to the other node.
|
|
| setFluidPos (const NodePath other, float x, float y, float z) |
| Sets the translation component, without changing the "previous" position, so that the collision system will see the node as moving fluidly from its previous position to its new position.
|
|
| setFluidPos (float x, float y, float z) |
| Sets the translation component, without changing the "previous" position, so that the collision system will see the node as moving fluidly from its previous position to its new position.
|
|
| setFluidX (const NodePath other, float x) |
|
| setFluidX (float x) |
|
| setFluidY (const NodePath other, float y) |
|
| setFluidY (float y) |
|
| setFluidZ (const NodePath other, float z) |
|
| setFluidZ (float z) |
|
| setFog (Fog fog, int priority) |
| Sets the geometry at this level and below to render using the indicated fog.
|
|
| setFogOff (int priority) |
| Sets the geometry at this level and below to render using no fog.
|
|
| setH (const NodePath other, float h) |
|
| setH (float h) |
|
| setHpr (const LVecBase3 hpr) |
| Sets the rotation component of the transform, leaving translation and scale untouched.
|
|
| setHpr (const NodePath other, const LVecBase3 hpr) |
| Sets the rotation component of the transform, relative to the other node.
|
|
| setHpr (const NodePath other, float h, float p, float r) |
| Sets the rotation component of the transform, relative to the other node.
|
|
| setHpr (float h, float p, float r) |
| Sets the rotation component of the transform, leaving translation and scale untouched.
|
|
| setHprScale (const LVecBase3 hpr, const LVecBase3 scale) |
| Sets the rotation and scale components of the transform, leaving translation untouched.
|
|
| setHprScale (const NodePath other, const LVecBase3 hpr, const LVecBase3 scale) |
| Sets the rotation and scale components of the transform, leaving translation untouched.
|
|
| setHprScale (const NodePath other, float h, float p, float r, float sx, float sy, float sz) |
| Sets the rotation and scale components of the transform, leaving translation untouched.
|
|
| setHprScale (float h, float p, float r, float sx, float sy, float sz) |
| Sets the rotation and scale components of the transform, leaving translation untouched.
|
|
| setInstanceCount (int instance_count) |
| Sets the geometry instance count, or 0 if geometry instancing should be disabled.
|
|
| setLight (const NodePath light, int priority) |
| Adds the indicated Light or PolylightNode to the list of lights that illuminate geometry at this node and below.
|
|
| setLightOff (const NodePath light, int priority) |
| Sets the geometry at this level and below to render without using the indicated Light.
|
|
| setLightOff (int priority) |
| Sets the geometry at this level and below to render using no lights at all.
|
|
| setLogicOp (LogicOpAttrib::Operation op, int priority) |
| Specifically sets or disables a logical operation on this particular node.
|
|
| setMat (const LMatrix4 mat) |
| Directly sets an arbitrary 4x4 transform matrix.
|
|
| setMat (const NodePath other, const LMatrix4 mat) |
| Converts the indicated matrix from the other's coordinate space to the local coordinate space, and applies it to the node.
|
|
| setMaterial (Material tex, int priority) |
| Sets the geometry at this level and below to render using the indicated material.
|
|
| setMaterialOff (int priority) |
| Sets the geometry at this level and below to render using no material.
|
|
| setName (str name) |
| Changes the name of the referenced node.
|
|
| setOccluder (const NodePath occluder) |
| Adds the indicated occluder to the list of occluders that apply to geometry at this node and below.
|
|
| setP (const NodePath other, float p) |
|
| setP (float p) |
|
| setPos (const LVecBase3 pos) |
| Sets the translation component of the transform, leaving rotation and scale untouched.
|
|
| setPos (const NodePath other, const LVecBase3 pos) |
| Sets the translation component of the transform, relative to the other node.
|
|
| setPos (const NodePath other, float x, float y, float z) |
| Sets the translation component of the transform, relative to the other node.
|
|
| setPos (float x, float y, float z) |
| Sets the translation component of the transform, leaving rotation and scale untouched.
|
|
| setPosHpr (const LVecBase3 pos, const LVecBase3 hpr) |
| Sets the translation and rotation component of the transform, leaving scale untouched.
|
|
| setPosHpr (const NodePath other, const LVecBase3 pos, const LVecBase3 hpr) |
| Sets the translation and rotation component of the transform, relative to the other node.
|
|
| setPosHpr (const NodePath other, float x, float y, float z, float h, float p, float r) |
| Sets the translation and rotation component of the transform, relative to the other node.
|
|
| setPosHpr (float x, float y, float z, float h, float p, float r) |
| Sets the translation and rotation component of the transform, leaving scale untouched.
|
|
| setPosHprScale (const LVecBase3 pos, const LVecBase3 hpr, const LVecBase3 scale) |
| Replaces the translation, rotation, and scale components, implicitly setting shear to 0.
|
|
| setPosHprScale (const NodePath other, const LVecBase3 pos, const LVecBase3 hpr, const LVecBase3 scale) |
| Completely replaces the transform with new translation, rotation, and scale components, relative to the other node, implicitly setting shear to 0.
|
|
| setPosHprScale (const NodePath other, float x, float y, float z, float h, float p, float r, float sx, float sy, float sz) |
| Completely replaces the transform with new translation, rotation, and scale components, relative to the other node.
|
|
| setPosHprScale (float x, float y, float z, float h, float p, float r, float sx, float sy, float sz) |
| Completely replaces the transform with new translation, rotation, and scale components.
|
|
| setPosHprScaleShear (const LVecBase3 pos, const LVecBase3 hpr, const LVecBase3 scale, const LVecBase3 shear) |
| Completely replaces the transform with new translation, rotation, scale, and shear components.
|
|
| setPosHprScaleShear (const NodePath other, const LVecBase3 pos, const LVecBase3 hpr, const LVecBase3 scale, const LVecBase3 shear) |
| Completely replaces the transform with new translation, rotation, scale, and shear components, relative to the other node.
|
|
| setPosQuat (const LVecBase3 pos, const LQuaternion quat) |
| Sets the translation and rotation component of the transform, leaving scale untouched.
|
|
| setPosQuat (const NodePath other, const LVecBase3 pos, const LQuaternion quat) |
| Sets the translation and rotation component of the transform, relative to the other node.
|
|
| setPosQuatScale (const LVecBase3 pos, const LQuaternion quat, const LVecBase3 scale) |
| Replaces the translation, rotation, and scale components, implicitly setting shear to 0.
|
|
| setPosQuatScale (const NodePath other, const LVecBase3 pos, const LQuaternion quat, const LVecBase3 scale) |
| Completely replaces the transform with new translation, rotation, and scale components, relative to the other node, implicitly setting shear to 0.
|
|
| setPosQuatScaleShear (const LVecBase3 pos, const LQuaternion quat, const LVecBase3 scale, const LVecBase3 shear) |
| Completely replaces the transform with new translation, rotation, scale, and shear components.
|
|
| setPosQuatScaleShear (const NodePath other, const LVecBase3 pos, const LQuaternion quat, const LVecBase3 scale, const LVecBase3 shear) |
| Completely replaces the transform with new translation, rotation, scale, and shear components, relative to the other node.
|
|
| setPrevTransform (const NodePath other, const TransformState transform, Thread current_thread) |
| Sets the "previous" transform object on this node, relative to the other node.
|
|
| setPrevTransform (const TransformState transform, Thread current_thread) |
| Sets the transform that represents this node's "previous" position, one frame ago, for the purposes of detecting motion for accurate collision calculations.
|
|
| setPythonTag (object keys, object value) |
|
| setQuat (const LQuaternion quat) |
| Sets the rotation component of the transform, leaving translation and scale untouched.
|
|
| setQuat (const NodePath other, const LQuaternion quat) |
| Sets the rotation component of the transform, relative to the other node.
|
|
| setQuatScale (const LQuaternion quat, const LVecBase3 scale) |
| Sets the rotation and scale components of the transform, leaving translation untouched.
|
|
| setQuatScale (const NodePath other, const LQuaternion quat, const LVecBase3 scale) |
| Sets the rotation and scale components of the transform, leaving translation untouched.
|
|
| setR (const NodePath other, float r) |
|
| setR (float r) |
|
| setRenderMode (RenderModeAttrib::Mode mode, float thickness, int priority) |
| Sets up the geometry at this level and below (unless overridden) to render in the specified mode and with the indicated line and/or point thickness.
|
|
| setRenderModeFilled (int priority) |
| Sets up the geometry at this level and below (unless overridden) to render in filled (i.e.
|
|
| setRenderModeFilledWireframe (const LColor wireframe_color, int priority) |
| Sets up the geometry at this level and below (unless overridden) to render in filled, but overlay the wireframe on top with a fixed color.
|
|
| setRenderModePerspective (bool perspective, int priority) |
| Sets up the point geometry at this level and below to render as perspective sprites (that is, billboarded quads).
|
|
| setRenderModeThickness (float thickness, int priority) |
| Sets up the point geometry at this level and below to render as thick points (that is, billboarded quads).
|
|
| setRenderModeWireframe (int priority) |
| Sets up the geometry at this level and below (unless overridden) to render in wireframe mode.
|
|
| setSa (float sa) |
| Sets the alpha component of the color scale.
|
|
| setSb (float sb) |
| Sets the blue component of the color scale.
|
|
| setScale (const LVecBase3 scale) |
| Sets the scale component of the transform, leaving translation and rotation untouched.
|
|
| setScale (const NodePath other, const LVecBase3 scale) |
| Sets the scale component of the transform, relative to the other node.
|
|
| setScale (const NodePath other, float scale) |
| Sets the scale component of the transform, relative to the other node.
|
|
| setScale (const NodePath other, float sx, float sy, float sz) |
| Sets the scale component of the transform, relative to the other node.
|
|
| setScale (float scale) |
| Sets the scale component of the transform, leaving translation and rotation untouched.
|
|
| setScale (float sx, float sy, float sz) |
|
| setScissor (const LPoint3 a, const LPoint3 b) |
| Sets up a scissor region on the nodes rendered at this level and below.
|
|
| setScissor (const LPoint3 a, const LPoint3 b, const LPoint3 c, const LPoint3 d) |
| Sets up a scissor region on the nodes rendered at this level and below.
|
|
| setScissor (const NodePath other, const LPoint3 a, const LPoint3 b) |
| Sets up a scissor region on the nodes rendered at this level and below.
|
|
| setScissor (const NodePath other, const LPoint3 a, const LPoint3 b, const LPoint3 c, const LPoint3 d) |
| Sets up a scissor region on the nodes rendered at this level and below.
|
|
| setScissor (float left, float right, float bottom, float top) |
| Sets up a scissor region on the nodes rendered at this level and below.
|
|
| setSg (float sg) |
| Sets the green component of the color scale.
|
|
| setShader (const Shader sha, int priority) |
|
| setShaderAuto (BitMask32 shader_switch, int priority) |
| overloaded for auto shader customization
|
|
| setShaderAuto (int priority) |
|
| setShaderInput (const InternalName id, float n1, float n2, float n3, float n4, int priority) |
|
| setShaderInput (const InternalName id, int n1, int n2, int n3, int n4, int priority) |
|
| setShaderInput (const InternalName id, Texture tex, bool read, bool write, int z, int n, int priority) |
|
| setShaderInput (const InternalName id, Texture tex, const SamplerState sampler, int priority) |
|
| setShaderInput (const InternalName, object, int priority) |
|
| setShaderInput (const ShaderInput input) |
|
| setShaderInputs (object args, object kwargs) |
|
| setShaderOff (int priority) |
|
| setShear (const LVecBase3 shear) |
| Sets the shear component of the transform, leaving translation and rotation untouched.
|
|
| setShear (const NodePath other, const LVecBase3 shear) |
| Sets the shear component of the transform, relative to the other node.
|
|
| setShear (const NodePath other, float shxy, float shxz, float shyz) |
| Sets the shear component of the transform, relative to the other node.
|
|
| setShear (float shxy, float shxz, float shyz) |
| Sets the shear component of the transform, leaving translation, rotation, and scale untouched.
|
|
| setShxy (const NodePath other, float shxy) |
|
| setShxy (float shxy) |
|
| setShxz (const NodePath other, float shxz) |
|
| setShxz (float shxz) |
|
| setShyz (const NodePath other, float shyz) |
|
| setShyz (float shyz) |
|
| setSr (float sr) |
| Sets the red component of the color scale.
|
|
| setState (const NodePath other, const RenderState state, Thread current_thread) |
| Sets the state object on this node, relative to the other node.
|
|
| setState (const RenderState state, Thread current_thread) |
| Changes the complete state object on this node.
|
|
| setSx (const NodePath other, float sx) |
|
| setSx (float sx) |
| Sets the x-scale component of the transform, leaving other components untouched.
|
|
| setSy (const NodePath other, float sy) |
|
| setSy (float sy) |
| Sets the y-scale component of the transform, leaving other components untouched.
|
|
| setSz (const NodePath other, float sz) |
|
| setSz (float sz) |
| Sets the z-scale component of the transform, leaving other components untouched.
|
|
| setTag (str key, str value) |
| Associates a user-defined value with a user-defined key which is stored on the node.
|
|
| setTexGen (TextureStage stage, RenderAttrib::TexGenMode mode, const LTexCoord3 constant_value, int priority) |
| Enables automatic texture coordinate generation for the indicated texture stage.
|
|
| setTexGen (TextureStage stage, RenderAttrib::TexGenMode mode, int priority) |
| Enables automatic texture coordinate generation for the indicated texture stage.
|
|
| setTexHpr (const NodePath other, TextureStage stage, const LVecBase3 hpr) |
| Sets a texture matrix on the current node to apply the indicated rotation, as a 3-D HPR, to UVW's for the given stage.
|
|
| setTexHpr (const NodePath other, TextureStage stage, float h, float p, float r) |
| Sets a texture matrix on the current node to apply the indicated rotation, as a 3-D HPR, to UVW's for the given stage.
|
|
| setTexHpr (TextureStage stage, const LVecBase3 hpr) |
| Sets a texture matrix on the current node to apply the indicated rotation, as a 3-D HPR, to UVW's for the given stage.
|
|
| setTexHpr (TextureStage stage, float h, float p, float r) |
| Sets a texture matrix on the current node to apply the indicated rotation, as a 3-D HPR, to UVW's for the given stage.
|
|
| setTexOffset (const NodePath other, TextureStage stage, const LVecBase2 uv) |
| Sets a texture matrix on the current node to apply the indicated offset to UV's for the given stage.
|
|
| setTexOffset (const NodePath other, TextureStage stage, float u, float v) |
| Sets a texture matrix on the current node to apply the indicated offset to UV's for the given stage.
|
|
| setTexOffset (TextureStage stage, const LVecBase2 uv) |
| Sets a texture matrix on the current node to apply the indicated offset to UV's for the given stage.
|
|
| setTexOffset (TextureStage stage, float u, float v) |
| Sets a texture matrix on the current node to apply the indicated offset to UV's for the given stage.
|
|
| setTexPos (const NodePath other, TextureStage stage, const LVecBase3 uvw) |
| Sets a texture matrix on the current node to apply the indicated offset to UVW's for the given stage.
|
|
| setTexPos (const NodePath other, TextureStage stage, float u, float v, float w) |
| Sets a texture matrix on the current node to apply the indicated offset to UVW's for the given stage.
|
|
| setTexPos (TextureStage stage, const LVecBase3 uvw) |
| Sets a texture matrix on the current node to apply the indicated offset to UVW's for the given stage.
|
|
| setTexPos (TextureStage stage, float u, float v, float w) |
| Sets a texture matrix on the current node to apply the indicated offset to UVW's for the given stage.
|
|
| setTexProjector (TextureStage stage, const NodePath from, const NodePath to, int lens_index) |
| Establishes a TexProjectorEffect on this node, which can be used to establish projective texturing (but see also the NodePath::project_texture() convenience function), or it can be used to bind this node's texture transform to particular node's position in space, allowing a LerpInterval (for instance) to adjust this node's texture coordinates.
|
|
| setTexRotate (const NodePath other, TextureStage stage, float r) |
| Sets a texture matrix on the current node to apply the indicated rotation, clockwise in degrees, to UV's for the given stage.
|
|
| setTexRotate (TextureStage stage, float r) |
| Sets a texture matrix on the current node to apply the indicated rotation, clockwise in degrees, to UV's for the given stage.
|
|
| setTexScale (const NodePath other, TextureStage stage, const LVecBase2 scale) |
| Sets a texture matrix on the current node to apply the indicated scale to UV's for the given stage.
|
|
| setTexScale (const NodePath other, TextureStage stage, const LVecBase3 scale) |
| Sets a texture matrix on the current node to apply the indicated scale to UVW's for the given stage.
|
|
| setTexScale (const NodePath other, TextureStage stage, float scale) |
| Sets a texture matrix on the current node to apply the indicated scale to UV's for the given stage.
|
|
| setTexScale (const NodePath other, TextureStage stage, float su, float sv) |
| Sets a texture matrix on the current node to apply the indicated scale to UV's for the given stage.
|
|
| setTexScale (const NodePath other, TextureStage stage, float su, float sv, float sw) |
| Sets a texture matrix on the current node to apply the indicated scale to UVW's for the given stage.
|
|
| setTexScale (TextureStage stage, const LVecBase2 scale) |
| Sets a texture matrix on the current node to apply the indicated scale to UV's for the given stage.
|
|
| setTexScale (TextureStage stage, const LVecBase3 scale) |
| Sets a texture matrix on the current node to apply the indicated scale to UVW's for the given stage.
|
|
| setTexScale (TextureStage stage, float scale) |
| Sets a texture matrix on the current node to apply the indicated scale to UVW's for the given stage.
|
|
| setTexScale (TextureStage stage, float su, float sv) |
| Sets a texture matrix on the current node to apply the indicated scale to UV's for the given stage.
|
|
| setTexScale (TextureStage stage, float su, float sv, float sw) |
| Sets a texture matrix on the current node to apply the indicated scale to UVW's for the given stage.
|
|
| setTexTransform (const NodePath other, TextureStage stage, const TransformState transform) |
| Sets the texture matrix on the current node to the indicated transform for the given stage.
|
|
| setTexTransform (TextureStage stage, const TransformState transform) |
| Sets the texture matrix on the current node to the indicated transform for the given stage.
|
|
| setTexture (Texture tex, const SamplerState sampler, int priority) |
| Adds the indicated texture to the list of textures that will be rendered on the default texture stage.
|
|
| setTexture (Texture tex, int priority) |
| Adds the indicated texture to the list of textures that will be rendered on the default texture stage.
|
|
| setTexture (TextureStage stage, Texture tex, const SamplerState sampler, int priority) |
| Adds the indicated texture to the list of textures that will be rendered on the indicated multitexture stage.
|
|
| setTexture (TextureStage stage, Texture tex, int priority) |
| Adds the indicated texture to the list of textures that will be rendered on the indicated multitexture stage.
|
|
| setTextureOff (int priority) |
| Sets the geometry at this level and below to render using no texture, on any stage.
|
|
| setTextureOff (TextureStage stage, int priority) |
| Sets the geometry at this level and below to render using no texture, on the indicated stage.
|
|
| setTransform (const NodePath other, const TransformState transform, Thread current_thread) |
| Sets the transform object on this node, relative to the other node.
|
|
| setTransform (const TransformState transform, Thread current_thread) |
| Changes the complete transform object on this node.
|
|
| setTransparency (TransparencyAttrib::Mode mode, int priority) |
| Specifically sets or disables transparent rendering mode on this particular node.
|
|
| setTwoSided (bool two_sided, int priority) |
| Specifically sets or disables two-sided rendering mode on this particular node.
|
|
| setX (const NodePath other, float x) |
|
| setX (float x) |
| Sets the X component of the position transform, leaving other components untouched.
|
|
| setY (const NodePath other, float y) |
|
| setY (float y) |
| Sets the Y component of the position transform, leaving other components untouched.
|
|
| setZ (const NodePath other, float z) |
|
| setZ (float z) |
| Sets the Z component of the position transform, leaving other components untouched.
|
|
| show () |
| Undoes the effect of a previous hide() on this node: makes the referenced node (and the entire subgraph below this node) visible to all cameras.
|
|
| show (DrawMask camera_mask) |
| Makes the referenced node visible just to the cameras whose camera_mask shares the indicated bits.
|
|
| showBounds () |
| Causes the bounding volume of the bottom node and all of its descendants (that is, the bounding volume associated with the the bottom arc) to be rendered, if possible.
|
|
| showThrough () |
| Makes the referenced node visible just to the cameras whose camera_mask shares the indicated bits.
|
|
| showThrough (DrawMask camera_mask) |
| Makes the referenced node visible just to the cameras whose camera_mask shares the indicated bits.
|
|
| showTightBounds () |
| Similar to show_bounds(), this draws a bounding box representing the "tight" bounds of this node and all of its descendants.
|
|
| stash (int sort, Thread current_thread) |
| Removes the referenced node (and the entire subgraph below this node) from the scene graph in any normal sense.
|
|
| stashTo (const NodePath other, int sort, Thread current_thread) |
| Similar to reparent_to(), but the node is added to its new parent's stashed list, so that the result is equivalent to calling reparent_to() immediately followed by stash().
|
|
| unifyTextureStages (TextureStage stage) |
| Searches through all TextureStages at this node and below.
|
|
| unstash (int sort, Thread current_thread) |
| Undoes the effect of a previous stash() on this node: makes the referenced node (and the entire subgraph below this node) once again part of the scene graph.
|
|
| unstashAll (Thread current_thread) |
| Unstashes this node and all stashed child nodes.
|
|
bool | verifyComplete (Thread current_thread) |
| Returns true if all of the nodes described in the NodePath are connected, or false otherwise.
|
|
bool | writeBamFile (const Filename filename) |
| Writes the contents of this node and below out to a bam file with the indicated filename.
|
|
bool | writeBamStream (Ostream out) |
| Writes the contents of this node and below out to the indicated stream.
|
|
| writeBounds (Ostream out) |
| Writes a description of the bounding volume containing the bottom node and all of its descendants to the indicated output stream.
|
|
| wrtReparentTo (const NodePath other, int sort, Thread current_thread) |
| This functions identically to reparent_to(), except the transform on this node is also adjusted so that the node remains in the same place in world coordinates, even if it is reparented into a different coordinate system.
|
|
| addPackage (self, packageName, version=None, hostUrl=None) |
|
| donePackages (self) |
|
| downloadStarted (self) |
|
| packageFinished (self, package, success) |
|
| accept (self, event, method, extraArgs=[]) |
|
| acceptOnce (self, event, method, extraArgs=[]) |
|
| addTask (self, *args, **kwargs) |
|
| detectLeaks (self) |
|
| doMethodLater (self, *args, **kwargs) |
|
| getAllAccepting (self) |
|
| ignore (self, event) |
|
| ignoreAll (self) |
|
| isAccepting (self, event) |
|
| isIgnoring (self, event) |
|
| removeAllTasks (self) |
|
| removeTask (self, taskOrName) |
|