Gets a copy of a remote client's floating point variable by name. This variable is set by the remote client using TAgkNetwork.SetLocalFloat.
function GetFloat(const Name: String): Single;
|
Parameters |
Description |
|
const Name: String |
The name of the variable. |
The value of the variable.
If the variable was set as a resetting variable it will return to 0 once read. This does not affect other clients ability to read the original value. They will each reset their own copy.
If the specified client has not set a variable of the given name the value 0 is returned.
|
Copyright (c) 2012. All rights reserved.
|