Class to store biometric datum, contains function to serialize and deserialize function to json string.
More...
Inherits EnableSerializableValue.
|
| | BiometricData () |
| | Constructor.
|
| |
| void | SetData (string name, float value, float settime=-1f) |
| | Sets the value of a particular biometric data entry.
|
| |
| string | JSONString () |
| | Returns a JSON string representation of the current BiometricData object.
|
| |
| string | Serialize () |
| | Serializes the instance of BiometricData to a JSON string.
|
| |
| object | Deserialize (string json) |
| | Deserializes a JSON string into a BiometricData object.
|
| |
|
| Dictionary< string, BiometricDatum > | data |
| | Represents a dictionary of biometric data.
|
| |
|
float | time |
| | Represents the time when the values in the class is last changed.
|
| |
|
bool | moving = false |
| | Represents the state of whether the data is currently changing or not.
|
| |
Class to store biometric datum, contains function to serialize and deserialize function to json string.
- See also
- Enablegames.EnableSerializableValue
◆ BiometricData()
| Enablegames.BiometricData.BiometricData |
( |
| ) |
|
|
inline |
Constructor.
- See also
- Enablegames.EnableSerializableValue
◆ Deserialize()
| object Enablegames.BiometricData.Deserialize |
( |
string | json | ) |
|
|
inline |
Deserializes a JSON string into a BiometricData object.
- Parameters
-
| json | The JSON string to be deserialized. |
- Returns
- A BiometricData object.
◆ JSONString()
| string Enablegames.BiometricData.JSONString |
( |
| ) |
|
|
inline |
Returns a JSON string representation of the current BiometricData object.
- Returns
- A JSON string representation of the current BiometricData object.
◆ Serialize()
| string Enablegames.BiometricData.Serialize |
( |
| ) |
|
|
inline |
Serializes the instance of BiometricData to a JSON string.
- Returns
- A JSON string representation of the BiometricData instance.
◆ SetData()
| void Enablegames.BiometricData.SetData |
( |
string | name, |
|
|
float | value, |
|
|
float | settime = -1f ) |
|
inline |
Sets the value of a particular biometric data entry.
- Parameters
-
| name | The name of the biometric data entry. |
| value | The new value for the biometric data entry. |
| settime | The time at which the data is set. Default value is -1f. |
◆ data
Represents a dictionary of biometric data.
- See also
- Enablegames.EnableSerializableValue
The documentation for this class was generated from the following file:
- /Users/yiyangshang/egdl2/Assets/eag/Scripts/enablegames/Avatar/SkeletonData.cs