Drag[en]gine Script Module DragonScript
1.23
|
Synchronized quaternion value. More...
Public Member Functions | |
Constructors | |
SynchronizedQuaternion | new () |
Create synchronized quaternion value with initial value of 0. More... | |
SynchronizedQuaternion | new (Quaternion value) |
Create synchronized quaternion value with initial value. More... | |
SynchronizedQuaternion | new (SynchronizedQuaternion copy) |
Create copy of synchronized quaternion value. More... | |
Management | |
Quaternion | getValue () |
Value of network state or local value if not set. More... | |
void | setValue (Quaternion 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 quaternion value.
Local quaternion value optionally synchronized across the network using a NetworkState value.
This is a native class.
NetworkState Dragengine.Networking.SynchronizedQuaternion.getNetworkState | ( | ) |
Linked network state or null if not set.
int Dragengine.Networking.SynchronizedQuaternion.getNetworkStateValue | ( | ) |
Linked network state value index or -1 if not set.
Quaternion Dragengine.Networking.SynchronizedQuaternion.getValue | ( | ) |
Value of network state or local value if not set.
SynchronizedQuaternion Dragengine.Networking.SynchronizedQuaternion.new | ( | ) |
Create synchronized quaternion value with initial value of 0.
SynchronizedQuaternion Dragengine.Networking.SynchronizedQuaternion.new | ( | Quaternion | value | ) |
Create synchronized quaternion value with initial value.
SynchronizedQuaternion Dragengine.Networking.SynchronizedQuaternion.new | ( | SynchronizedQuaternion | copy | ) |
Create copy of synchronized quaternion value.
void Dragengine.Networking.SynchronizedQuaternion.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.SynchronizedQuaternion.setValue | ( | Quaternion | value | ) |
Set value and update network state if set.
String Dragengine.Networking.SynchronizedQuaternion.toString | ( | ) |
String representation.