Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Networking.SynchronizedDVector Class Reference

Synchronized double precision vector value. More...

Inheritance diagram for Dragengine.Networking.SynchronizedDVector:

Public Member Functions

Constructors
SynchronizedDVector new ()
 Create synchronized double precision vector value with initial value of 0.
SynchronizedDVector new (DVector value)
 Create synchronized double precision vector value with initial value.
SynchronizedDVector new (SynchronizedDVector copy)
 Create copy of synchronized double precision vector value.
Management
DVector getValue ()
 Value of network state or local value if not set.
void setValue (DVector value)
 Set value and update network state if set.
NetworkState getNetworkState ()
 Linked network state or null if not set.
int getNetworkStateValue ()
 Linked network state value index or -1 if not set.
void setNetworkState (NetworkState state, int value)
 Set network state value to synchronize or null to clear.
String toString ()
 String representation.

Detailed Description

Synchronized double precision vector value.

Local double precision vector value optionally synchronized across the network using a NetworkState value.

This is a native class.

Member Function Documentation

◆ getNetworkState()

NetworkState Dragengine.Networking.SynchronizedDVector.getNetworkState ( )

Linked network state or null if not set.

References setValue().

Referenced by getNetworkStateValue().

◆ getNetworkStateValue()

int Dragengine.Networking.SynchronizedDVector.getNetworkStateValue ( )

Linked network state value index or -1 if not set.

References getNetworkState().

Referenced by setNetworkState().

◆ getValue()

DVector Dragengine.Networking.SynchronizedDVector.getValue ( )

Value of network state or local value if not set.

Referenced by setValue().

◆ new() [1/3]

SynchronizedDVector Dragengine.Networking.SynchronizedDVector.new ( )

Create synchronized double precision vector value with initial value of 0.

References new().

Referenced by new(), new(), and new().

◆ new() [2/3]

SynchronizedDVector Dragengine.Networking.SynchronizedDVector.new ( DVector value)

Create synchronized double precision vector value with initial value.

References new().

◆ new() [3/3]

SynchronizedDVector Dragengine.Networking.SynchronizedDVector.new ( SynchronizedDVector copy)

Create copy of synchronized double precision vector value.

References new().

◆ setNetworkState()

void Dragengine.Networking.SynchronizedDVector.setNetworkState ( NetworkState state,
int value )

Set network state value to synchronize or null to clear.

Exceptions
EOutOfBoundaryvalue is less than 0 or larger than or equal to network state value count.

References getNetworkStateValue().

Referenced by toString().

◆ setValue()

void Dragengine.Networking.SynchronizedDVector.setValue ( DVector value)

Set value and update network state if set.

References getValue().

Referenced by getNetworkState().

◆ toString()

String Dragengine.Networking.SynchronizedDVector.toString ( )

String representation.

References setNetworkState(), and toString().

Referenced by toString().


The documentation for this class was generated from the following file: