Drag[en]gine Script Module DragonScript
1.23
|
Synchronized double precision vector value. More...
Public Member Functions | |
Constructors | |
SynchronizedDVector | new () |
Create synchronized double precision vector value with initial value of 0. More... | |
SynchronizedDVector | new (DVector value) |
Create synchronized double precision vector value with initial value. More... | |
SynchronizedDVector | new (SynchronizedDVector copy) |
Create copy of synchronized double precision vector value. More... | |
Management | |
DVector | getValue () |
Value of network state or local value if not set. More... | |
void | setValue (DVector value) |
Set value and update network state if set. More... | |
NetworkState | getNetworkState () |
Linked network state or null if not set. More... | |
int | getNetworkStateValue () |
Linked network state value index or -1 if not set. More... | |
void | setNetworkState (NetworkState state, int value) |
Set network state value to synchronize or null to clear. More... | |
String | toString () |
String representation. More... | |
Synchronized double precision vector value.
Local double precision vector value optionally synchronized across the network using a NetworkState value.
This is a native class.
NetworkState Dragengine.Networking.SynchronizedDVector.getNetworkState | ( | ) |
Linked network state or null if not set.
int Dragengine.Networking.SynchronizedDVector.getNetworkStateValue | ( | ) |
Linked network state value index or -1 if not set.
DVector Dragengine.Networking.SynchronizedDVector.getValue | ( | ) |
Value of network state or local value if not set.
SynchronizedDVector Dragengine.Networking.SynchronizedDVector.new | ( | ) |
Create synchronized double precision vector value with initial value of 0.
SynchronizedDVector Dragengine.Networking.SynchronizedDVector.new | ( | DVector | value | ) |
Create synchronized double precision vector value with initial value.
SynchronizedDVector Dragengine.Networking.SynchronizedDVector.new | ( | SynchronizedDVector | copy | ) |
Create copy of synchronized double precision vector value.
void Dragengine.Networking.SynchronizedDVector.setNetworkState | ( | NetworkState | state, |
int | value | ||
) |
Set network state value to synchronize or null to clear.
EOutOfBoundary | value is less than 0 or larger than or equal to network state value count. |
void Dragengine.Networking.SynchronizedDVector.setValue | ( | DVector | value | ) |
Set value and update network state if set.
String Dragengine.Networking.SynchronizedDVector.toString | ( | ) |
String representation.