C# Class ZigfuDepthmapToMeshWithCopyAndBounds, Elemental

Inheritance: MonoBehaviour
Mostra file Open project: CodeStrumpet/Elemental

Public Properties

Property 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

Public Methods

Method Description
LateUpdate ( ) : void
Start ( ) : void
UpdateDepthmapMesh ( Mesh mesh ) : void

Private Methods

Method 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

Method Details

LateUpdate() public method

public LateUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

UpdateDepthmapMesh() public method

public UpdateDepthmapMesh ( Mesh mesh ) : void
mesh Mesh
return void

Property Details

DesiredResolution public_oe property

public Vector2 DesiredResolution
return Vector2

GenerateNormals public_oe property

public bool GenerateNormals
return bool

GenerateUVs public_oe property

public bool GenerateUVs
return bool

gridScale public_oe property

public Vector3 gridScale
return Vector3

interval public_oe property

public float interval
return float

maxX public_oe property

public float maxX
return float

maxY public_oe property

public float maxY
return float

maxZ public_oe property

public float maxZ
return float

meshCopyPrefab public_oe property

public Transform meshCopyPrefab
return Transform

minX public_oe property

public float minX
return float

minY public_oe property

public float minY
return float

minZ public_oe property

public float minZ
return float

pushBack public_oe property

public float pushBack
return float

pushX public_oe property

public bool pushX
return bool

pushY public_oe property

public bool pushY
return bool

pushZ public_oe property

public bool pushZ
return bool

totalCopies public_oe property

public int totalCopies
return int