HC_PShow_One_Net_Texture
-
bool
HC_PShow_One_Net_Texture(int count, Key const keys[], char const *name, char const *opt, char *output) - bool HC_PShow_One_Net_Texture(int count, Key const keys, char const name, char const opt, char output)
Similar to Show_One_Net_Texture(), but calculates the net effective value of a specific setting on the requested texture definition along a discrete segment path..
As with all PShow_Net_* routines, keys[0] represents the lowest (a.k.a the “most local” or “leaf”), and key[count-1] represents the highest segment. If the path is incomplete, missing segments are filled in if possible. Missing segments must be part of the same direct ancestry in order to be filled in. If the desired path contains an include link, the shortest unambiguous set of keys would be [leaf, includelink, root], where includelink is the return value from Include_Segment().
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.
HC_Define_Texture, HC_Begin_Texture_SearchParameters
count: - The size of keys
keys: Array of HC_KEY’s delineating a particular path through a segment tree.
txr: Any previously defined texture. Passed by reference always.
opt: The setting on the texture you want to query.
output: - The value of that setting. Returned to user. Passed by reference always.