get the P.x (only x) in vex like in the expression.
4740 1 0-
- 6cbb21962a714a9da449b4910
- Member
- 5 posts
- Joined: 11月 2018
- オフライン
-
- tamte
- Member
- 9386 posts
- Joined: 7月 2007
- オフライン
you either do:
or
or if it's really just the first component (x) that you want to get you can as well do
vector P = point(0, "P", @ptnum); float Px = P.x;
or
float Px = vector(point(0, "P", @ptnum)).x;
or if it's really just the first component (x) that you want to get you can as well do
float Px = point(0, "P", @ptnum);
Edited by tamte - 2018年11月12日 13:57:04
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- Quick Links

