Navigation
API > API/Plugins > API/Plugins/AudioModulation
| Name | FSoundModulationMixValue |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/AudioModulation/Source/AudioModulation/Public/SoundModulationValue.h |
| Include Path | #include "SoundModulationValue.h" |
Syntax
USTRUCT (BlueprintType )
struct FSoundModulationMixValue
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| SoundModulationValue.h | |||
FSoundModulationMixValue
(
float InValue, |
SoundModulationValue.h |
Enums
Public
| Name | Remarks |
|---|---|
| EActiveFade |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AttackTime | float | Time it takes (in sec) to interpolate from the parameter's default value to the mix value. | SoundModulationValue.h |
|
| ReleaseTime | float | Time it takes (in sec) to interpolate from the current mix value to the parameter's default value. | SoundModulationValue.h |
|
| TargetUnitValue | float | Target value of the modulator (in units if provided). | SoundModulationValue.h |
|
| TargetValue | float | Target value of the modulator. | SoundModulationValue.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveFade | EActiveFade | SoundModulationValue.h | ||
| Delta | float | SoundModulationValue.h | ||
| LastTarget | float | SoundModulationValue.h | ||
| LerpTime | float | SoundModulationValue.h | ||
| Value | float | SoundModulationValue.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetCurrentValue() |
Current value lerping toward target | SoundModulationValue.h | |
void SetActiveFade
(
EActiveFade InActiveFade, |
SoundModulationValue.h | ||
void SetCurrentValue
(
float InValue |
Set current value (for resetting value state only as circumvents lerp, and may result in discontinuity). | SoundModulationValue.h | |
void Update
(
double Elapsed |
SoundModulationValue.h |