VrpnClient

from panda3d.vrpn import VrpnClient
class VrpnClient

Bases:

Bases: ClientBase

A specific ClientBase that connects to a VRPN server and records information on the connected VRPN devices.

Inheritance diagram

Inheritance diagram of VrpnClient

__init__(server_name: str)
static getClassType() → panda3d.core.TypeHandle
getServerName() → str

Returns the name of the server as passed to the VrpnClient constructor.

isConnected() → bool

Returns true if the connection is established successfully, false otherwise.

isValid() → bool

Returns true if everything seems to be kosher with the server (even if there is no connection), or false otherwise.

write(out: panda3d.core.ostream, indent_level: int)

Writes a list of the active devices that the VrpnClient is currently polling each frame.