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

Inheritance diagram of EggGroup

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.

*/

addObjectType()

C++ Interface: add_object_type(const EggGroup self, str object_type)

/**

*/

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.

*/

add_object_type()

C++ Interface: add_object_type(const EggGroup self, str object_type)

/**

*/

assign()

C++ Interface: assign(const EggGroup self, const EggGroup copy)

/**

*/

billboard_center
billboard_type
blend_color
blend_mode
blend_operand_a
blend_operand_b
clearBillboardCenter()

C++ Interface: clear_billboard_center(const EggGroup self)

/**

*/

clearBlendColor()

C++ Interface: clear_blend_color(const EggGroup self)

/**
  • Removes the blend color specification.

*/

clearCollideMask()

C++ Interface: clear_collide_mask(const EggGroup self)

/**

*/

clearCollisionName()

C++ Interface: clear_collision_name(const EggGroup self)

/**

*/

clearDefaultPose()

C++ Interface: clear_default_pose(const EggGroup self)

/**
  • Removes the initial pose transform. See set_default_pose().

*/

clearFromCollideMask()

C++ Interface: clear_from_collide_mask(const EggGroup self)

/**

*/

clearGroupRefs()

C++ Interface: clear_group_refs(const EggGroup self)

/**
  • Removes all of the <Ref> entries within this group. See add_group_ref().

*/

clearIndexedFlag()

C++ Interface: clear_indexed_flag(const EggGroup self)

/**

*/

clearIntoCollideMask()

C++ Interface: clear_into_collide_mask(const EggGroup self)

/**

*/

clearLod()

C++ Interface: clear_lod(const EggGroup self)

/**

*/

clearObjectTypes()

C++ Interface: clear_object_types(const EggGroup self)

/**

*/

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_billboard_center()

C++ Interface: clear_billboard_center(const EggGroup self)

/**

*/

clear_blend_color()

C++ Interface: clear_blend_color(const EggGroup self)

/**
  • Removes the blend color specification.

*/

clear_collide_mask()

C++ Interface: clear_collide_mask(const EggGroup self)

/**

*/

clear_collision_name()

C++ Interface: clear_collision_name(const EggGroup self)

/**

*/

clear_default_pose()

C++ Interface: clear_default_pose(const EggGroup self)

/**
  • Removes the initial pose transform. See set_default_pose().

*/

clear_from_collide_mask()

C++ Interface: clear_from_collide_mask(const EggGroup self)

/**

*/

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_indexed_flag()

C++ Interface: clear_indexed_flag(const EggGroup self)

/**

*/

clear_into_collide_mask()

C++ Interface: clear_into_collide_mask(const EggGroup self)

/**

*/

clear_lod()

C++ Interface: clear_lod(const EggGroup self)

/**

*/

clear_object_types()

C++ Interface: clear_object_types(const EggGroup self)

/**

*/

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
getBillboardCenter()

C++ Interface: get_billboard_center(EggGroup self)

/**

*/

getBillboardType()

C++ Interface: get_billboard_type(EggGroup self)

/**

*/

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.

*/

getBlendMode()

C++ Interface: get_blend_mode(EggGroup self)

/**

*/

getBlendOperandA()

C++ Interface: get_blend_operand_a(EggGroup self)

/**

*/

getBlendOperandB()

C++ Interface: get_blend_operand_b(EggGroup self)

/**

*/

getClassType()

C++ Interface: get_class_type()

getCollideFlags()

C++ Interface: get_collide_flags(EggGroup self)

/**

*/

getCollideMask()

C++ Interface: get_collide_mask(EggGroup self)

/**

*/

getCollisionName()

C++ Interface: get_collision_name(EggGroup self)

/**

*/

getCsType()

C++ Interface: get_cs_type(EggGroup self)

/**

*/

getDartType()

C++ Interface: get_dart_type(EggGroup self)

/**

*/

getDcsType()

C++ Interface: get_dcs_type(EggGroup self)

/**

*/

getDecalFlag()

