Class M_Mesh3D
Version added:
before 9.5
The M_Mesh3D class represents a 3D object in a Mesh3DLayer.
Methods:
Name | Returns | Description | Ver |
AddFace | void | Add a new four-sided face to the mesh | < 9.5 |
AddFace | void | Add a new three-sided face to the mesh | < 9.5 |
AddFaceWithTexture | void | Added in version 9.5 | 9.5 |
AddFaceWithTexture | void | Added in version 9.5 | 9.5 |
AddMaterial | void | Adds a material to the mesh | < 9.5 |
AddNormal | void | < 9.5 | |
AddPoint | int32 | Add a new point to the mesh | < 9.5 |
AddTexturePoint | void | Add a new texture coordinate | < 9.5 |
AddUniquePoint | int32 | < 9.5 | |
Clear | void | Completely empties the mesh of all points, faces, materials, etc | < 9.5 |
Clockwise | bool | Test whether front-facing 3D faces are aligned clockwise or counter-clockwise | < 9.5 |
CountFaces | int32 | Return the number of faces in the 3D mesh | < 9.5 |
CountMaterials | int32 | Returns the number of materials in the mesh | < 9.5 |
CountNormals | int32 | < 9.5 | |
CountPoints | int32 | Returns the number of points in the mesh | < 9.5 |
CountTexturePoints | int32 | Return the number of texture coordinates | < 9.5 |
CreateNewMaterial | M_Material3D | Creates a new material in the mesh | < 9.5 |
DefaultColor | rgb_color | Get the default color for faces with no assigned material | < 9.5 |
DefaultEdgeColor | rgb_color | < 9.5 | |
DefaultEdgeWidth | real | < 9.5 | |
Face | M_Face3D | Get the properties of a particular face in the mesh | < 9.5 |
Material | M_Material3D | Gets the properties for a given material | < 9.5 |
Normal | LM_Vector3 | < 9.5 | |
Point | LM_Vector3 | Get the position of a point in the mesh | < 9.5 |
RebuildEdgeList | void | < 9.5 | |
RebuildNormals | void | < 9.5 | |
RemoveFace | void | Delete a face from the mesh | < 9.5 |
RemoveMaterial | void | Deletes a material from the mesh | < 9.5 |
RemoveNormal | void | < 9.5 | |
RemovePoint | void | Remove a point from the mesh | < 9.5 |
RemoveTexturePoint | void | Remove a texture coordinate from the mesh | < 9.5 |
ScaleToRadius | void | Scale an entire mesh to fit a given radius | < 9.5 |
SetClockwise | void | Set whether front-facing 3D faces are aligned clockwise or counter-clockwise | < 9.5 |
SetCurMaterial | void | < 9.5 | |
SetDefaultColor | void | Set the default color for faces with no assigned material | < 9.5 |
SetDefaultEdgeColor | void | < 9.5 | |
SetDefaultEdgeWidth | void | < 9.5 | |
SetNormal | void | < 9.5 | |
SetPoint | void | Change an existing point's position | < 9.5 |
TexturePoint | LM_Vector2 | Get the value of a texture coordinate | < 9.5 |