Struct NoiseSettings.NoiseParams
Describes the behaviour for a channel of noise
Inherited Members
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
[Serializable]
public struct NoiseSettings.NoiseParams
Fields
Amplitude
The amplitude of the noise for this channel. Larger numbers vibrate higher
Declaration
[Tooltip("The amplitude of the noise for this channel. Larger numbers vibrate higher.")]
public float Amplitude
Field Value
Type | Description |
---|---|
float |
Constant
If checked, then the amplitude and frequency will not be randomized
Declaration
[Tooltip("If checked, then the amplitude and frequency will not be randomized.")]
public bool Constant
Field Value
Type | Description |
---|---|
bool |
Frequency
The frequency of noise for this channel. Higher magnitudes vibrate faster
Declaration
[Tooltip("The frequency of noise for this channel. Higher magnitudes vibrate faster.")]
public float Frequency
Field Value
Type | Description |
---|---|
float |
Methods
GetValueAt(float, float)
Get the signal value at a given time, offset by a given amount
Declaration
public float GetValueAt(float time, float timeOffset)
Parameters
Type | Name | Description |
---|---|---|
float | time | The current time |
float | timeOffset | The (unscaled) offset to add to the current time |
Returns
Type | Description |
---|---|
float | Value of the signal at desired time |