C++ Interface: get_decal_flag(EggGroup self)

/**

*/

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.

*/

getDirectFlag()

C++ Interface: get_direct_flag(EggGroup self)

/**

*/

getFromCollideMask()

C++ Interface: get_from_collide_mask(EggGroup self)

/**

*/

getGroupRef()

C++ Interface: get_group_ref(EggGroup self, int n)

/**
  • Returns the nth <Ref> entry within this group. See add_group_ref().

*/

getGroupRefs()
getGroupType()

C++ Interface: get_group_type(EggGroup self)

/**

*/

getIndexedFlag()

C++ Interface: get_indexed_flag(EggGroup self)

/**

*/

getIntoCollideMask()

C++ Interface: get_into_collide_mask(EggGroup self)

/**

*/

getLod()

C++ Interface: get_lod(EggGroup self)

/**

*/

getModelFlag()

C++ Interface: get_model_flag(EggGroup self)

/**

*/

getNofogFlag()

C++ Interface: get_nofog_flag(EggGroup self)

/**

*/

getNumGroupRefs()

C++ Interface: get_num_group_refs(EggGroup self)

/**
  • Returns the number of <Ref> entries within this group. See

  • add_group_ref().

*/

getNumObjectTypes()

C++ Interface: get_num_object_types(EggGroup self)

/**

*/

getObjectType()

C++ Interface: get_object_type(EggGroup self, int index)

/**

*/

getObjectTypes()
getOccluderFlag()

C++ Interface: get_occluder_flag(EggGroup self)

/**

*/

getPolylightFlag()

C++ Interface: get_polylight_flag(EggGroup self)

/**

*/

getPortalFlag()

C++ Interface: get_portal_flag(EggGroup self)

/**

*/

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)

getSwitchFlag()

C++ Interface: get_switch_flag(EggGroup self)

/**

*/

getSwitchFps()

