C# Class MeshLinesGenerator, FrequencyDomain

Inheritance: MonoBehaviour
Show file Open project: sagarpatel/FrequencyDomain Class Usage Examples

Public Properties

Property Type Description
collumnDepth int
collumnsArrayVerticesArray Vector3[][]
fingerJointsArrayStitchesPosArray Vector3[][]
isAmplitudeScale bool
maximumAmplitude float
meshColorViewer Color
meshLinePrefab GameObject
meshLinesPoolSize int
meshMaterial Material
minimumAmplitude float
spawnCooldown float
staticAmpltiudeScale float
stitchAnchorOffset Vector3
verticesFrequencyDepthCount int
verticesSpread float

Public Methods

Method Description
CalculatePositionAndRotationOnMesh ( float progressionOnMesh, float widthOffset, Vector3 &calculatedPos, Quaternion &calculatedRot, float &calculatedHeightValue ) : void
GenerateCalculationsMiniMesh ( ) : void
GenerateLineMesh ( ) : void
RemoveMeshLineFromActiveList ( GameObject meshLineGO ) : void
Start ( ) : void
StitchNewRowIntoCollumns ( ) : void
Update ( ) : void
UpdateCollumnVerticesPosition ( ) : void

Private Methods

Method Description
GetFreeMeshLineIndex ( ) : int

Method Details

CalculatePositionAndRotationOnMesh() public method

public CalculatePositionAndRotationOnMesh ( float progressionOnMesh, float widthOffset, Vector3 &calculatedPos, Quaternion &calculatedRot, float &calculatedHeightValue ) : void
progressionOnMesh float
widthOffset float
calculatedPos Vector3
calculatedRot Quaternion
calculatedHeightValue float
return void

GenerateCalculationsMiniMesh() public method

public GenerateCalculationsMiniMesh ( ) : void
return void

GenerateLineMesh() public method

public GenerateLineMesh ( ) : void
return void

RemoveMeshLineFromActiveList() public method

public RemoveMeshLineFromActiveList ( GameObject meshLineGO ) : void
meshLineGO GameObject
return void

Start() public method

public Start ( ) : void
return void

StitchNewRowIntoCollumns() public method

public StitchNewRowIntoCollumns ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateCollumnVerticesPosition() public method

public UpdateCollumnVerticesPosition ( ) : void
return void

Property Details

collumnDepth public property

public int collumnDepth
return int

collumnsArrayVerticesArray public property

public Vector3[][] collumnsArrayVerticesArray
return Vector3[][]

fingerJointsArrayStitchesPosArray public property

public Vector3[][] fingerJointsArrayStitchesPosArray
return Vector3[][]

isAmplitudeScale public property

public bool isAmplitudeScale
return bool

maximumAmplitude public property

public float maximumAmplitude
return float

meshColorViewer public property

public Color meshColorViewer
return Color

meshLinePrefab public property

public GameObject meshLinePrefab
return GameObject

meshLinesPoolSize public property

public int meshLinesPoolSize
return int

meshMaterial public property

public Material meshMaterial
return Material

minimumAmplitude public property

public float minimumAmplitude
return float

spawnCooldown public property

public float spawnCooldown
return float

staticAmpltiudeScale public property

public float staticAmpltiudeScale
return float

stitchAnchorOffset public property

public Vector3 stitchAnchorOffset
return Vector3

verticesFrequencyDepthCount public property

public int verticesFrequencyDepthCount
return int

verticesSpread public property

public float verticesSpread
return float