| KM_ControllerSetUserDataFloat Method |
Sets a 32 bit word with a 32-bit float of user data
To get the value in KFLOP in C do:
float f = *(float *)&persist.UserData[index];
Namespace: KMotion_dotNetAssembly: KMotion_dotNet (in KMotion_dotNet.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax public void SetUserDataFloat(
int index,
float fdata
)
Public Sub SetUserDataFloat (
index As Integer,
fdata As Single
)
public:
void SetUserDataFloat(
int index,
float fdata
)
Parameters
- index Int32
- array offset (0-199)
- fdata Single
- 32bits float data to store
See Also