FSoundModulationValue

Copyright Epic Games, Inc. All Rights Reserved.

Windows
MacOS
Linux

References

Module

AudioModulation

Header

/Engine/Plugins/Runtime/AudioModulation/Source/AudioModulation/Public/SoundModulationValue.h

Include

#include "SoundModulationValue.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/BlueprintType))
struct FSoundModulationValue

Remarks

Copyright Epic Games, Inc. All Rights Reserved.

Variables

Name Description

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

float

 

AttackTime

Time it takes (in sec) to unitarily increase the bus value (from 0 to 1).

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

float

 

ReleaseTime

Time it takes (in sec) to unitarily decrease the bus value (from 1 to 0).

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

float

 

TargetValue

Target value of the modulator.

Constructors

Name Description

Public function

FSoundModulationValue()

Public function

FSoundModulationValue

(
    float InValue,
    float InAttackTime,
    float InReleaseTime
)

Functions

Name Description

Public function Const

float

 

GetCurrentValue()

Current value lerping toward target

Public function

void

 

SetCurrentValue

(
    float InValue
)

Set current value (for resetting value state only as circumvents lerp, and may result in discontinuity).

Public function

void

 

Update

(
    float Elapsed
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss