DCMolecularField

from panda3d.direct import DCMolecularField
class DCMolecularField

Bases: DCField

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.

Inheritance diagram

Inheritance diagram of DCMolecularField

__init__(*args, **kwargs)
getAtomic()

C++ Interface: get_atomic(DCMolecularField self, int n)

/**
  • Returns the nth atomic field that makes up this molecular field. This may

  • or may not be a field of this particular class; it might be defined in a

  • parent class.

*/

getNumAtomics()

C++ Interface: get_num_atomics(DCMolecularField self)

/**
  • Returns the number of atomic fields that make up this molecular field.

*/

get_atomic()

C++ Interface: get_atomic(DCMolecularField self, int n)

/**
  • Returns the nth atomic field that makes up this molecular field. This may

  • or may not be a field of this particular class; it might be defined in a

  • parent class.

*/

get_num_atomics()

C++ Interface: get_num_atomics(DCMolecularField self)

/**
  • Returns the number of atomic fields that make up this molecular field.

*/