set_index


Description:

[ Version ( since = "0.9.2" ) ]
public void set_index (uint index)

Assigns the specified face-index to face.

Fails if the face is immutable.

<note>Note: changing the index has no effect on the face itself This only changes the value returned by get_index.</note>

Parameters:

index

The index to assign

face

A face object