Méthode | Description | |
---|---|---|
CreateMeshUniquePrimitives ( |
Unweld vertices.
|
|
CreateMeshWith2TCoords ( |
Creates a copy of the mesh, which will only consist of Vertex3DT2Coord vertices.
|
|
CreateMeshWithTangents ( |
Creates a copy of the mesh, which will only consist of S3DVertexTangents vertices. This is useful if you want to draw tangent space normal mapped geometry because it calculates the tangent and binormal data which is needed there.
|
|
FlipSurfaces ( |
Flips the direction of surfaces. Changes backfacing triangles to frontfacing triangles and vice versa
|
|
GetPolyCount ( |
Returns amount of polygons in mesh.
|
|
GetPolyCount ( |
Returns amount of polygons in mesh.
|
|
MakePlanarTextureMapping ( |
Creates a planar texture mapping on the mesh.
|
|
MeshManipulator ( |
||
RecalculateNormals ( |
Recalculates all normals of the mesh.
|
|
ScaleMesh ( |
Scales the whole mesh.
|
|
SetVertexColorAlpha ( |
Sets the alpha vertex color value of the whole mesh to a new value.
|
|
SetVertexColors ( |
Sets the colors of all vertices to one color.
|
|
TransformMesh ( |
Applies a transformation.
|
Méthode | Description | |
---|---|---|
MeshManipulator_CreateMeshUniquePrimitives ( |
||
MeshManipulator_CreateMeshWith2TCoords ( |
||
MeshManipulator_CreateMeshWithTangents ( |
||
MeshManipulator_FlipSurfaces ( |
||
MeshManipulator_GetPolyCount ( |
||
MeshManipulator_GetPolyCountA ( |
||
MeshManipulator_MakePlanarTextureMapping ( |
||
MeshManipulator_RecalculateNormals ( |
||
MeshManipulator_ScaleMesh ( |
||
MeshManipulator_SetVertexColorAlpha ( |
||
MeshManipulator_SetVertexColors ( |
||
MeshManipulator_TransformMesh ( |
public CreateMeshUniquePrimitives ( |
||
baseMesh | Input mesh | |
Résultat |
public CreateMeshWith2TCoords ( |
||
baseMesh |
/// A mesh to be created from |
|
Résultat |
public CreateMeshWithTangents ( |
||
baseMesh | Input mesh | |
Résultat |
public FlipSurfaces ( |
||
m | Mesh on which the operation is performed. | |
Résultat | void |
public GetPolyCount ( |
||
mesh | Mesh | |
Résultat | int |
public MakePlanarTextureMapping ( |
||
baseMesh | Mesh on which the operation is performed. | |
resolution | float | Resolution of the planar mapping. This is the value specifying which is the relation between world space and texture coordinate space. |
Résultat | void |
public MeshManipulator ( |
||
raw | ||
Résultat | System |
public RecalculateNormals ( |
||
mesh | Mesh on which the operation is performed. | |
smooth | bool | |
Résultat | void |
public ScaleMesh ( |
||
mesh | Mesh on which the operation is performed. | |
scale | IrrlichtNETCP.Vector3D | Scale factor. |
Résultat | void |
public SetVertexColorAlpha ( |
||
mesh | Mesh on which the operation is performed. | |
alpha | int | New alpha value. Must be a value between 0 and 255. |
Résultat | void |
public SetVertexColors ( |
||
mesh | Mesh on which the operation is performed. | |
color | Color | New color. |
Résultat | void |
public TransformMesh ( |
||
mesh |
/// A mesh to be transformed |
|
mat |
/// A transform matrix |
|
Résultat | void |