panda3d.direct.DCSwitchParameter

class DCSwitchParameter

Bases: DCParameter

This represents a switch object used as a parameter itself, which packs the appropriate fields of the switch into the message.

Inheritance diagram

Inheritance diagram of DCSwitchParameter

getSwitch() → DCSwitch

Returns the switch object this parameter represents.

Return type

DCSwitch