DialNode
from panda3d.core import DialNode
- class DialNode
Bases:
DataNode
This is the primary interface to infinite dial type devices associated with a ClientBase. This creates a node that connects to the named dial device, if it exists, and provides hooks to the user to read the state of any of the sequentially numbered dial controls associated with that device.
A dial is a rotating device that does not have stops–it can keep rotating any number of times. Therefore it does not have a specific position at any given time, unlike an AnalogDevice.
Inheritance diagram
- __init__(*args, **kwargs)
- getClassType()
C++ Interface: get_class_type()
- getNumDials()
C++ Interface: get_num_dials(DialNode self)
- /**
Returns the number of dial dials known to the DialNode. This number may
change as more dials are discovered.
*/
- get_class_type()
C++ Interface: get_class_type()
- get_num_dials()
C++ Interface: get_num_dials(DialNode self)
- /**
Returns the number of dial dials known to the DialNode. This number may
change as more dials are discovered.
*/
- isDialKnown()
C++ Interface: is_dial_known(DialNode self, int index)
- /**
Returns true if the state of the indicated dial dial is known, or false if
we have never heard anything about this particular dial.
*/
- isValid()
C++ Interface: is_valid(DialNode self)
- /**
Returns true if the DialNode is valid and connected to a server, false
otherwise.
*/
- is_dial_known()
C++ Interface: is_dial_known(DialNode self, int index)
- /**
Returns true if the state of the indicated dial dial is known, or false if
we have never heard anything about this particular dial.
*/
- is_valid()
C++ Interface: is_valid(DialNode self)
- /**
Returns true if the DialNode is valid and connected to a server, false
otherwise.
*/