Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 | |
Результат |
public CreateMeshWith2TCoords ( |
||
baseMesh |
/// A mesh to be created from |
|
Результат |
public CreateMeshWithTangents ( |
||
baseMesh | Input mesh | |
Результат |
public FlipSurfaces ( |
||
m | Mesh on which the operation is performed. | |
Результат | void |
public GetPolyCount ( |
||
mesh | Mesh | |
Результат | 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. |
Результат | void |
public MeshManipulator ( |
||
raw | ||
Результат | System |
public RecalculateNormals ( |
||
mesh | Mesh on which the operation is performed. | |
smooth | bool | |
Результат | void |
public ScaleMesh ( |
||
mesh | Mesh on which the operation is performed. | |
scale | IrrlichtNETCP.Vector3D | Scale factor. |
Результат | void |
public SetVertexColorAlpha ( |
||
mesh | Mesh on which the operation is performed. | |
alpha | int | New alpha value. Must be a value between 0 and 255. |
Результат | void |
public SetVertexColors ( |
||
mesh | Mesh on which the operation is performed. | |
color | Color | New color. |
Результат | void |
public TransformMesh ( |
||
mesh |
/// A mesh to be transformed |
|
mat |
/// A transform matrix |
|
Результат | void |