Navigation
API > API/Plugins > API/Plugins/FacialAnimation
An audio component that also provides curves to drive animation
| Name | UAudioCurveSourceComponent |
| Type | class |
| Header File | /Engine/Plugins/Editor/FacialAnimation/Source/FacialAnimation/Public/AudioCurveSourceComponent.h |
| Include Path | #include "AudioCurveSourceComponent.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup=Audio, Experimental, Meta=(BlueprintSpawnableComponent))
class UAudioCurveSourceComponent :
public UAudioComponent,
public ICurveSourceInterface
Inheritance Hierarchy
- FQuartzSubscriberCommandQueue::TConsumerBase< IMetronomeEventListener, ICommandListener, IQueueCommandListener > → FQuartzTickableObject → UAudioComponent → UAudioCurveSourceComponent
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UAudioComponent → UAudioCurveSourceComponent
Implements Interfaces
- IAsyncPhysicsStateProcessor
- IInterface_AssetUserData
- ISoundParameterControllerInterface
- IAudioParameterControllerInterface
- IInterface
- ICurveSourceInterface
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAudioCurveSourceComponent() |
AudioCurveSourceComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurveSourceBindingName | FName | Get the name that this curve source can be bound to by. | AudioCurveSourceComponent.h |
|
| CurveSyncOffset | float | Offset in time applied to audio position when evaluating curves | AudioCurveSourceComponent.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCachedLooping | bool | Cache looping flag | AudioCurveSourceComponent.h | |
| CachedCurveEvalTime | float | Cached evaluation time from the last callback of OnPlaybackPercent | AudioCurveSourceComponent.h | |
| CachedCurveTable | TWeakObjectPtr< class UCurveTable > | Cached curve table from the last callback of OnPlaybackPercent | AudioCurveSourceComponent.h | |
| CachedDuration | float | Cached duration | AudioCurveSourceComponent.h | |
| CachedFadeInDuration | float | Cached param for PlayInternal | AudioCurveSourceComponent.h | |
| CachedFadeType | EAudioFaderCurve | Cached param for PlayInternal | AudioCurveSourceComponent.h | |
| CachedFadeVolumeLevel | float | Cached param for PlayInternal | AudioCurveSourceComponent.h | |
| CachedStartTime | float | Cached param for PlayInternal | AudioCurveSourceComponent.h | |
| CachedSyncPreRoll | float | Preroll time we use to sync to curves | AudioCurveSourceComponent.h | |
| Delay | float | Delay timer | AudioCurveSourceComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void FadeIn
(
float FadeInDuration, |
UAudioComponent interface | AudioCurveSourceComponent.h | |
virtual void FadeOut
(
float FadeOutDuration, |
AudioCurveSourceComponent.h | ||
virtual FName GetBindingName_Implementation() |
ICurveSourceInterface interface | AudioCurveSourceComponent.h | |
virtual void GetCurves_Implementation
(
TArray< FNamedCurveValue >& OutCurve |
AudioCurveSourceComponent.h | ||
virtual float GetCurveValue_Implementation
(
FName CurveName |
AudioCurveSourceComponent.h | ||
virtual bool IsPlaying() |
AudioCurveSourceComponent.h | ||
virtual void Play
(
float StartTime |
AudioCurveSourceComponent.h | ||
virtual void Stop() |
AudioCurveSourceComponent.h | ||
virtual void TickComponent
(
float DeltaTime, |
UActorComponent interface | AudioCurveSourceComponent.h |