HC_PShow_Net_Modelling_Matrix
-
int
HC_PShow_Net_Modelling_Matrix(int key_count, Key const path_keys[], float matrix[]) - int HC_PShow_Net_Modelling_Matrix(int key_count, Key const path_keys, float matrix)
Similar to Show_Modelling_Matrix(), but returns the net effective value 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 matrix was found. A value of 1 indicates a single-precision matrix was found. A value of 2 indicates a double-precision matrix was found.
HC_Show_Modelling_Matrix()Parameters
key_count: - The size of path_keys
path_keys: - An array of HC_KEYs delineating a path of segments.
matrix: - Curent transformation matrix. Passed by reference. Returned to user.
Returns
An integer indicating what type of matrix was found (see details).