Navigation
Unreal Engine C++ API Reference > Plugins > SoundCueTemplates
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USoundBase
- USoundCue
- USoundCueTemplate
- USoundCueContainer
- USoundCueDistanceCrossfade
References
Module | SoundCueTemplates |
Header | /Engine/Plugins/Runtime/SoundCueTemplates/Source/SoundCueTemplates/Public/SoundCueTemplate.h |
Include | #include "SoundCueTemplate.h" |
Syntax
UCLASS&40;Abstract&41;
class USoundCueTemplate : public USoundCue
Remarks
Base Sound Cue Template class, which builds the sound node graph procedurally and hides more complex Sound Cue functionality to streamline implementation defined in child classes.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
USoundCueTemplate
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddSoundNodeChild
(
USoundNode& InParentNode, |
Utility function that adds a provided child node to a parent node's list of children. |
![]() ![]() |
void | AddSoundWaves
(
TArray< TWeakObjectPtr< USoundWave >>& Waves |
Override to initialize a template with array of sound waves from SoundCueFactory |
![]() ![]() ![]() |
void | AddSoundWavesToTemplate
(
const TArray< UObject* >& SelectedObjects |
|
![]() ![]() |
T & | ConstructSoundNodeChild
(
USoundCue& SoundCue, |
Utility function that returns newly constructed sound node that has been added to provided SoundCue's Node Graph. |
![]() ![]() |
T & | ConstructSoundNodeRoot
(
USoundCue& SoundCue |
Constructs initial root sound node of template. |
![]() ![]() ![]() |
FString | GenerateDefaultNewAssetName
(
const TArray< TWeakObjectPtr< USoundWave >>& Waves |
Override to provide a default new asset name prefix from SoundCueTemplateFactory |
![]() ![]() |
float | Initial height offset of first node in the SoundCueEditor. | |
![]() ![]() |
float | Initial width offset of first node in the SoundCueEditor. | |
![]() ![]() |
float | Node height offset between nodes in the SoundCueEditor. | |
![]() ![]() |
float | Node width offset between nodes in the SoundCueEditor. | |
![]() ![]() |
void | Override to load template default settings from SoundCueTemplateFactory | |
![]() ![]() ![]() |
void | OnRebuildGraph
(
USoundCue& SoundCue |
Function to override that uses internal editor-data only properties to re-build node graph of provided SoundCue. |
![]() ![]() |
void | RebuildGraph
(
USoundCue& SoundCue |
Rebuilds the graph when user-facing properties are changed |
![]() ![]() |
void | SetSoundNodePosition
(
USoundNode& InNode, |
Sets the provided node's position to the location on the template's grid |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |