HC_MShow_Face_Normals_W_Ex

int HC_MShow_Face_Normals_W_Ex(Key key, int offset, int count, char existence[], Vector normals[])
int HC_MShow_Face_Normals_W_Ex(Key key, int offset, int count, char existence, Vector normals)

Returns the normal settings for a range of faces without having to open each face.

  • 0 : There was no normal value set.
  • HC_MSet_Face_Normals, HC_Set_Normal, HC_Show_Normal

Parameters

key: Key to the piece of geometry to query.

offset: Index of the key’s face list on which to start querying values.

count: Number of faces from offset to query.

existence: An array of size count whose values would be populated with either 0 (does not exist) or 1 (exists). Passed by reference. Returned to user.

normals: Array of (x,y, z) triplets. Passed by reference. Returned to user.

Returns

The number of items that have the attribute set.