HC_PShow_Net_Camera_Field

int HC_PShow_Net_Camera_Field(int key_count, Key const path_keys[], float *width, float *height)
int HC_PShow_Net_Camera_Field(int key_count, Key const path_keys, float width, float height)

Returns the net effective setting along a discrete segment path.

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.

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.

width: Width of the minimum visible area around the target. Passed by reference. Returned to user.

height: Height of the minimum visible area around the target. Passed by reference. Returned to user.

Returns

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