Panda3D
Classes | Enumerations | Functions
panda3d::direct Namespace Reference

Classes

class  CConnectionRepository
 This class implements the C++ side of the ConnectionRepository object. In particular, it manages the connection to the server once it has been opened (but does not open it directly). It manages reading and writing datagrams on the connection and monitoring for unexpected disconnects as well as handling intentional disconnects. More...
 
class  CConstrainHprInterval
 A constraint interval that will constrain the orientation of one node to the orientation of another. More...
 
class  CConstrainPosHprInterval
 A constraint interval that will constrain the position and orientation of one node to the position and orientation of another. More...
 
class  CConstrainPosInterval
 A constraint interval that will constrain the position of one node to the position of another. More...
 
class  CConstraintInterval
 The base class for a family of intervals that constrain some property to a value over time. More...
 
class  CConstrainTransformInterval
 A constraint interval that will constrain the transform of one node to the transform of another. More...
 
class  CDistributedSmoothNodeBase
 This class defines some basic methods of DistributedSmoothNodeBase which have been moved into C++ as a performance optimization. More...
 
class  CInterval
 The base class for timeline components. A CInterval represents a single action, event, or collection of nested intervals that will be performed at some specific time or over a period of time. More...
 
class  CIntervalManager
 This object holds a number of currently-playing intervals and is responsible for advancing them each frame as needed. More...
 
class  CLerpAnimEffectInterval
 This interval lerps between different amounts of control effects for various AnimControls that might be playing on an actor. It's used to change the blending amount between multiple animations. More...
 
class  CLerpInterval
 The base class for a family of intervals that linearly interpolate one or more numeric values over time. More...
 
class  CLerpNodePathInterval
 An interval that lerps one or more properties (like pos, hpr, etc.) on a NodePath over time. More...
 
class  CMetaInterval
 This interval contains a list of nested intervals, each of which has its own begin and end times. Some of them may overlap and some of them may not. More...
 
class  DCArrayParameter
 This represents an array of some other kind of object, meaning this parameter type accepts an arbitrary (or possibly fixed) number of nested fields, all of which are of the same type. More...
 
class  DCAtomicField
 A single atomic field of a Distributed Class, as read from a .dc file. This defines an interface to the Distributed Class, and is always implemented as a remote procedure method. More...
 
class  DCClass
 Defines a particular DistributedClass as read from an input .dc file. More...
 
class  DCClassParameter
 This represents a class (or struct) object used as a parameter itself. This means that all the fields of the class get packed into the message. More...
 
