Navigation
API > API/Plugins > API/Plugins/FacialAnimation
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UAudioComponent
- UAudioCurveSourceComponent
References
| Module | FacialAnimation |
| Header | /Engine/Plugins/Editor/FacialAnimation/Source/FacialAnimation/Public/AudioCurveSourceComponent.h |
| Include | #include "AudioCurveSourceComponent.h" |
Syntax
UCLASS&40;ClassGroup&61;Audio, Experimental, Meta&61;&40;BlueprintSpawnableComponent&41;&41;
class UAudioCurveSourceComponent :
public UAudioComponent,
public ICurveSourceInterface
Remarks
An audio component that also provides curves to drive animation
Variables
| Type | Name | Description | |
|---|---|---|---|
| FName | CurveSourceBindingName | Get the name that this curve source can be bound to by. | |
| float | CurveSyncOffset | Offset in time applied to audio position when evaluating curves |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FName | ICurveSourceInterface interface | ||
| void | GetCurves_Implementation
(
TArray< FNamedCurveValue >& OutCurve |
||
| float | GetCurveValue_Implementation
(
FName CurveName |
Overridden from UAudioComponent
| Type | Name | Description | |
|---|---|---|---|
| void | FadeIn
(
float FadeInDuration, |
UAudioComponent interface | |
| void | FadeOut
(
float FadeOutDuration, |
This function allows designers to call a delayed Stop on an Audio Component instance while applying a volume curve over time. | |
| void | Play
(
float StartTime |
Begins playing the targeted Audio Component's sound at the designated Start Time, seeking into a sound. | |
| void | Stop () |
Stop an audio component's sound, issue any delegates if needed |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | TickComponent
(
float DeltaTime, |
UActorComponent interface |
Overridden from ISoundParameterControllerInterface
| Type | Name | Description | |
|---|---|---|---|
| bool | IsPlaying () |
Returns TRUE if the targeted Audio Component’s sound is playing. |