UInterpTrackSound

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Matinee/InterpTrackSound.h

Include

#include "Matinee/InterpTrackSound.h"

Syntax

class UInterpTrackSound : public UInterpTrackVectorBase

Variables

Name Description

Public variable

uint32: 1

 

bAttach

Public variable

uint32: 1

 

bContinueSoundOnMatineeEnd

If true, sounds on this track will not be forced to finish when the matinee sequence finishes.

Public variable

uint32: 1

 

bPlaying

True if the sound should have been playing at any point.

Public variable

uint32: 1

 

bPlayOnReverse

If set, sound plays only when playing the matinee in reverse instead of when the matinee plays forward

Public variable

uint32: 1

 

bSuppressSubtitles

If true, don't show subtitles for sounds played by this track.

Public variable

uint32: 1

 

bTreatAsDialogue

If true and track is controlling a pawn, makes the pawn "speak" the given audio.

Public variable

TArray< struct ...

 

Sounds

Array of sounds to play at specific times.

Constructors

Name Description

Public function

UInterpTrackSound

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

FSoundTrackK...

 

GetSoundTrackKeyAtPosition

(
    float InPosition
)

Return the key at the specified position in the track.

Overridden from UInterpTrack

Name Description

Public function Virtual

int32

 

AddKeyframe

(
    float Time,
    UInterpTrackInst* TrInst,
    EInterpCurveMode InitInterpMode
)

Adds a keyframe at the given time to the track.

Public function Virtual

bool

 

AllowStaticActors()

Public function Virtual

void

 

DrawTrack

(
    FCanvas* Canvas,
    UInterpGroup* Group,
    const FInterpTrackDrawParams& Para...
)

Draw this track with the specified parameters

Public function Virtual

int32

 

DuplicateKeyframe

(
    int32 KeyIndex,
    float NewKeyTime,
    UInterpTrack* ToTrack
)

Duplicates the given key.

Public function Virtual

bool

 

GetClosestSnapPosition

(
    float InPosition,
    TArray< int32 >& IgnoreKeys,
    float& OutPosition
)

Gets the position of the closest key with snapping incorporated.

Public function Virtual Const

const FStrin...

 

GetEdHelperClassName()

Get the name of the class used to help out when adding tracks, keys, etc. in UnrealEd.

Public function Virtual Const

int32

 

GetKeyframeIndex

(
    float KeyTime
)

Get the index of the keyframe with the given time.

Public function Virtual Const

float

 

GetKeyframeTime

(
    int32 KeyIndex
)

Get the time of the keyframe with the given index.

Public function Virtual Const

int32

 

GetNumKeyframes()

Public function Virtual Const

const FStrin...

 

GetSlateHelperClassName()

Get the name of the class used to help out when adding tracks, keys, etc. in Slate.

Public function Virtual Const

void

 

GetTimeRange

(
    float& StartTime,
    float& EndTime
)

Gathers the range that spans all keyframes.

Public function Virtual Const

float

 

GetTrackEndTime()

Public function Virtual Const

UTexture2D &...

 

GetTrackIcon()

Public function Virtual

void

 

PreviewStopPlayback

(
    UInterpTrackInst* TrInst
)

Called when playback is stopped in Matinee. Useful for stopping sounds etc.

Public function Virtual

void

 

PreviewUpdateTrack

(
    float NewPosition,
    UInterpTrackInst* TrInst
)

Updates the instance of this track based on the new position. This is for editor preview.

Public function Virtual

void

 

RemoveKeyframe

(
    int32 KeyIndex
)

Removes the given key from the array of keys in the track.

Public function Virtual

int32

 

SetKeyframeTime

(
    int32 KeyIndex,
    float NewKeyTime,
    bool bUpdateOrder
)

Changes the time of the given key with the new given time.

Public function Virtual

void

 

SetTrackToSensibleDefault()

Set this track to sensible default values. Called when track is first created.

Public function Virtual

void

 

UpdateTrack

(
    float NewPosition,
    UInterpTrackInst* TrInst,
    bool bJump
)

Updates the instance of this track based on the new position.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss