Class HeightmapMeshGenerator
ハイトマップからMeshを生成します。
Inheritance
System.Object
HeightmapMeshGenerator
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: PLATEAU.Heightmap
Assembly: cs.temp.dll.dll
Syntax
public class HeightmapMeshGenerator
Methods
Generate(ref Mesh, Int32, Int32, Single, UInt16[], CoordinateSystem, PlateauVector3d, PlateauVector3d, PlateauVector2f, PlateauVector2f, Boolean)
ハイトマップからMeshを生成します。
Declaration
public void Generate(ref Mesh mesh, int textureWidth, int textureHeight, float zScale, UInt16[] heightmapData, CoordinateSystem coordinate, PlateauVector3d min, PlateauVector3d max, PlateauVector2f minUV, PlateauVector2f maxUV, bool invertMesh)
Parameters
Type | Name | Description |
---|---|---|
Mesh | mesh | |
System.Int32 | textureWidth | |
System.Int32 | textureHeight | |
System.Single | zScale | |
UInt16[] | heightmapData | |
CoordinateSystem | coordinate | |
PlateauVector3d | min | |
PlateauVector3d | max | |
PlateauVector2f | minUV | |
PlateauVector2f | maxUV | |
System.Boolean | invertMesh |