Свойство | Type | Description | |
---|---|---|---|
DesiredResolution | Vector2 | ||
GenerateNormals | bool | ||
GenerateUVs | bool | ||
gridScale | Vector3 | ||
interval | float | ||
maxX | float | ||
maxY | float | ||
maxZ | float | ||
meshCopyPrefab | Transform | ||
minX | float | ||
minY | float | ||
minZ | float | ||
pushBack | float | ||
pushX | bool | ||
pushY | bool | ||
pushZ | bool | ||
totalCopies | int |
Méthode | Description | |
---|---|---|
LateUpdate ( ) : void | ||
Start ( ) : void | ||
UpdateDepthmapMesh ( Mesh mesh ) : void |
Méthode | Description | |
---|---|---|
CalculateTriangleIndices ( int YScaled, int XScaled ) : void | ||
CalculateUVs ( int YScaled, int XScaled ) : void | ||
UpdateTriangleIndices ( Mesh mesh ) : void | ||
UpdateUVs ( Mesh mesh, int YScaled, int XScaled ) : void | ||
UpdateVertices ( Mesh mesh, int YScaled, int XScaled ) : void |
public UpdateDepthmapMesh ( Mesh mesh ) : void | ||
mesh | Mesh | |
Résultat | void |