UAudioCurveSourceComponent

Inheritance Hierarchy

Syntax

UCLASS (ClassGroup=Audio , Experimental, Meta=(BlueprintSpawnableComponent))
class UAudioCurveSourceComponent :
    public UAudioComponent ,
    public ICurveSourceInterface

Remarks

An audio component that also provides curves to drive animation

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FName

 

CurveSourceBindingName

Get the name that this curve source can be bound to by.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

float

 

CurveSyncOffset

Offset in time applied to audio position when evaluating curves

Constructors

Name Description

Public function

UAudioCurveSourceComponent()

Functions

Name Description

Public function Virtual

FName

 

GetBindingName_Implementation()

ICurveSourceInterface interface

Public function Virtual

void

 

GetCurves_Implementation

(
    TArray < FNamedCurveValue >& OutCur...
)

Public function Virtual

float

 

GetCurveValue_Implementation

(
    FName CurveName
)

Overridden from UAudioComponent

Name Description

Public function Virtual

void

 

FadeIn

(
    float FadeInDuration,
    float FadeVolumeLevel,
    float StartTime
)

UAudioComponent interface

Public function Virtual

void

 

FadeOut

(
    float FadeOutDuration,
    float FadeVolumeLevel
)

This is used in place of "stop" when it is desired to fade the volume of the sound before stopping.

Public function Virtual

bool

 

IsPlaying()

True if this component is currently playing a SoundCue.

Public function Virtual

void

 

Play

(
    float StartTime
)

Start a sound playing on an audio component

Public function Virtual

void

 

Stop()

Stop an audio component playing its sound cue, issue any delegates if needed

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

TickComponent

(
    float DeltaTime,
    enum ELevelTick TickType,
    FActorComponentTickFunction * T...
)

UActorComponent interface

References