Property | Type | Description | |
---|---|---|---|
VERTEX_LIMIT | int |
Method | Description | |
---|---|---|
GetNumberVertices ( ) : int | ||
GetUVs ( int channel ) : List |
||
MapUVChannel ( int channel, int component, Array data ) : void | ||
QueueTween ( ) : void | ||
SaveBigMesh ( ) : void | ||
Tween ( TweenType type ) : void | ||
UpdateTweens ( ) : void | ||
createBigMesh ( BigMeshData meshData ) : |
Creates a big mesh. Only handles meshes composed of triangles, points, and lines.
|
|
getBigMeshVertices ( ) : Vector3[] |
returns the vertex positions of the big mesh
|
|
getColors ( ) : Color[] |
Gets the colours.
|
|
getNormals ( ) : Vector3[] |
Gets the normals.
|
|
recalculateBounds ( ) : void | ||
saveMesh ( GameObject theMesh, int &indexCount, Material material ) : void |
saves the mesh(es) on the disk
|
|
updateBigMeshColour ( Color colour ) : void |
updates the big mesh colours
|
|
updateBigMeshColours ( Array colours ) : void |
updates the big mesh colours
|
|
updateBigMeshNormals ( Array normals ) : void |
updates the big mesh normals
|
|
updateXPositions ( Array values ) : void |
sets the x positions of the vertices in the bigmesh
|
|
updateYPositions ( Array values ) : void |
sets the y positions of the vertices in the bigmesh
|
|
updateZPositions ( Array values ) : void |
sets the y positions of the vertices in the bigmesh
|
|
zeroPosition ( int component ) : void |
sets to zero the provided dimension
|
Method | Description | |
---|---|---|
DoTheTween ( ) : bool | ||
GetUVList ( int channel, Mesh mesh ) : List |
||
Update ( ) : void | ||
UpdateNPositions ( int component, Array values ) : void | ||
createMesh ( Array vertices, Array indices, Array colours, Array normals, Array uvs, MeshTopology meshTopology, Material material ) : GameObject |
Creates a mesh.
|
|
getChunkStride ( BigMeshData meshData, int chunkIndex ) : int | ||
getNumberOfTopologyChunk ( BigMeshData meshData ) : int | ||
getStride ( MeshTopology meshTopology ) : int |
Gets the stride from a mesh topology
|
|
updateBigMeshVertices ( Array vertices ) : void |
updates the big mesh positions
|
public MapUVChannel ( int channel, int component, Array data ) : void | ||
channel | int | |
component | int | |
data | Array | |
return | void |
public static createBigMesh ( BigMeshData meshData ) : |
||
meshData | BigMeshData | Mesh data. |
return |
public saveMesh ( GameObject theMesh, int &indexCount, Material material ) : void | ||
theMesh | GameObject | |
indexCount | int | |
material | Material | |
return | void |
public updateBigMeshColour ( Color colour ) : void | ||
colour | Color | |
return | void |
public updateBigMeshColours ( Array colours ) : void | ||
colours | Array | |
return | void |
public updateBigMeshNormals ( Array normals ) : void | ||
normals | Array | |
return | void |
public updateXPositions ( Array values ) : void | ||
values | Array | |
return | void |
public updateYPositions ( Array values ) : void | ||
values | Array | |
return | void |
public updateZPositions ( Array values ) : void | ||
values | Array | |
return | void |