Functions | |
HC_BOOLEAN | PShow_Net_Camera_Near_Limit (int keycount, HC_KEY *pathkeys, float *wlimit) |
HC_BOOLEAN PShow_Net_Camera_Near_Limit | ( | int | keycount, | |
HC_KEY * | pathkeys, | |||
float * | wlimit | |||
) |
Populates the wlimit with the net effective near camera limit value along a path of segments specified by an array of HC_KEY's. Returns true if the near limit was set locally on this segment.
keycount | - size of the pathkeys array | |
pathkeys | - The list of keys starting with the owning segment and following back to some desired segment. | |
wlimit | - a parametric value from 0.0 at the camera to 1.0 at the target. Passed by reference. Returned to user. |
By default, HOOPS will determine the Net attribute from the last specified key all the way to the root. If you add -1 at the end of the array, the PShow_Net routines will not proceed beyond the end of the last specified key.
For other details, see Set_Camera_Near_Limit().