C++ Interface: get_switch_fps(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.

*/

getTexlistFlag()

C++ Interface: get_texlist_flag(EggGroup self)

/**

*/

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_billboard_center()

C++ Interface: get_billboard_center(EggGroup self)

/**

*/

get_billboard_type()

C++ Interface: get_billboard_type(EggGroup self)

/**

*/

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_blend_mode()

C++ Interface: get_blend_mode(EggGroup self)

/**

*/

get_blend_operand_a()

C++ Interface: get_blend_operand_a(EggGroup self)

/**

*/

get_blend_operand_b()

C++ Interface: get_blend_operand_b(EggGroup self)

/**

*/

get_class_type()

C++ Interface: get_class_type()

get_collide_flags()

C++ Interface: get_collide_flags(EggGroup self)

/**

*/

get_collide_mask()

C++ Interface: get_collide_mask(EggGroup self)

/**

*/

get_collision_name()

C++ Interface: get_collision_name(EggGroup self)

/**

*/

get_cs_type()

C++ Interface: get_cs_type(EggGroup self)

/**

*/

get_dart_type()

C++ Interface: get_dart_type(EggGroup self)

/**

*/

get_dcs_type()

C++ Interface: get_dcs_type(EggGroup self)

/**

*/

get_decal_flag()

C++ Interface: get_decal_flag(EggGroup self)

/**

*/

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_direct_flag()

C++ Interface: get_direct_flag(EggGroup self)

/**

*/

get_from_collide_mask()

C++ Interface: get_from_collide_mask(EggGroup self)

/**

*/

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_group_type()

C++ Interface: get_group_type(EggGroup self)

/**

*/

get_indexed_flag()

C++ Interface: get_indexed_flag(EggGroup self)

/**

*/

get_into_collide_mask()

C++ Interface: get_into_collide_mask(EggGroup self)

/**

*/

get_lod()

C++ Interface: get_lod(EggGroup self)

/**

*/

get_model_flag()

C++ Interface: get_model_flag(EggGroup self)

/**

*/

get_nofog_flag()

C++ Interface: get_nofog_flag(EggGroup self)

/**

*/

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_num_object_types()

C++ Interface: get_num_object_types(EggGroup self)

/**

*/

get_object_type()

C++ Interface: get_object_type(EggGroup self, int index)

/**

*/

get_object_types()
get_occluder_flag()

C++ Interface: get_occluder_flag(EggGroup self)

/**

*/

get_polylight_flag()

C++ Interface: get_polylight_flag(EggGroup self)

/**

*/

get_portal_flag()

C++ Interface: get_portal_flag(EggGroup self)

/**

*/

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_switch_flag()

C++ Interface: get_switch_flag(EggGroup self)

/**

*/

get_switch_fps()

C++ Interface: get_switch_fps(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_texlist_flag()

C++ Interface: get_texlist_flag(EggGroup self)

/**

*/

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
hasBillboardCenter()

C++ Interface: has_billboard_center(EggGroup self)

/**

*/

hasBlendColor()

C++ Interface: has_blend_color(EggGroup self)

/**
  • Returns true if the blend color has been specified, false otherwise.

*/

hasCollideMask()

C++ Interface: has_collide_mask(EggGroup self)

/**

*/

hasCollisionName()

C++ Interface: has_collision_name(EggGroup self)

/**

*/

hasDcsType()

C++ Interface: has_dcs_type(EggGroup self)

/**
  • Returns true if the specified DCS type is not DC_none and not

  • DC_unspecified.

*/

hasFromCollideMask()

C++ Interface: has_from_collide_mask(EggGroup self)

/**

*/

hasIndexedFlag()

C++ Interface: has_indexed_flag(EggGroup self)

/**

*/

hasIntoCollideMask()

C++ Interface: has_into_collide_mask(EggGroup self)

/**

*/

hasLod()

C++ Interface: has_lod(EggGroup self)

/**

*/

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_billboard_center()

C++ Interface: has_billboard_center(EggGroup self)

/**

*/

has_blend_color()

C++ Interface: has_blend_color(EggGroup self)

/**
  • Returns true if the blend color has been specified, false otherwise.

*/

has_collide_mask()

C++ Interface: has_collide_mask(EggGroup self)

/**

*/

has_collision_name()

C++ Interface: has_collision_name(EggGroup self)

/**

*/

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_from_collide_mask()

C++ Interface: has_from_collide_mask(EggGroup self)

/**

*/

has_indexed_flag()

C++ Interface: has_indexed_flag(EggGroup self)

/**

*/

has_into_collide_mask()

C++ Interface: has_into_collide_mask(EggGroup self)

/**

*/

has_lod()

C++ Interface: has_lod(EggGroup self)

/**

*/

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().

*/

setBillboardType()

C++ Interface: set_billboard_type(const EggGroup self, int type)

/**

*/

setBlendColor()

C++ Interface: set_blend_color(const EggGroup self, const LVecBase4f blend_color)

/**

*/

setBlendMode()

C++ Interface: set_blend_mode(const EggGroup self, int blend_mode)

/**

*/

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)

/**

*/

setCollideFlags()

C++ Interface: set_collide_flags(const EggGroup self, int flags)

/**

*/

setCollideMask()

C++ Interface: set_collide_mask(const EggGroup self, BitMask mask)

/**

*/

setCollisionName()

C++ Interface: set_collision_name(const EggGroup self, str collision_name)

/**

*/

setCsType()

C++ Interface: set_cs_type(const EggGroup self, int type)

/**

*/

setDartType()

C++ Interface: set_dart_type(const EggGroup self, int type)

/**

*/

setDcsType()

C++ Interface: set_dcs_type(const EggGroup self, int type)

/**

*/

setDecalFlag()

C++ Interface: set_decal_flag(const EggGroup self, bool flag)

/**

*/

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.

*/

setDirectFlag()

C++ Interface: set_direct_flag(const EggGroup self, bool flag)

/**

*/

setFromCollideMask()

C++ Interface: set_from_collide_mask(const EggGroup self, BitMask mask)

/**

*/

setGroupType()

C++ Interface: set_group_type(const EggGroup self, int type)

/**

*/

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)

/**

*/

setLod()

C++ Interface: set_lod(const EggGroup self, const EggSwitchCondition lod)

/**

*/

setModelFlag()

C++ Interface: set_model_flag(const EggGroup self, bool flag)

/**

*/

setNofogFlag()

C++ Interface: set_nofog_flag(const EggGroup self, bool flag)

/**

*/

setOccluderFlag()

C++ Interface: set_occluder_flag(const EggGroup self, bool flag)

/**

*/

setPolylightFlag()

C++ Interface: set_polylight_flag(const EggGroup self, bool flag)

/**

*/

setPortalFlag()

C++ Interface: set_portal_flag(const EggGroup self, bool flag)

/**

*/

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)

setSwitchFlag()

C++ Interface: set_switch_flag(const EggGroup self, bool flag)

/**

*/

setSwitchFps()

C++ Interface: set_switch_fps(const EggGroup self, double fps)

/**

*/

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.

*/

setTexlistFlag()

C++ Interface: set_texlist_flag(const EggGroup self, bool flag)

/**

*/

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_billboard_type()

C++ Interface: set_billboard_type(const EggGroup self, int type)

/**

*/

set_blend_color()

C++ Interface: set_blend_color(const EggGroup self, const LVecBase4f blend_color)

/**

*/

set_blend_mode()

C++ Interface: set_blend_mode(const EggGroup self, int blend_mode)

/**

*/

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_collide_flags()

C++ Interface: set_collide_flags(const EggGroup self, int flags)

/**

*/

set_collide_mask()

C++ Interface: set_collide_mask(const EggGroup self, BitMask mask)

/**

*/

set_collision_name()

C++ Interface: set_collision_name(const EggGroup self, str collision_name)

/**

*/

set_cs_type()

C++ Interface: set_cs_type(const EggGroup self, int type)

/**

*/

set_dart_type()

C++ Interface: set_dart_type(const EggGroup self, int type)

/**

*/

set_dcs_type()

C++ Interface: set_dcs_type(const EggGroup self, int type)

/**

*/

set_decal_flag()

C++ Interface: set_decal_flag(const EggGroup self, bool flag)

/**

*/

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_direct_flag()

C++ Interface: set_direct_flag(const EggGroup self, bool flag)

/**

*/

set_from_collide_mask()

C++ Interface: set_from_collide_mask(const EggGroup self, BitMask mask)

/**

*/

set_group_type()

C++ Interface: set_group_type(const EggGroup self, int type)

/**

*/

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_lod()

C++ Interface: set_lod(const EggGroup self, const EggSwitchCondition lod)

/**

*/

set_model_flag()

C++ Interface: set_model_flag(const EggGroup self, bool flag)

/**

*/

set_nofog_flag()

C++ Interface: set_nofog_flag(const EggGroup self, bool flag)

/**

*/

set_occluder_flag()

C++ Interface: set_occluder_flag(const EggGroup self, bool flag)

/**

*/

set_polylight_flag()

C++ Interface: set_polylight_flag(const EggGroup self, bool flag)

/**

*/

set_portal_flag()

C++ Interface: set_portal_flag(const EggGroup self, bool flag)

/**

*/

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_switch_flag()

C++ Interface: set_switch_flag(const EggGroup self, bool flag)

/**

*/

set_switch_fps()

C++ Interface: set_switch_fps(const EggGroup self, double fps)

/**

*/

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_texlist_flag()

C++ Interface: set_texlist_flag(const EggGroup self, bool flag)

/**

*/

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.

*/

write_switch_flags()

C++ Interface: write_switch_flags(EggGroup self, ostream out, int indent_level)

/**
  • Writes the <Switch> flag and related flags to the indicated ostream.

*/

write_tags()

C++ Interface: write_tags(EggGroup self, ostream out, int indent_level)

/**
  • Writes just the <Tag> entries, if any, to the indicated ostream.

*/