HC_PShow_Net_Camera_Position

int HC_PShow_Net_Camera_Position(int key_count, Key const path_keys[], float *x, float *y, float *z)
int HC_PShow_Net_Camera_Position(int key_count, Key const path_keys, float x, float y, float z)

Returns the net effective setting along a discrete segment path.

By default, HOOPS Visualize 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.

A return value of 0 indicates no camera was found. A value of 1 indicates a single-precision camera was found. A value of 2 indicates a double-precision camera was found.

Parameters

key_count: The size of pathkeys

path_keys: An array of HC_KEY’s delineating a path of segments.

x: X-coordinate of the camera position. Passed by reference. Returned to user.

y: Y-coordinate of the camera position. Passed by reference. Returned to user.

z: Z-coordinate of the camera position. Passed by reference. Returned to user.

Returns

An integer indicating what type of camera was found (see details).