Interface IMeshSource
Assembly: fwt.core.dll
Syntax
public interface IMeshSource
Properties
IsEmpty
Declaration
Property Value
Methods
AddIndice(int, uint)
Declaration
void AddIndice(int submeshIndex, uint indice)
Parameters
| Type |
Name |
Description |
| int |
submeshIndex |
|
| uint |
indice |
|
AddTriangle(int, uint, uint, uint, bool)
Declaration
void AddTriangle(int submeshIndex, uint indice0, uint indice1, uint indice2, bool isRecalcNormals = true)
Parameters
| Type |
Name |
Description |
| int |
submeshIndex |
|
| uint |
indice0 |
|
| uint |
indice1 |
|
| uint |
indice2 |
|
| bool |
isRecalcNormals |
|
AddVertex(VertexData)
Declaration
void AddVertex(VertexData vertex)
Parameters
Clear()
Declaration
Dispose()
Declaration
FillMesh(Mesh, bool, bool, bool)
Declaration
void FillMesh(Mesh mesh, bool isRecalculateBounds, bool isRecalculateNormals, bool isRecalculateTangents)
Parameters
| Type |
Name |
Description |
| Mesh |
mesh |
|
| bool |
isRecalculateBounds |
|
| bool |
isRecalculateNormals |
|
| bool |
isRecalculateTangents |
|
GetVertexCount()
Declaration
Returns
InitAll(Allocator)
Declaration
void InitAll(Allocator allocator)
Parameters
| Type |
Name |
Description |
| Allocator |
allocator |
|
IsInitialized()
Declaration
Returns
Extension Methods