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

Classes

class  CConnectionRepository
 This class implements the C++ side of the ConnectionRepository object. 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. 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. 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. More...
 
class  CMotionTrail
 The method used in creating the motion trail is based on taking samples of time and transformations (the position and orientation matrix) in real- time. 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. 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. More...
 
class  DCDeclaration
 This is a common interface for a declaration in a DC file. 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. 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. 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. More...
 
class  DCParameter
 Represents the type specification for a single parameter within a field specification. More...
 
class  DCSimpleParameter
 This is the most fundamental kind of parameter type: a single number or string, one of the DCSubatomicType elements. 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. 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. 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
}
 
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)
 
 allowAccessibilityShortcutKeys (bool allowKeys)
 
ConfigVariableSearchPath getParticlePath ()
 
 initAppForGui ()
 
bool queryFullscreenTestresult (int xsize, int ysize)
 
 runtestFullscreenSizes (GraphicsWindow win)
 
 storeAccessibilityShortcutKeys ()
 
 throwNewFrame ()
 

Enumeration Type Documentation

◆ DCPackType

enum DCPackType
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 similar to PT_string, except that it contains arbitrary binary data instead of just UTF-8 text.

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 
)

◆ allowAccessibilityShortcutKeys()

panda3d::direct::allowAccessibilityShortcutKeys ( bool  allowKeys)

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

◆ throwNewFrame()

panda3d::direct::throwNewFrame ( )