Helper class to facilitate the storage of the bones information in order to send it to the server.
More...
|
| BonesInfo () |
| Constructor for the class that initializes the NumberFormatInfo and the list of bones.
|
void | AddInfo (List< Transform > b) |
| Adds the information from the list passed as a parameter to the class list.
|
string | ToJSON (int index, out int lastIndex) |
| Transforms the list of bones into a text string in JSON format.
|
Helper class to facilitate the storage of the bones information in order to send it to the server.
◆ AddInfo()
void BonesInfo.AddInfo |
( |
List< Transform > | b | ) |
|
|
inline |
Adds the information from the list passed as a parameter to the class list.
- Parameters
-
b | List of Transforms to storage. |
◆ ToJSON()
string BonesInfo.ToJSON |
( |
int | index, |
|
|
out int | lastIndex ) |
|
inline |
Transforms the list of bones into a text string in JSON format.
- Parameters
-
index | Index from where it should start. |
lastIndex | Index where it ends as an output parameter. This parameter is required to ensure consistency with the number in the bone names sent to the server when called multiple times in a row. |
- Returns
- Text string of bone information in JSON format.
The documentation for this class was generated from the following file: