---
title: "NatNetDriver"
description: "API documentation for NatNetDriver"
url: https://developer.disguise.one/python-api/docs/natnetdriver/
---

# NatNetDriver

Base class (inherits properties and methods): _[ScreenPositionDriver](/python-api/docs/screenpositiondriver#screenpositiondriver)_

## Properties

#### **dataPort** : _int_

Data Port on which to receive data.

_UserName: Data Port_

#### **getCurrentServerCommandPort** : _str_ _(Read-Only)_

#### **getCurrentServerDataPort** : _str_ _(Read-Only)_

#### **getCurrentServerDescription** : _str_ _(Read-Only)_

#### **getCurrentServerVersion** : _str_ _(Read-Only)_

#### **getSDKVersion** : _str_ _(Read-Only)_

#### **getServers** : _List\[str\]_ _(Read-Only)_

#### **intervalThresholdSec** : _float_

Interval to filter out noise. If the interval time between samples is bigger, detection will be ignored.

_UserName: Sample interval threshold (sec)_

#### **multicastAddress** : _str_

Multicast Address. Leave blank for broadcast or unicast.

_UserName: Multicast Address_

#### **newMarkerTimeoutS** : _float_

#### **predictionSamples** : _int_

Number of samples to use for prediction.

_UserName: Sample size_

#### **predictionTerms** : _int_

Term of curve. Prediction is done by curve fitting.

_UserName: Terms_

#### **serverDiscoveryInProgress** : _bool_ _(Read-Only)_

#### **serverIPAddress** : _str_

Server IP Address to connect.

_UserName: Server IP Address_

#### **tToPredictAheadSec** : _float_

Time ahead to predict (in seconds).

_UserName: Prediction time (sec)_

## Methods

#### **connectToServer**(self, serverAddress: _str_)

#### **startServerDiscovery**(self)

#### **stopServerDiscovery**(self)
