UAudioCurveSourceComponent

An audio component that also provides curves to drive animation

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

FacialAnimation

Header

/Engine/Plugins/Editor/FacialAnimation/Source/FacialAnimation/Public/AudioCurveSourceComponent.h

Include

#include "AudioCurveSourceComponent.h"

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 Const

FName

 

GetBindingName_Implementation()

ICurveSourceInterface interface

Public function Virtual Const

void

 

GetCurves_Implementation

(
    TArray< FNamedCurveValue >& OutCur...
)

Public function Virtual Const

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 Const

bool

 

IsPlaying()

Returns 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's sound, issue any delegates if needed

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

TickComponent

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

UActorComponent interface

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback