what's the different between 9flt and 9flt(matrix)?

   569   2   1
User Avatar
Member
2 posts
Joined: April 2022
Offline
Hello, I am a noob in vex. I was stuck with how to create a 9flt(matrix), not 9flt in a wrangle node.


And how to access this 9flt(matrix) data, I've tried the getcomp(), but not work.
User Avatar
Member
393 posts
Joined: Nov. 2016
Offline
You can add the type info using setattribtypeinfo(). You can then access values with getcomp() using a row and column index. So for example, in a detail attribute:
3@myMatrix = ident();
setattribtypeinfo(0, 'detail', 'myMatrix', 'matrix');
f@value = getcomp(@myMatrix, 1, 1);
Edited by Tanto - Feb. 14, 2023 14:38:26
User Avatar
Member
7770 posts
Joined: Sept. 2011
Offline
Nodes that concatenate transforms will apply to ones tagged as matrix and ignore ones that are untagged.
  • Quick Links