|
Public Member Functions |
| int | CountMeshFaces () |
| | Retrieves the number of faces in the mesh.
|
| int | CountMeshNormals () |
| | Retrieves the number of normals used for smoothing of the mesh.
|
| int | CountMeshUVWCoordinates () |
| | Retrieves the number of UVW coordinates in the mesh.
|
| int | CountMeshVertices () |
| | Retrieves the number of vertices in the mesh.
|
| list_of_ints | MeshFaceMaterialIndices () |
| | Retrieves the list of smoothed normal index triples used in each face of the mesh.
|
| list_of_tuples_of_ints_n1_n2_n3 | MeshFaceVertexIndices () |
| | Retrieves the list of vertex index triples used in each face of the mesh.
|
| list_of_tuples_of_floats_x_y_z | MeshNormals () |
| | Retrieves the list of normals used for smoothing of the mesh.
|
| list_of_tuples_of_floats_x_y_z | MeshUVWCoordinates () |
| | Retrieves the list of UVW coordinates in the mesh.
|
| list_of_tuples_of_floats_x_y_z | MeshVertices () |
| | Retrieves the list of vertices of the mesh.
|
| None | SetMeshFaceMaterialIndices (list_of_ints pListOfFaceMaterialIndices) |
| | Sets the material indices used on each face of the mesh.
|
| None | SetMeshFaceVertexIndices (list_of_tuples_of_ints_n1_n2_n3 pListOfFaceVertexIndices) |
| | Sets the vertex index triples used in each face of the mesh.
|
| None | SetMeshNormals (list_of_tuples_of_floats_x_y_z pListOfNormals) |
| | Sets the 3D coordinates of all the normals used for smoothing of the mesh.
|
| None | SetMeshUVWCoordinates (list_of_tuples_of_floats_x_y_z pListOfUVWCoordinates) |
| | Sets the UVW coordinates of the mesh.
|
| None | SetMeshVertices (list_of_tuples_of_floats_x_y_z vertices) |
| | Sets the 3D coordinates of all the vertices in the mesh.
|
| None | SetTriangleVertices (list_of_tuples_of_floats_x_y_z vertices, boolean smooth=true) |
| | Sets the geometry of the mesh (only vertices) vertices a list of vertices that are used to form numVertices/3 faces smooth a boolean indicating whether the object should be smoothed according to smoothing options.
|
| None | SetTriangleVerticesNormals (list_of_tuples_of_floats_x_y_z vertices, list_of_tuples_of_floats_x_y_z normals) |
| | Sets the geometry and smoothed normals of the mesh vertices a list of vertices that are used to form numVertices/3 faces normals a list containing the normals associated to the vertices of the mesh the two lists should have the same size.
|
| None | SetTriangleVerticesNormalsUVW (list_of_tuples_of_floats_x_y_z vertices, list_of_tuples_of_floats_x_y_z normals, list_of_tuples_of_floats_x_y_z uvw) |
| | Sets the geometry, smoothed normals and UVW mapping information of the mesh vertices a list of vertices that are used to form numVertices/3 faces normals a list containing the normals associated to the vertices of the mesh uvw a list containing the texture coordinates associated to the vertices of the mesh the three lists should have the same size.
|
| None | SetTriangleVerticesUVW (list_of_tuples_of_floats_x_y_z vertices, list_of_tuples_of_floats_x_y_z uvw, boolean smooth=true) |
| | Sets the geometry and UVW mapping information of the mesh vertices a list of vertices that are used to form numVertices/3 faces uvw a list containing the texture coordinates associated to the vertices of the mesh smooth a boolean indicating whether the object should be smoothed according to smoothing options the two lists should have the same size.
|
| None | Smooth (float fMaxSmoothingAngle=85) |
| | Smooths the mesh with the indicated smoothing angle.
|