panda3d.vrpn.VrpnClient

from panda3d.vrpn import VrpnClient
class VrpnClient

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) → None
getServerName() → str

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

isValid() → bool

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

isConnected() → bool

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

write(out: ostream, indent_level: int) → None

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

static getClassType() → TypeHandle
Return type

TypeHandle