Свойство | Type | Description | |
---|---|---|---|
mesh | |||
name | string | ||
triangles | List |
||
uv | List |
||
vertices | List |
Méthode | Description | |
---|---|---|
AddData ( |
Add new mesh data - all arrays are ordered together
|
|
AddPlane ( |
Adds the plane to the generic dynamic mesh.
|
|
AddPlane ( |
Adds the plane to the generic dynamic mesh by specifying min and max UV coords.
|
|
AddPlane ( |
Adds the plane to the generic dynamic mesh without specifying UV coords.
|
|
AddTri ( |
Add the new triangle to the mesh data
|
|
Atlas ( |
Atlas the entire mesh using newTextureCoords and textures.
|
|
Atlas ( int modifySubmeshes, |
Atlas the entire mesh, specifying specific submeshes that have been atlased
|
|
Atlas ( int modifySubmeshes, |
Atlas the specified modifySubmeshes using newTextureCoords and textures.
|
|
Build ( ) : void | ||
Build ( bool calcTangents ) : void | ||
CheckMaxTextureUVs ( TrackBuildRTexture textures ) : void |
Checks the Max UV values used in this model for each trackTexture.
|
|
Clear ( ) : void |
Clears the mesh data, ready for nextNormIndex new mesh build
|
|
CollapseSubmeshes ( ) : void |
Collapse all the submeshes into nextNormIndex single submesh
|
|
DynamicMeshGenericMultiMaterial ( ) : UnityEngine | ||
RemoveRedundantVerticies ( ) : void | ||
SolveTangents ( ) : void |
Generate the Mesh tangents. These calculations are heavy and not idea for complex meshes at runtime
|
public AddData ( |
||
verts | ||
uvs | ||
tris | int | |
subMesh | int | |
Résultat | void |
public AddPlane ( |
||
p0 | ||
p1 | ||
p2 | ||
p3 | ||
uv0 | ||
uv1 | ||
uv2 | ||
uv3 | ||
subMesh | int | |
Résultat | void |
public AddPlane ( |
||
p0 | ||
p1 | ||
p2 | ||
p3 | ||
minUV | ||
maxUV | ||
subMesh | int | |
Résultat | void |
public AddPlane ( |
||
p0 | ||
p1 | ||
p2 | ||
p3 | ||
subMesh | int | |
Résultat | void |
public AddTri ( |
||
p0 | ||
p1 | ||
p2 | ||
subMesh | int | |
Résultat | void |
public Atlas ( |
||
newTextureCoords | ||
textures | TrackBuildRTexture | |
Résultat | void |
public Atlas ( int modifySubmeshes, |
||
modifySubmeshes | int | |
newTextureCoords | ||
Résultat | void |
public Atlas ( int modifySubmeshes, |
||
modifySubmeshes | int | |
newTextureCoords | ||
textures | TrackBuildRTexture | |
Résultat | void |
public CheckMaxTextureUVs ( TrackBuildRTexture textures ) : void | ||
textures | TrackBuildRTexture | |
Résultat | void |
public DynamicMeshGenericMultiMaterial ( ) : UnityEngine | ||
Résultat | UnityEngine |