API

Fields

Field

Description

amplitude

Changes the direction of a wave.

ampMagnitude

Determines the magnitude of the wave.

rate

Changes how fast a wave moves on its different axes.

rateMagnitude

Determines the magnitude of the speed.

Functions

GetAmplitude

GET GetAmplitude()

Invoking this function will return the final amplitude value, this value is calculated by multiplying the amplitude by its respective magnitude.

[SerializeField]
private WaveData data;

//Calculate the amplitude;
Vector3 amp = data.GetAmplitude();

GetRate

GET GetRate()

Invoking this function will return the final rate value, this value is calculated by multiplying the rate by its respective magnitude.

[SerializeField]
private WaveData data;

//Calculate the rate;
Vector3 rate = data.GetRate();

Last updated

Was this helpful?