MQFace has an information of the face in the object.
| get | set | Type | Name | Description | ||||
|---|---|---|---|---|---|---|---|---|
| x | long | id | unique ID | |||||
| x | int | numVertex | number of vertices | |||||
| x | list<int> | index | list of indices of vertices | |||||
| x | list<MQCoordinate> | coord | list of UV coordinates | |||||
| x | list<MQColor> | color | list of vertex colors | |||||
| x | list<float> | alpha | list of vertex alpha colors | |||||
| x | list<float> | crease | list of edge creases
|
|||||
| x | x | int | material | index of the material | ||||
| x | x | int | select | state of the selection
|
| Member | Description |
|---|---|
| getCoord | Get an UV coordinate of the vertex. |
| setCoord | Set an UV coordinate of the vertex. |
| getChannelCoord | Get an UV coordinate of the specified channel of the vertex. |
| setChannelCoord | Set a UV coordinate of the specified channel of the vertex. |
| getColor | Get a color of the vertex. |
| setColor | Set a vertex color of the vertex. |
| getAlpha | Get an alpha value of the vertex. |
| setAlpha | Set an alpha value of the vertex. |
| getEdgeCrease | Get an edge crease. |
| setEdgeCrease | Set an edge crease. |
| getCoord(index) | ||||
Get an UV coordinate of the vertex. | ||||
| ||||
|
| setCoord(index, coord) | ||||||||
Set an UV coordinate of the vertex. | ||||||||
|
| getChannelCoord(index, channel) | ||||||||
Get an UV coordinate of the specified channel of the vertex. | ||||||||
| ||||||||
|
| setChannelCoord(index, channel, coord) | ||||||||||||
Set a UV coordinate of the specified channel of the vertex. | ||||||||||||
|
| getColor(index) | ||||
Get a color of the vertex. | ||||
| ||||
|
| setColor(index, color) | ||||||||
Set a vertex color of the vertex. | ||||||||
|
| getAlpha(index) | ||||
Get an alpha value of the vertex. | ||||
| ||||
|
| setAlpha(index, alpha) | ||||||||
Set an alpha value of the vertex. | ||||||||
|
| getEdgeCrease(index) | ||||
Get an edge crease. | ||||
| ||||
|
| setEdgeCrease(index, crease) | ||||||||
Set an edge crease. | ||||||||
|