Vhi.MovementConfigLoader
VHI_godot¶
Vhi¶
MovementConfigLoader Class¶
Loads hand movement configurations from TOML files
Inheritance System.Object → MovementConfigLoader
Fields¶
MovementConfigLoader.RigNativeConvention Field¶
The `convention` value meaning "degrees as this rig renders them".
Field Value¶
Remarks¶
Positive X is flexion. A file without a `convention` key predates the distinction and is Unity-signed, the opposite way round; see ConventionOf(TomlTable).
Methods¶
MovementConfigLoader.ConventionOf(TomlTable) Method¶
A parsed config's declared convention, or the legacy one if it declares none.
Returns¶
MovementConfigLoader.GetMovementNames(Dictionary\<string,float[][][]>) Method¶
Get list of available movement names from config
public static string[] GetMovementNames(System.Collections.Generic.Dictionary<string,float[][][]> poses);
Returns¶
MovementConfigLoader.LoadConfig(string) Method¶
Load movements from a TOML config file.
Returns a Dictionary<movementName, float[16][2][3]> (16 joints,
2 poses - max-flexion and rest, 3 Euler axes); returns null
on parse or I/O failure.
public static System.Collections.Generic.Dictionary<string,float[][][]> LoadConfig(string filePath);
Returns¶
System.Collections.Generic.Dictionary<System.String,System.Single[][][]>