class  DCDeclaration
 This is a common interface for a declaration in a DC file. Currently, this is either a class or a typedef declaration (import declarations are still collected together at the top, and don't inherit from this object). Its only purpose is so that classes and typedefs can be stored in one list together so they can be ordered correctly on output. More...
 
class  DCField
 A single field of a Distributed Class, either atomic or molecular. More...
 
class  DCFile
 Represents the complete list of Distributed Class descriptions as read from a .dc file. More...
 
class  DCKeyword
 This represents a single keyword declaration in the dc file. It is used to define a communication property associated with a field, for instance "broadcast" or "airecv". More...
 
class  DCKeywordList
 This is a list of keywords (see DCKeyword) that may be set on a particular field. More...
 
class  DCMolecularField
 A single molecular field of a Distributed Class, as read from a .dc file. This represents a combination of two or more related atomic fields, that will often be treated as a unit. More...
 
class  DCPackData
 This is a block of data that receives the results of DCPacker. More...
 
class  DCPacker
 This class can be used for packing a series of numeric and string data into a binary stream, according to the DC specification. More...
 
class  DCPackerInterface
 This defines the internal interface for packing values into a DCField. The various different DC objects inherit from this. More...
 
class  DCParameter
 Represents the type specification for a single parameter within a field specification. This may be a simple type, or it may be a class or an array reference. More...
 
class  DCSimpleParameter
 This is the most fundamental kind of parameter type: a single number or string, one of the DCSubatomicType elements. It may also optionally have a divisor, which is meaningful only for the numeric type elements (and represents a fixed-point numeric convention). More...
 
class  DCSwitch
 This represents a switch statement, which can appear inside a class body and represents two or more alternative unpacking schemes based on the first field read. More...
 
class  DCSwitchParameter
 This represents a switch object used as a parameter itself, which packs the appropriate fields of the switch into the message. More...
 
class  DCTypedef
 This represents a single typedef declaration in the dc file. It assigns a particular type to a new name, just like a C typedef. More...
 
class  EaseInBlendType
 
class  EaseInOutBlendType
 
class  EaseOutBlendType
 
class  HideInterval
 An interval that calls NodePath::hide(). More...
 
class  LerpBlendType
 
class  NoBlendType
 
class  ShowInterval
 An interval that calls NodePath::show(). More...
 
class  SmoothMover
 This class handles smoothing of sampled motion points over time, e.g. for smoothing the apparent movement of remote avatars, whose positions are sent via occasional telemetry updates. More...
 
class  WaitInterval
 This interval does absolutely nothing, and is mainly useful for marking time between other intervals within a sequence. More...
 

Enumerations

enum  DCPackType {
  PT_invalid = 0, PT_double = 1, PT_int = 2, PT_uint = 3,
  PT_int64 = 4, PT_uint64 = 5, PT_string = 6, PT_blob = 7,
  PT_array = 8, PT_field = 9, PT_class = 10, PT_switch = 11
}
 This enumerated type is returned by get_pack_type() and represents the best choice for a subsequent call to pack_*() or unpack_*(). More...
 
enum  DCSubatomicType {
  ST_int8 = 0, ST_int16 = 1, ST_int32 = 2, ST_int64 = 3,
  ST_uint8 = 4, ST_uint16 = 5, ST_uint32 = 6, ST_uint64 = 7,
  ST_float64 = 8, ST_string = 9, ST_blob = 10, ST_blob32 = 11,
  ST_int16array = 12, ST_int32array = 13, ST_uint16array = 14, ST_uint32array = 15,
  ST_int8array = 16, ST_uint8array = 17, ST_uint32uint8array = 18, ST_char = 19,
  ST_invalid = 20
}
 This defines the numeric type of each element of a DCAtomicField; that is, the particular values that will get added to the message when the atomic field method is called. More...
 

Functions

 addFullscreenTestsize (int xsize, int ysize)
 klunky interface since we cant pass array from python->C++ More...
 
 allowAccessibilityShortcutKeys (bool allowKeys)
 
DConfig getConfigShowbase ()
 Returns the configure object for accessing config variables from a scripting language. More...
 
ConfigVariableSearchPath getParticlePath ()
 
 initAppForGui ()
 
bool queryFullscreenTestresult (int xsize, int ysize)
 
 runtestFullscreenSizes (GraphicsWindow win)
 
 storeAccessibilityShortcutKeys ()
 to handle windows stickykeys More...
 
 throwNewFrame ()
 

Enumeration Type Documentation

◆ DCPackType

enum DCPackType

This enumerated type is returned by get_pack_type() and represents the best choice for a subsequent call to pack_*() or unpack_*().

Enumerator
PT_invalid 

This one should never be returned in a normal situation.

PT_double 

These PackTypes are all fundamental types, and should be packed (or unpacked) with the corresponding call to pack_double(), pack_int(), etc. PT_blob is the same as PT_string, but implies that the string contains binary data.

PT_int 
PT_uint 
PT_int64 
PT_uint64 
PT_string 
PT_blob 
PT_array 

The remaining PackTypes imply a need to call push() and pop(). They are all variants on the same thing: a list of nested fields, but the PackType provides a bit of a semantic context.

PT_field 
PT_class 
PT_switch 

◆ DCSubatomicType

This defines the numeric type of each element of a DCAtomicField; that is, the particular values that will get added to the message when the atomic field method is called.

Enumerator
ST_int8 
ST_int16 
ST_int32 
ST_int64 
ST_uint8 
ST_uint16 
ST_uint32 
ST_uint64 
ST_float64 
ST_string 

a human-printable string

ST_blob 

any variable length message, stored as a string

ST_blob32 

a blob with a 32-bit length, up to 4.2 GB long

ST_int16array 
ST_int32array 
ST_uint16array 
ST_uint32array 
ST_int8array 
ST_uint8array 
ST_uint32uint8array 

A special-purpose array: a list of alternating uint32 and uint8 values. In Python, this becomes a list of 2-tuples.

ST_char 

Equivalent to uint8, except that it suggests a pack_type of PT_string.

ST_invalid 

Function Documentation

◆ addFullscreenTestsize()

panda3d::direct::addFullscreenTestsize ( int  xsize,
int  ysize 
)

klunky interface since we cant pass array from python->C++

◆ allowAccessibilityShortcutKeys()

panda3d::direct::allowAccessibilityShortcutKeys ( bool  allowKeys)

◆ getConfigShowbase()

DConfig panda3d::direct::getConfigShowbase ( )

Returns the configure object for accessing config variables from a scripting language.

◆ getParticlePath()

ConfigVariableSearchPath panda3d::direct::getParticlePath ( )

◆ initAppForGui()

panda3d::direct::initAppForGui ( )

◆ queryFullscreenTestresult()

bool panda3d::direct::queryFullscreenTestresult ( int  xsize,
int  ysize 
)

◆ runtestFullscreenSizes()

panda3d::direct::runtestFullscreenSizes ( GraphicsWindow  win)

◆ storeAccessibilityShortcutKeys()

panda3d::direct::storeAccessibilityShortcutKeys ( )

to handle windows stickykeys

◆ throwNewFrame()

panda3d::direct::throwNewFrame ( )