3D Lingo Dictionary > E-K > face[ ]

 

face[ ]

Syntax

member(whichCastmember).model(whichModel).meshdeform.mesh[meshIndex].face[faceIndex]

Description

3D meshdeform modifier property; indicates which indices in the vertex list of the model resource were used to define the face.

This property can be tested but not set. You can specify the vertices of a face of the #mesh model resource by setting its vertexList (mesh deform) and vertices properties and calling the build() command.

Example

This statement shows that the first face of the first mesh of the model named Floor is defined by the first three vectors in the vertex list of the model resource used by Floor.

put member("Scene").model("Floor").meshdeform.mesh[1].face[1]
-- [1, 2, 3]

See also

meshDeform (modifier), face, vertexList (mesh deform), vertices