Struct NoiseSettings.NoiseParams
Describes the behaviour for a channel of noise
Namespace: Cinemachine
Syntax
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
[Serializable]
public struct NoiseParamsFields
Amplitude
The amplitude of the noise for this channel. Larger numbers vibrate higher
Declaration
public float AmplitudeField Value
| Type | Description | 
|---|---|
| System.Single | 
Constant
If checked, then the amplitude and frequency will not be randomized
Declaration
public bool ConstantField Value
| Type | Description | 
|---|---|
| System.Boolean | 
Frequency
The frequency of noise for this channel. Higher magnitudes vibrate faster
Declaration
public float FrequencyField Value
| Type | Description | 
|---|---|
| System.Single | 
Methods
GetValueAt(Single, Single)
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 | 
|---|---|---|
| System.Single | time | |
| System.Single | timeOffset | 
Returns
| Type | Description | 
|---|---|
| System.Single |