EggGroup
from panda3d.egg import EggGroup
- class EggGroup
Bases:
EggGroupNode
,EggRenderMode
,EggTransform
The main glue of the egg hierarchy, this corresponds to the <Group>, <Instance>, and <Joint> type nodes.
Inheritance diagram
- BMAdd = 2
- BMInvSubtract = 4
- BMMax = 6
- BMMin = 5
- BMNone = 1
- BMSubtract = 3
- BMUnspecified = 0
- BM_add = 2
- BM_inv_subtract = 4
- BM_max = 6
- BM_min = 5
- BM_none = 1
- BM_subtract = 3
- BM_unspecified = 0
- BOAlphaScale = 18
- BOColorScale = 16
- BOConstantAlpha = 13
- BOConstantColor = 11
- BOFbufferAlpha = 9
- BOFbufferColor = 5
- BOIncomingAlpha = 7
- BOIncomingColor = 3
- BOIncomingColorSaturate = 15
- BOOne = 2
- BOOneMinusAlphaScale = 19
- BOOneMinusColorScale = 17
- BOOneMinusConstantAlpha = 14
- BOOneMinusConstantColor = 12
- BOOneMinusFbufferAlpha = 10
- BOOneMinusFbufferColor = 6
- BOOneMinusIncomingAlpha = 8
- BOOneMinusIncomingColor = 4
- BOUnspecified = 0
- BOZero = 1
- BO_alpha_scale = 18
- BO_color_scale = 16
- BO_constant_alpha = 13
- BO_constant_color = 11
- BO_fbuffer_alpha = 9
- BO_fbuffer_color = 5
- BO_incoming_alpha = 7
- BO_incoming_color = 3
- BO_incoming_color_saturate = 15
- BO_one = 2
- BO_one_minus_alpha_scale = 19
- BO_one_minus_color_scale = 17
- BO_one_minus_constant_alpha = 14
- BO_one_minus_constant_color = 12
- BO_one_minus_fbuffer_alpha = 10
- BO_one_minus_fbuffer_color = 6
- BO_one_minus_incoming_alpha = 8
- BO_one_minus_incoming_color = 4
- BO_unspecified = 0
- BO_zero = 1
- BTAxis = 32
- BTNone = 0
- BTPointCameraRelative = 64
- BTPointWorldRelative = 128
- BT_axis = 32
- BT_none = 0
- BT_point_camera_relative = 64
- BT_point_world_relative = 128
- CFCenter = 16777216
- CFDescend = 1048576
- CFEvent = 2097152
- CFIntangible = 134217728
- CFKeep = 4194304
- CFLevel = 67108864
- CFNone = 0
- CFSolid = 8388608
- CFTurnstile = 33554432
- CF_center = 16777216
- CF_descend = 1048576
- CF_event = 2097152
- CF_intangible = 134217728
- CF_keep = 4194304
- CF_level = 67108864
- CF_none = 0
- CF_solid = 8388608
- CF_turnstile = 33554432
- CSTBox = 458752
- CSTFloorMesh = 524288
- CSTInvSphere = 393216
- CSTNone = 0
- CSTPlane = 65536
- CSTPolygon = 131072
- CSTPolyset = 196608
- CSTSphere = 262144
- CSTTube = 327680
- CST_box = 458752
- CST_floor_mesh = 524288
- CST_inv_sphere = 393216
- CST_none = 0
- CST_plane = 65536
- CST_polygon = 131072
- CST_polyset = 196608
- CST_sphere = 262144
- CST_tube = 327680
- DCDefault = 80
- DCLocal = 32
- DCNet = 48
- DCNoTouch = 64
- DCNone = 16
- DCUnspecified = 0
- DC_default = 80
- DC_local = 32
- DC_net = 48
- DC_no_touch = 64
- DC_none = 16
- DC_unspecified = 0
- DTDefault = 1073741824
- DTNone = 0
- DTNosync = 805306368
- DTStructured = 268435456
- DTSync = 536870912
- DT_default = 1073741824
- DT_none = 0
- DT_nosync = 805306368
- DT_structured = 268435456
- DT_sync = 536870912
- GTGroup = 0
- GTInstance = 1
- GTInvalid = -1
- GTJoint = 2
- GT_group = 0
- GT_instance = 1
- GT_invalid = -1
- GT_joint = 2
- __init__(*args, **kwargs)
- addGroupRef()
C++ Interface: add_group_ref(const EggGroup self, EggGroup group)
- /**
Adds a new <Ref> entry to the group. This declares an internal reference
to another node, and is used to implement scene-graph instancing; it is
only valid if the group_type is GT_instance.
*/
- add_group_ref()
C++ Interface: add_group_ref(const EggGroup self, EggGroup group)
- /**
Adds a new <Ref> entry to the group. This declares an internal reference
to another node, and is used to implement scene-graph instancing; it is
only valid if the group_type is GT_instance.
*/
- billboard_center
- billboard_type
- blend_color
- blend_mode
- blend_operand_a
- blend_operand_b
- clearBlendColor()
C++ Interface: clear_blend_color(const EggGroup self)
- /**
Removes the blend color specification.
*/
- clearDefaultPose()
C++ Interface: clear_default_pose(const EggGroup self)
- /**
Removes the initial pose transform. See set_default_pose().
*/
- clearGroupRefs()
C++ Interface: clear_group_refs(const EggGroup self)
- /**
Removes all of the <Ref> entries within this group. See add_group_ref().
*/
- clearTag()
C++ Interface: clear_tag(const EggGroup self, str key)
- /**
Removes the value defined for this key on this particular node. After a
call to clear_tag(), has_tag() will return false for the indicated key.
*/
- clear_blend_color()
C++ Interface: clear_blend_color(const EggGroup self)
- /**
Removes the blend color specification.
*/
- clear_default_pose()
C++ Interface: clear_default_pose(const EggGroup self)
- /**
Removes the initial pose transform. See set_default_pose().
*/
- clear_group_refs()
C++ Interface: clear_group_refs(const EggGroup self)
- /**
Removes all of the <Ref> entries within this group. See add_group_ref().
*/
- clear_tag()
C++ Interface: clear_tag(const EggGroup self, str key)
- /**
Removes the value defined for this key on this particular node. After a
call to clear_tag(), has_tag() will return false for the indicated key.
*/
- collide_flags
- collide_mask
- collision_name
- cs_type
- dart_type
- dcs_type
- decal_flag
- default_pose
- determineAlphaMode()
C++ Interface: determine_alpha_mode(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or
some such object at this level or above this group that has an alpha_mode
other than AM_unspecified. Returns a valid EggRenderMode pointer if one is
found, or NULL otherwise.
*/
- determineBin()
C++ Interface: determine_bin(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or
some such object at this level or above this group that has a bin
specified. Returns a valid EggRenderMode pointer if one is found, or NULL
otherwise.
*/
- determineDecal()
C++ Interface: determine_decal(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup at this level or above
that has the “decal” flag set. Returns the value of the decal flag if it
is found, or false if it is not.
In other words, returns true if the “decal” flag is in effect for the
indicated node, false otherwise.
*/
- determineDepthOffset()
C++ Interface: determine_depth_offset(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or
some such object at this level or above this group that has a depth_offset
specified. Returns a valid EggRenderMode pointer if one is found, or NULL
otherwise.
*/
- determineDepthTestMode()
C++ Interface: determine_depth_test_mode(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or
some such object at this level or above this group that has a
depth_test_mode other than DTM_unspecified. Returns a valid EggRenderMode
pointer if one is found, or NULL otherwise.
*/
- determineDepthWriteMode()
C++ Interface: determine_depth_write_mode(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or
some such object at this level or above this group that has a
depth_write_mode other than DWM_unspecified. Returns a valid EggRenderMode
pointer if one is found, or NULL otherwise.
*/
- determineDrawOrder()
C++ Interface: determine_draw_order(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or
some such object at this level or above this group that has a draw_order
specified. Returns a valid EggRenderMode pointer if one is found, or NULL
otherwise.
*/
- determineIndexed()
C++ Interface: determine_indexed(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup at this level or above
that has the “indexed” scalar set. Returns the value of the indexed scalar
if it is found, or false if it is not.
In other words, returns true if the “indexed” flag is in effect for the
indicated node, false otherwise.
*/
- determineVisibilityMode()
C++ Interface: determine_visibility_mode(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or
some such object at this level or above this group that has a
visibility_mode other than VM_unspecified. Returns a valid EggRenderMode
pointer if one is found, or NULL otherwise.
*/
- determine_alpha_mode()
C++ Interface: determine_alpha_mode(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or
some such object at this level or above this group that has an alpha_mode
other than AM_unspecified. Returns a valid EggRenderMode pointer if one is
found, or NULL otherwise.
*/
- determine_bin()
C++ Interface: determine_bin(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or
some such object at this level or above this group that has a bin
specified. Returns a valid EggRenderMode pointer if one is found, or NULL
otherwise.
*/
- determine_decal()
C++ Interface: determine_decal(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup at this level or above
that has the “decal” flag set. Returns the value of the decal flag if it
is found, or false if it is not.
In other words, returns true if the “decal” flag is in effect for the
indicated node, false otherwise.
*/
- determine_depth_offset()
C++ Interface: determine_depth_offset(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or
some such object at this level or above this group that has a depth_offset
specified. Returns a valid EggRenderMode pointer if one is found, or NULL
otherwise.
*/
- determine_depth_test_mode()
C++ Interface: determine_depth_test_mode(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or
some such object at this level or above this group that has a
depth_test_mode other than DTM_unspecified. Returns a valid EggRenderMode
pointer if one is found, or NULL otherwise.
*/
- determine_depth_write_mode()
C++ Interface: determine_depth_write_mode(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or
some such object at this level or above this group that has a
depth_write_mode other than DWM_unspecified. Returns a valid EggRenderMode
pointer if one is found, or NULL otherwise.
*/
- determine_draw_order()
C++ Interface: determine_draw_order(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or
some such object at this level or above this group that has a draw_order
specified. Returns a valid EggRenderMode pointer if one is found, or NULL
otherwise.
*/
- determine_indexed()
C++ Interface: determine_indexed(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup at this level or above
that has the “indexed” scalar set. Returns the value of the indexed scalar
if it is found, or false if it is not.
In other words, returns true if the “indexed” flag is in effect for the
indicated node, false otherwise.
*/
- determine_visibility_mode()
C++ Interface: determine_visibility_mode(const EggGroup self)
- /**
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or
some such object at this level or above this group that has a
visibility_mode other than VM_unspecified. Returns a valid EggRenderMode
pointer if one is found, or NULL otherwise.
*/
- direct_flag
- from_collide_mask
- getBlendColor()
C++ Interface: get_blend_color(EggGroup self)
- /**
Returns the blend color if one has been specified, or (0, 0, 0, 0) if one
has not.
*/
- getClassType()
C++ Interface: get_class_type()
- getDefaultPose()
C++ Interface: get_default_pose(EggGroup self)
- /**
Returns a read-only accessor to the initial pose transform. This is the
<DefaultPose> entry for a Joint, and defines only the initial transform
pose for the unanimated joint; it has nothing to do with the group’s
<Transform> entry, which defines the (eventual) space of the group’s
vertices.
*/
- getGroupRef()
C++ Interface: get_group_ref(EggGroup self, int n)
- /**
Returns the nth <Ref> entry within this group. See add_group_ref().
*/
- getGroupRefs()
- getNumGroupRefs()
C++ Interface: get_num_group_refs(EggGroup self)
- /**
Returns the number of <Ref> entries within this group. See
add_group_ref().
*/
- getObjectTypes()
- getScrollR()
C++ Interface: get_scroll_r(EggGroup self)
- getScrollU()
C++ Interface: get_scroll_u(EggGroup self)
- getScrollV()
C++ Interface: get_scroll_v(EggGroup self)
- getScrollW()
C++ Interface: get_scroll_w(EggGroup self)
- getTag()
C++ Interface: get_tag(EggGroup self, str key)
- /**
Retrieves the user-defined value that was previously set on this node for
the particular key, if any. If no value has been previously set, returns
the empty string.
*/
- getVertexMembership()
C++ Interface: get_vertex_membership(EggGroup self, const EggVertex vert)
- /**
Returns the amount of membership of the indicated vertex in this group. If
the vertex is not reffed by the group, returns 0.
*/
- get_blend_color()
C++ Interface: get_blend_color(EggGroup self)
- /**
Returns the blend color if one has been specified, or (0, 0, 0, 0) if one
has not.
*/
- get_class_type()
C++ Interface: get_class_type()
- get_default_pose()
C++ Interface: get_default_pose(EggGroup self)
- /**
Returns a read-only accessor to the initial pose transform. This is the
<DefaultPose> entry for a Joint, and defines only the initial transform
pose for the unanimated joint; it has nothing to do with the group’s
<Transform> entry, which defines the (eventual) space of the group’s
vertices.
*/
- get_group_ref()
C++ Interface: get_group_ref(EggGroup self, int n)
- /**
Returns the nth <Ref> entry within this group. See add_group_ref().
*/
- get_group_refs()
- get_num_group_refs()
C++ Interface: get_num_group_refs(EggGroup self)
- /**
Returns the number of <Ref> entries within this group. See
add_group_ref().
*/
- get_object_types()
- get_scroll_r()
C++ Interface: get_scroll_r(EggGroup self)
- get_scroll_u()
C++ Interface: get_scroll_u(EggGroup self)
- get_scroll_v()
C++ Interface: get_scroll_v(EggGroup self)
- get_scroll_w()
C++ Interface: get_scroll_w(EggGroup self)
- get_tag()
C++ Interface: get_tag(EggGroup self, str key)
- /**
Retrieves the user-defined value that was previously set on this node for
the particular key, if any. If no value has been previously set, returns
the empty string.
*/
- get_vertex_membership()
C++ Interface: get_vertex_membership(EggGroup self, const EggVertex vert)
- /**
Returns the amount of membership of the indicated vertex in this group. If
the vertex is not reffed by the group, returns 0.
*/
- group_type
- hasBlendColor()
C++ Interface: has_blend_color(EggGroup self)
- /**
Returns true if the blend color has been specified, false otherwise.
*/
- hasDcsType()
C++ Interface: has_dcs_type(EggGroup self)
- /**
Returns true if the specified DCS type is not DC_none and not
DC_unspecified.
*/
- hasObjectType()
C++ Interface: has_object_type(EggGroup self, str object_type)
- /**
Returns true if the indicated object type has been added to the group, or
false otherwise.
*/
- hasScrollingUvs()
C++ Interface: has_scrolling_uvs(const EggGroup self)
- hasTag()
C++ Interface: has_tag(EggGroup self, 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.
*/
- has_blend_color()
C++ Interface: has_blend_color(EggGroup self)
- /**
Returns true if the blend color has been specified, false otherwise.
*/
- has_dcs_type()
C++ Interface: has_dcs_type(EggGroup self)
- /**
Returns true if the specified DCS type is not DC_none and not
DC_unspecified.
*/
- has_object_type()
C++ Interface: has_object_type(EggGroup self, str object_type)
- /**
Returns true if the indicated object type has been added to the group, or
false otherwise.
*/
- has_scrolling_uvs()
C++ Interface: has_scrolling_uvs(const EggGroup self)
- has_tag()
C++ Interface: has_tag(EggGroup self, 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.
*/
- indexed_flag
- into_collide_mask
- isInstanceType()
C++ Interface: is_instance_type(EggGroup self)
- /**
Returns true if this group is an instance type node; i.e. it begins the
root of a local coordinate space. This is not related to instancing
(multiple copies of a node in a scene graph).
This also includes the case of the node including a billboard flag without
an explicit center, which implicitly makes the node behave like an
instance.
*/
- isJoint()
C++ Interface: is_joint(EggGroup self)
- /**
Returns true if this particular node represents a <Joint> entry or not.
This is a handy thing to know since Joints are sorted to the end of their
sibling list when writing an egg file. See EggGroupNode::write().
*/
- is_instance_type()
C++ Interface: is_instance_type(EggGroup self)
- /**
Returns true if this group is an instance type node; i.e. it begins the
root of a local coordinate space. This is not related to instancing
(multiple copies of a node in a scene graph).
This also includes the case of the node including a billboard flag without
an explicit center, which implicitly makes the node behave like an
instance.
*/
- is_joint()
C++ Interface: is_joint(EggGroup self)
- /**
Returns true if this particular node represents a <Joint> entry or not.
This is a handy thing to know since Joints are sorted to the end of their
sibling list when writing an egg file. See EggGroupNode::write().
*/
- lod
- model_flag
- modifyDefaultPose()
C++ Interface: modify_default_pose(const EggGroup self)
- /**
Returns a writable accessor to the initial pose transform. This is the
<DefaultPose> entry for a Joint, and defines only the initial transform
pose for the unanimated joint; it has nothing to do with the group’s
<Transform> entry, which defines the (eventual) space of the group’s
vertices.
*/
- modify_default_pose()
C++ Interface: modify_default_pose(const EggGroup self)
- /**
Returns a writable accessor to the initial pose transform. This is the
<DefaultPose> entry for a Joint, and defines only the initial transform
pose for the unanimated joint; it has nothing to do with the group’s
<Transform> entry, which defines the (eventual) space of the group’s
vertices.
*/
- nofog_flag
- object_types
- occluder_flag
- portal_flag
- refVertex()
C++ Interface: ref_vertex(const EggGroup self, EggVertex vert, double membership)
- /**
Adds the vertex to the set of those referenced by the group, at the
indicated membership level. If the vertex is already being referenced,
increases the membership amount by the indicated amount.
*/
- ref_vertex()
C++ Interface: ref_vertex(const EggGroup self, EggVertex vert, double membership)
- /**
Adds the vertex to the set of those referenced by the group, at the
indicated membership level. If the vertex is already being referenced,
increases the membership amount by the indicated amount.
*/
- removeGroupRef()
C++ Interface: remove_group_ref(const EggGroup self, int n)
- /**
Removes the nth <Ref> entry within this group. See add_group_ref().
*/
- removeObjectType()
C++ Interface: remove_object_type(const EggGroup self, str object_type)
- /**
Removes the first instance of the indicated object type from the group if
it is present. Returns true if the object type was found and removed,
false otherwise.
*/
- remove_group_ref()
C++ Interface: remove_group_ref(const EggGroup self, int n)
- /**
Removes the nth <Ref> entry within this group. See add_group_ref().
*/
- remove_object_type()
C++ Interface: remove_object_type(const EggGroup self, str object_type)
- /**
Removes the first instance of the indicated object type from the group if
it is present. Returns true if the object type was found and removed,
false otherwise.
*/
- scroll_r
- scroll_u
- scroll_v
- scroll_w
- setBillboardCenter()
C++ Interface: set_billboard_center(const EggGroup self, const LPoint3d billboard_center)
- /**
Sets the point around which the billboard will rotate, if this node
contains a billboard specification.
If a billboard type is given but no billboard_center is specified, then the
group node is treated as an <Instance>, and the billboard rotates around
the origin. If, however, a billboard_center is specified, then the group
node is not treated as an <Instance>, and the billboard rotates around
the specified point.
The point is in the same coordinate system as the vertices of this node:
usually global, but possibly local if there is an <Instance> somewhere
above. Specifically, this is the coordinate system defined by
get_vertex_frame().
*/
- setBlendColor()
C++ Interface: set_blend_color(const EggGroup self, const LVecBase4f blend_color)
- /**
*/
- setBlendOperandA()
C++ Interface: set_blend_operand_a(const EggGroup self, int blend_operand_a)
- /**
*/
- setBlendOperandB()
C++ Interface: set_blend_operand_b(const EggGroup self, int blend_operand_b)
- /**
*/
- setCollisionName()
C++ Interface: set_collision_name(const EggGroup self, str collision_name)
- /**
*/
- setDefaultPose()
C++ Interface: set_default_pose(const EggGroup self, const EggTransform transform)
- /**
Replaces the initial pose transform. This is the <DefaultPose> entry for a
Joint, and defines only the initial transform pose for the unanimated
joint; it has nothing to do with the group’s <Transform> entry, which
defines the (eventual) space of the group’s vertices.
*/
- setFromCollideMask()
C++ Interface: set_from_collide_mask(const EggGroup self, BitMask mask)
- /**
*/
- setIndexedFlag()
C++ Interface: set_indexed_flag(const EggGroup self, bool flag)
- /**
If this flag is true, geometry at this node and below will be generated as
indexed geometry.
*/
- setIntoCollideMask()
C++ Interface: set_into_collide_mask(const EggGroup self, BitMask mask)
- /**
*/
- setScrollR()
C++ Interface: set_scroll_r(const EggGroup self, double r_speed)
- setScrollU()
C++ Interface: set_scroll_u(const EggGroup self, double u_speed)
- setScrollV()
C++ Interface: set_scroll_v(const EggGroup self, double v_speed)
- setScrollW()
C++ Interface: set_scroll_w(const EggGroup self, double w_speed)
- setTag()
C++ Interface: set_tag(const EggGroup self, str key, str value)
- /**
Associates a user-defined value with a user-defined key which is stored on
the node. This value has no meaning to Panda; but it is stored
indefinitely on the node until it is requested again. This value will be
copied to the PandaNode that is created for this particular EggGroup if the
egg file is loaded as a scene.
Each unique key stores a different string value. There is no effective
limit on the number of different keys that may be stored or on the length
of any one key’s value.
*/
- setVertexMembership()
C++ Interface: set_vertex_membership(const EggGroup self, EggVertex vert, double membership)
- /**
Explicitly sets the net membership of the indicated vertex in this group to
the given value.
*/
- set_billboard_center()
C++ Interface: set_billboard_center(const EggGroup self, const LPoint3d billboard_center)
- /**
Sets the point around which the billboard will rotate, if this node
contains a billboard specification.
If a billboard type is given but no billboard_center is specified, then the
group node is treated as an <Instance>, and the billboard rotates around
the origin. If, however, a billboard_center is specified, then the group
node is not treated as an <Instance>, and the billboard rotates around
the specified point.
The point is in the same coordinate system as the vertices of this node:
usually global, but possibly local if there is an <Instance> somewhere
above. Specifically, this is the coordinate system defined by
get_vertex_frame().
*/
- set_blend_color()
C++ Interface: set_blend_color(const EggGroup self, const LVecBase4f blend_color)
- /**
*/
- set_blend_operand_a()
C++ Interface: set_blend_operand_a(const EggGroup self, int blend_operand_a)
- /**
*/
- set_blend_operand_b()
C++ Interface: set_blend_operand_b(const EggGroup self, int blend_operand_b)
- /**
*/
- set_collision_name()
C++ Interface: set_collision_name(const EggGroup self, str collision_name)
- /**
*/
- set_default_pose()
C++ Interface: set_default_pose(const EggGroup self, const EggTransform transform)
- /**
Replaces the initial pose transform. This is the <DefaultPose> entry for a
Joint, and defines only the initial transform pose for the unanimated
joint; it has nothing to do with the group’s <Transform> entry, which
defines the (eventual) space of the group’s vertices.
*/
- set_from_collide_mask()
C++ Interface: set_from_collide_mask(const EggGroup self, BitMask mask)
- /**
*/
- set_indexed_flag()
C++ Interface: set_indexed_flag(const EggGroup self, bool flag)
- /**
If this flag is true, geometry at this node and below will be generated as
indexed geometry.
*/
- set_into_collide_mask()
C++ Interface: set_into_collide_mask(const EggGroup self, BitMask mask)
- /**
*/
- set_scroll_r()
C++ Interface: set_scroll_r(const EggGroup self, double r_speed)
- set_scroll_u()
C++ Interface: set_scroll_u(const EggGroup self, double u_speed)
- set_scroll_v()
C++ Interface: set_scroll_v(const EggGroup self, double v_speed)
- set_scroll_w()
C++ Interface: set_scroll_w(const EggGroup self, double w_speed)
- set_tag()
C++ Interface: set_tag(const EggGroup self, str key, str value)
- /**
Associates a user-defined value with a user-defined key which is stored on
the node. This value has no meaning to Panda; but it is stored
indefinitely on the node until it is requested again. This value will be
copied to the PandaNode that is created for this particular EggGroup if the
egg file is loaded as a scene.
Each unique key stores a different string value. There is no effective
limit on the number of different keys that may be stored or on the length
of any one key’s value.
*/
- set_vertex_membership()
C++ Interface: set_vertex_membership(const EggGroup self, EggVertex vert, double membership)
- /**
Explicitly sets the net membership of the indicated vertex in this group to
the given value.
*/
- stealVrefs()
C++ Interface: steal_vrefs(const EggGroup self, EggGroup other)
- /**
Moves all of the vertex references from the indicated other group into this
one. If a given vertex was previously shared by both groups, the relative
memberships will be summed.
*/
- steal_vrefs()
C++ Interface: steal_vrefs(const EggGroup self, EggGroup other)
- /**
Moves all of the vertex references from the indicated other group into this
one. If a given vertex was previously shared by both groups, the relative
memberships will be summed.
*/
- stringBillboardType()
C++ Interface: string_billboard_type(str strval)
- /**
Returns the BillboardType value associated with the given string
representation, or BT_none if the string does not match any known
BillboardType value.
*/
- stringBlendMode()
C++ Interface: string_blend_mode(str strval)
- /**
Returns the BlendMode value associated with the given string
representation, or BM_none if the string does not match any known
BlendMode.
*/
- stringBlendOperand()
C++ Interface: string_blend_operand(str strval)
- /**
Returns the BlendOperand value associated with the given string
representation, or BO_none if the string does not match any known
BlendOperand.
*/
- stringCollideFlags()
C++ Interface: string_collide_flags(str strval)
- /**
Returns the CollideFlags value associated with the given string
representation, or CF_none if the string does not match any known
CollideFlags value. This only recognizes a single keyword; it does not
attempt to parse a string of keywords.
*/
- stringCsType()
C++ Interface: string_cs_type(str strval)
- /**
Returns the CollisionSolidType value associated with the given string
representation, or CST_none if the string does not match any known
CollisionSolidType value.
*/
- stringDartType()
C++ Interface: string_dart_type(str strval)
- /**
Returns the DartType value associated with the given string representation,
or DT_none if the string does not match any known DartType value.
*/
- stringDcsType()
C++ Interface: string_dcs_type(str strval)
- /**
Returns the DCSType value associated with the given string representation,
or DC_unspecified if the string does not match any known DCSType value.
*/
- stringGroupType()
C++ Interface: string_group_type(str strval)
- /**
Returns the GroupType value associated with the given string
representation, or GT_invalid if the string does not match any known
GroupType value.
*/
- string_billboard_type()
C++ Interface: string_billboard_type(str strval)
- /**
Returns the BillboardType value associated with the given string
representation, or BT_none if the string does not match any known
BillboardType value.
*/
- string_blend_mode()
C++ Interface: string_blend_mode(str strval)
- /**
Returns the BlendMode value associated with the given string
representation, or BM_none if the string does not match any known
BlendMode.
*/
- string_blend_operand()
C++ Interface: string_blend_operand(str strval)
- /**
Returns the BlendOperand value associated with the given string
representation, or BO_none if the string does not match any known
BlendOperand.
*/
- string_collide_flags()
C++ Interface: string_collide_flags(str strval)
- /**
Returns the CollideFlags value associated with the given string
representation, or CF_none if the string does not match any known
CollideFlags value. This only recognizes a single keyword; it does not
attempt to parse a string of keywords.
*/
- string_cs_type()
C++ Interface: string_cs_type(str strval)
- /**
Returns the CollisionSolidType value associated with the given string
representation, or CST_none if the string does not match any known
CollisionSolidType value.
*/
- string_dart_type()
C++ Interface: string_dart_type(str strval)
- /**
Returns the DartType value associated with the given string representation,
or DT_none if the string does not match any known DartType value.
*/
- string_dcs_type()
C++ Interface: string_dcs_type(str strval)
- /**
Returns the DCSType value associated with the given string representation,
or DC_unspecified if the string does not match any known DCSType value.
*/
- string_group_type()
C++ Interface: string_group_type(str strval)
- /**
Returns the GroupType value associated with the given string
representation, or GT_invalid if the string does not match any known
GroupType value.
*/
- switch_flag
- switch_fps
- testVrefIntegrity()
C++ Interface: test_vref_integrity(EggGroup self)
- test_vref_integrity()
C++ Interface: test_vref_integrity(EggGroup self)
- texlist_flag
- unrefAllVertices()
C++ Interface: unref_all_vertices(const EggGroup self)
- /**
Removes all vertices from the reference list.
*/
- unrefVertex()
C++ Interface: unref_vertex(const EggGroup self, EggVertex vert)
- /**
Removes the vertex from the set of those referenced by the group. Does
nothing if the vertex is not already reffed.
*/
- unref_all_vertices()
C++ Interface: unref_all_vertices(const EggGroup self)
- /**
Removes all vertices from the reference list.
*/
- unref_vertex()
C++ Interface: unref_vertex(const EggGroup self, EggVertex vert)
- /**
Removes the vertex from the set of those referenced by the group. Does
nothing if the vertex is not already reffed.
*/
- upcastToEggGroupNode()
C++ Interface: upcast_to_EggGroupNode(const EggGroup self)
upcast from EggGroup to EggGroupNode
- upcastToEggRenderMode()
C++ Interface: upcast_to_EggRenderMode(const EggGroup self)
upcast from EggGroup to EggRenderMode
- upcastToEggTransform()
C++ Interface: upcast_to_EggTransform(const EggGroup self)
upcast from EggGroup to EggTransform
- upcast_to_EggGroupNode()
C++ Interface: upcast_to_EggGroupNode(const EggGroup self)
upcast from EggGroup to EggGroupNode
- upcast_to_EggRenderMode()
C++ Interface: upcast_to_EggRenderMode(const EggGroup self)
upcast from EggGroup to EggRenderMode
- upcast_to_EggTransform()
C++ Interface: upcast_to_EggTransform(const EggGroup self)
upcast from EggGroup to EggTransform
- write()
C++ Interface: write(EggGroup self, ostream out, int indent_level)
- /**
Writes the group and all of its children to the indicated output stream in
Egg format.
*/
- writeBillboardFlags()
C++ Interface: write_billboard_flags(EggGroup self, ostream out, int indent_level)
- /**
Writes just the <Billboard> entry and related fields to the indicated
ostream.
*/
- writeCollideFlags()
C++ Interface: write_collide_flags(EggGroup self, ostream out, int indent_level)
- /**
Writes just the <Collide> entry and related fields to the indicated
ostream.
*/
- writeDecalFlags()
C++ Interface: write_decal_flags(EggGroup self, ostream out, int indent_level)
- /**
Writes the flags related to decaling, if any.
*/
- writeModelFlags()
C++ Interface: write_model_flags(EggGroup self, ostream out, int indent_level)
- /**
Writes the <Model> flag and related flags to the indicated ostream.
*/
- writeObjectTypes()
C++ Interface: write_object_types(EggGroup self, ostream out, int indent_level)
- /**
Writes just the <ObjectTypes> entries, if any, to the indicated ostream.
*/
- writeRenderMode()
C++ Interface: write_render_mode(EggGroup self, ostream out, int indent_level)
- /**
Writes the flags inherited from EggRenderMode and similar flags that
control obscure render effects.
*/
- writeSwitchFlags()
C++ Interface: write_switch_flags(EggGroup self, ostream out, int indent_level)
- /**
Writes the <Switch> flag and related flags to the indicated ostream.
*/
- writeTags()
C++ Interface: write_tags(EggGroup self, ostream out, int indent_level)
- /**
Writes just the <Tag> entries, if any, to the indicated ostream.
*/
- write_billboard_flags()
C++ Interface: write_billboard_flags(EggGroup self, ostream out, int indent_level)
- /**
Writes just the <Billboard> entry and related fields to the indicated
ostream.
*/
- write_collide_flags()
C++ Interface: write_collide_flags(EggGroup self, ostream out, int indent_level)
- /**
Writes just the <Collide> entry and related fields to the indicated
ostream.
*/
- write_decal_flags()
C++ Interface: write_decal_flags(EggGroup self, ostream out, int indent_level)
- /**
Writes the flags related to decaling, if any.
*/
- write_model_flags()
C++ Interface: write_model_flags(EggGroup self, ostream out, int indent_level)
- /**
Writes the <Model> flag and related flags to the indicated ostream.
*/
- write_object_types()
C++ Interface: write_object_types(EggGroup self, ostream out, int indent_level)
- /**
Writes just the <ObjectTypes> entries, if any, to the indicated ostream.
*/
- write_render_mode()
C++ Interface: write_render_mode(EggGroup self, ostream out, int indent_level)
- /**
Writes the flags inherited from EggRenderMode and similar flags that
control obscure render effects.
*/