how to use metaCommand for vectors
Hi all,
To manage arguments (input, output, parameters) I want to use the library <metaCommand>.
For scalars (dimension 1), I use the function GetValueAsFloat to get the values as follow:
1 2 3
|
float point;
command.SetOption("Point","c",false,"Get point");
args.Point = command.GetValueAsFloat("Point","floatval");
|
Now I want to use metaCommand for vectors (3 dimensions), I'm looking for the equivalent of GetValueAsFloat:
1 2 3
|
float point[3];
command.SetOption("Point","c",false,"Get point");
args.Point = command.Get????("Point","????");
|
Thanks for you help!
Topic archived. No new replies allowed.