Intrinsics for primintrinsic() function

   737   1   1
User Avatar
Member
11 posts
Joined: 1月 2021
Offline
Is there a documentation that lists out all the string intrinsic_name for the primintrinsic() function
It is not on the function vex page
I assume they are the same as what would be showing in the Geo spreadsheet under show all intrinsics

But I am not sure they are completely the same, like in the case of default intrinsics bounds[4], bounds[5], bounds[6]
how to get bounds[4]? I tried

float b = primintrinsic(0, "bounds", @primnum);
float b = primintrinsic(0, "bounds[4]", @primnum);

both doesnt work

vector b = primintrinsic(0, "bounds", @primnum);
will help me get bounds[1] bounds[2] and bounds[3] only. What else can I try? Is there a vector6 or something?
Edited by aaoc1 - 2022年12月9日 22:25:01
---------------------------------------------------
User Avatar
Member
900 posts
Joined: 2月 2016
Offline
try to treat it as an array, so:

float bounds[] = primintrinsic(0, "bounds", @primnum);
  • Quick Links