engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | Protected 成员函数 | Protected 属性 | 所有成员列表
UMovieSceneSection类 参考

Base class for movie scene sections 更多...

#include <MovieSceneSection.h>

+ 类 UMovieSceneSection 继承关系图:

Public 成员函数

MOVIESCENE_API TRange< FFrameNumber > ComputeEffectiveRange () const
 Return the range within which this section is effective. 更多...
 
MOVIESCENE_API float EvaluateEasing (FFrameTime InTime) const
 Evaluate this sections's easing functions based on the specified time
 
MOVIESCENE_API void EvaluateEasing (FFrameTime InTime, TOptional< float > &OutEaseInValue, TOptional< float > &OutEaseOutValue, float *OutEaseInInterp, float *OutEaseOutInterp) const
 Evaluate this sections's easing functions based on the specified time
 
void ExpandToFrame (FFrameNumber InFrame)
 Expands this section's range to include the specified time
 
FOptionalMovieSceneBlendType GetBlendType () const
 Gets this section's blend type
 
MOVIESCENE_API FMovieSceneChannelProxy & GetChannelProxy () const
 Access this section's channel proxy, containing pointers to all existing data channels in this section 更多...
 
EMovieSceneCompletionMode GetCompletionMode () const
 Gets this section's completion mode
 
FFrameNumber GetExclusiveEndFrame () const
 Gets the first frame number after the end of this section 更多...
 
FFrameNumber GetInclusiveStartFrame () const
 Gets the frame number at which this section starts 更多...
 
virtual MOVIESCENE_API TSharedPtr< FStructOnScope > GetKeyStruct (TArrayView< const FKeyHandle > KeyHandles)
 Get the data structure representing the specified keys. 更多...
 
virtual TOptional< FFrameTime > GetOffsetTime () const
 The optional offset time of this section
 
MOVIESCENE_API void GetOverlappingSections (TArray< UMovieSceneSection * > &OutSections, bool bSameRow, bool bIncludeThis)
 Gets a list of all overlapping sections
 
int32 GetOverlapPriority () const
 Gets this section's priority over overlapping sections (higher wins)
 
TRange< FFrameNumber > GetRange () const
 
virtual MOVIESCENE_API void GetReferencedBindings (TArray< FGuid > &OutBindings)
 Get the referenced bindings for this section
 
int32 GetRowIndex () const
 Gets the row index for this section
 
virtual void GetSnapTimes (TArray< FFrameNumber > &OutSnapTimes, bool bGetSectionBorders) const
 Gets all snap times for this section 更多...
 
MOVIESCENE_API FMovieSceneBlendTypeField GetSupportedBlendTypes () const
 Gets what kind of blending is supported by this section
 
MOVIESCENE_API bool GetSupportsInfiniteRange () const
 Does this movie section support infinite ranges for evaluation
 
virtual MOVIESCENE_API float GetTotalWeightValue (FFrameTime InTime) const
 Get The Total Weight Value for this Section For Most Sections it's just the Ease Value, but for some Sections also have an extra Weight Curve
 
TRange< FFrameNumber > GetTrueRange () const
 A true representation of this section's range with an inclusive start frame and an exclusive end frame. 更多...
 
bool HasEndFrame () const
 Check whether this section has an end frame (else infinite) 更多...
 
bool HasStartFrame () const
 Check whether this section has a start frame (else infinite) 更多...
 
virtual MOVIESCENE_API void InitialPlacement (const TArray< UMovieSceneSection * > &Sections, FFrameNumber InStartTime, int32 InDuration, bool bAllowMultipleRows)
 Places this section at the first valid row at the specified time. 更多...
 
virtual MOVIESCENE_API void InitialPlacementOnRow (const TArray< UMovieSceneSection * > &Sections, FFrameNumber InStartTime, int32 InDuration, int32 InRowIndex)
 Places this section at the specified row at the specified time. 更多...
 
bool IsTimeWithinSection (FFrameNumber Position) const
 Returns whether or not a provided position in time is within the timespan of the section 更多...
 
MOVIESCENE_API void MoveSection (FFrameNumber DeltaTime)
 Moves the section by a specific amount of time 更多...
 
virtual void OnBindingsUpdated (const TMap< FGuid, FGuid > &OldGuidToNewGuidMap)
 When guid bindings are updated to allow this section to fix-up any internal bindings 更多...
 
virtual MOVIESCENE_API const UMovieSceneSection * OverlapsWithSections (const TArray< UMovieSceneSection * > &Sections, int32 TrackDelta=0, int32 TimeDelta=0) const
 Checks to see if this section overlaps with an array of other sections given an optional time and track delta. 更多...
 
virtual MOVIESCENE_API void SetBlendType (EMovieSceneBlendType InBlendType)
 Sets this section's blend type
 
virtual MOVIESCENE_API void SetEndFrame (TRangeBound< FFrameNumber > NewEndFrame)
 Set this section's end frame in sequence resolution space 更多...
 
void SetIsActive (bool bInIsActive)
 Whether or not this section is active.
 
void SetIsLocked (bool bInIsLocked)
 Whether or not this section is locked.
 
void SetOverlapPriority (int32 NewPriority)
 Sets this section's priority over overlapping sections (higher wins)
 
void SetPostRollFrames (int32 InPostRollFrames)
 Gets/sets the number of frames to continue 'postrolling' this section for after evaluation has ended.
 
void SetPreRollFrames (int32 InPreRollFrames)
 Gets the number of frames to prepare this section for evaluation before it actually starts.
 
virtual MOVIESCENE_API void SetRange (const TRange< FFrameNumber > &NewRange)
 Sets a new range of times for this section 更多...
 
void SetRowIndex (int32 NewRowIndex)
 Sets this section's new row index
 
virtual MOVIESCENE_API void SetStartFrame (TRangeBound< FFrameNumber > NewStartFrame)
 Set this section's start frame in sequence resolution space. 更多...
 
virtual MOVIESCENE_API bool ShowCurveForChannel (const void *Channel) const
 Whether or not we draw a curve for a particular channel owned by this section. 更多...
 
virtual MOVIESCENE_API UMovieSceneSection * SplitSection (FQualifiedFrameTime SplitTime, bool bDeleteKeys)
 Split a section in two at the split time 更多...
 
virtual MOVIESCENE_API void TrimSection (FQualifiedFrameTime TrimTime, bool bTrimLeft, bool bDeleteKeys)
 Trim a section at the trim time 更多...
 
MOVIESCENE_API bool TryModify (bool bAlwaysMarkDirty=true)
 Calls Modify if this section can be modified, i.e. 更多...
 

Public 属性

FMovieSceneFrameRange SectionRange
 The range in which this section is active
 

Protected 成员函数

virtual MOVIESCENE_API bool IsPostLoadThreadSafe () const override
 Called during async load to determine if PostLoad can be called on the loading thread. 更多...
 
virtual MOVIESCENE_API void PostDuplicate (bool bDuplicateForPIE) override
 Called after duplication & serialization and before PostLoad. 更多...
 
virtual MOVIESCENE_API void PostEditImport () override
 Called after importing property values for this object (paste, duplicate or .t3d import) Allow the object to perform any cleanup for properties which shouldn't be duplicated or are unsupported by the script serialization
 
virtual MOVIESCENE_API void PostInitProperties () override
 Called after the C++ constructor and after the properties have been initialized, including those loaded from config. 更多...
 
virtual MOVIESCENE_API void PostRename (UObject *OldOuter, const FName OldName) override
 Called at the end of Rename(), but only if the rename was actually carried out
 
virtual MOVIESCENE_API void Serialize (FArchive &Ar) override
 Handles reading, writing, and reference collecting using FArchive. 更多...
 

Protected 属性

uint32 bIsInfinite_DEPRECATED: 1
 Toggle to set this section to be infinite
 
bool bSupportsInfiniteRange
 Does this section support infinite ranges in the track editor?
 
TSharedPtr< FMovieSceneChannelProxy > ChannelProxy
 Channel proxy that contains all the channels in this section - must be populated and invalidated by derived types. 更多...
 
EMovieSceneChannelProxyType ChannelProxyType
 Defines whether the channel proxy can change over the lifetime of the section
 
float EndTime_DEPRECATED
 The end time of the section
 
float PostRollTime_DEPRECATED
 The amount of time to continue 'postrolling' this section for after evaluation has ended.
 
float PreRollTime_DEPRECATED
 The amount of time to prepare this section for evaluation before it actually starts.
 
float StartTime_DEPRECATED
 The start time of the section
 

详细描述

Base class for movie scene sections

成员函数说明

◆ ComputeEffectiveRange()

MOVIESCENE_API TRange< FFrameNumber > UMovieSceneSection::ComputeEffectiveRange ( ) const

Return the range within which this section is effective.

Used for automatic calculation of sequence bounds.

返回
the range within which this section is effective

◆ GetChannelProxy()

MOVIESCENE_API FMovieSceneChannelProxy & UMovieSceneSection::GetChannelProxy ( ) const

Access this section's channel proxy, containing pointers to all existing data channels in this section

注解
: Proxy can be reallocated at any time; this accessor is only for immediate use.
返回
A reference to this section's channel proxy.

◆ GetExclusiveEndFrame()

FFrameNumber UMovieSceneSection::GetExclusiveEndFrame ( ) const
inline

Gets the first frame number after the end of this section

注解
Assumes a non-infinite end time. Check HasEndFrame first.
返回
The first frame after this section ends

◆ GetInclusiveStartFrame()

FFrameNumber UMovieSceneSection::GetInclusiveStartFrame ( ) const
inline

Gets the frame number at which this section starts

注解
Assumes a non-infinite start time. Check HasStartFrame first.
返回
The frame number at which this section starts.

◆ GetKeyStruct()

virtual MOVIESCENE_API TSharedPtr< FStructOnScope > UMovieSceneSection::GetKeyStruct ( TArrayView< const FKeyHandle >  KeyHandles)
virtual

Get the data structure representing the specified keys.

参数
KeyHandlesThe handles of the keys.
返回
The keys' data structure representation, or nullptr if key not found or no structure available.

被 UMovieScene3DTransformSection, UMovieSceneColorSection , 以及 UMovieSceneVectorSection 重载.

◆ GetRange()

TRange< FFrameNumber > UMovieSceneSection::GetRange ( ) const
inline
返回
The range of times of the section

◆ GetSnapTimes()

virtual void UMovieSceneSection::GetSnapTimes ( TArray< FFrameNumber > &  OutSnapTimes,
bool  bGetSectionBorders 
) const
inlinevirtual

Gets all snap times for this section

参数
OutSnapTimesThe array of times we will to output
bGetSectionBordersGets the section borders in addition to any custom snap times

被 UMovieSceneSkeletalAnimationSection 重载.

◆ GetTrueRange()

TRange< FFrameNumber > UMovieSceneSection::GetTrueRange ( ) const
inline

A true representation of this section's range with an inclusive start frame and an exclusive end frame.

The resulting range defines that the section lies between { lower <= time < upper }

◆ HasEndFrame()

bool UMovieSceneSection::HasEndFrame ( ) const
inline

Check whether this section has an end frame (else infinite)

返回
true if this section has an inclusive or exclusive end frame, false if it's open (infinite)

◆ HasStartFrame()

bool UMovieSceneSection::HasStartFrame ( ) const
inline

Check whether this section has a start frame (else infinite)

返回
true if this section has an inclusive or exclusive start frame, false if it's open (infinite)

◆ InitialPlacement()

virtual MOVIESCENE_API void UMovieSceneSection::InitialPlacement ( const TArray< UMovieSceneSection * > &  Sections,
FFrameNumber  InStartTime,
int32  InDuration,
bool  bAllowMultipleRows 
)
virtual

Places this section at the first valid row at the specified time.

Good for placement upon creation.

参数
SectionsSections that we can not overlap with.
InStartTimeThe new start time.
InDurationThe duration.
bAllowMultipleRowsIf false, it will move the section in the time direction to make it fit, rather than the row direction.

被 UMovieScene3DPathSection 重载.

◆ InitialPlacementOnRow()

virtual MOVIESCENE_API void UMovieSceneSection::InitialPlacementOnRow ( const TArray< UMovieSceneSection * > &  Sections,
FFrameNumber  InStartTime,
int32  InDuration,
int32  InRowIndex 
)
virtual

Places this section at the specified row at the specified time.

Overlapping sections will be moved down a row. Good for placement upon creation.

参数
SectionsSections that we can not overlap with.
InStartTimeThe new start time.
InDurationThe duration.
InRowIndexThe row index to place this section on.

◆ IsPostLoadThreadSafe()

virtual MOVIESCENE_API bool UMovieSceneSection::IsPostLoadThreadSafe ( ) const
overrideprotectedvirtual

Called during async load to determine if PostLoad can be called on the loading thread.

返回
true if this object's PostLoad is thread safe

重载 UObject .

◆ IsTimeWithinSection()

bool UMovieSceneSection::IsTimeWithinSection ( FFrameNumber  Position) const
inline

Returns whether or not a provided position in time is within the timespan of the section

参数
PositionThe position to check
返回
true if the position is within the timespan, false otherwise

◆ MoveSection()

MOVIESCENE_API void UMovieSceneSection::MoveSection ( FFrameNumber  DeltaTime)

Moves the section by a specific amount of time

参数
DeltaTimeThe distance in time to move the curve

◆ OnBindingsUpdated()

virtual void UMovieSceneSection::OnBindingsUpdated ( const TMap< FGuid, FGuid > &  OldGuidToNewGuidMap)
inlinevirtual

When guid bindings are updated to allow this section to fix-up any internal bindings

被 UMovieScene3DConstraintSection, UMovieSceneActorReferenceSection , 以及 UMovieSceneCameraCutSection 重载.

◆ OverlapsWithSections()

virtual MOVIESCENE_API const UMovieSceneSection * UMovieSceneSection::OverlapsWithSections ( const TArray< UMovieSceneSection * > &  Sections,
int32  TrackDelta = 0,
int32  TimeDelta = 0 
) const
virtual

Checks to see if this section overlaps with an array of other sections given an optional time and track delta.

参数
SectionsSection array to check against.
TrackDeltaOptional offset to this section's track index.
TimeDeltaOptional offset to this section's time delta.
返回
The first section that overlaps, or null if there is no overlap.

◆ PostDuplicate()

virtual MOVIESCENE_API void UMovieSceneSection::PostDuplicate ( bool  bDuplicateForPIE)
overrideprotectedvirtual

Called after duplication & serialization and before PostLoad.

Used to e.g. make sure UStaticMesh's UModel gets copied as well. Note: NOT called on components on actor duplication (alt-drag or copy-paste). Use PostEditImport as well to cover that case.

重载 UObject .

◆ PostInitProperties()

virtual MOVIESCENE_API void UMovieSceneSection::PostInitProperties ( )
overrideprotectedvirtual

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.

This is called before any serialization or other setup has happened.

重载 UObject .

◆ Serialize()

virtual MOVIESCENE_API void UMovieSceneSection::Serialize ( FArchive &  Ar)
overrideprotectedvirtual

Handles reading, writing, and reference collecting using FArchive.

This implementation handles all FProperty serialization, but can be overridden for native variables.

重载 UObject .

被 UMovieSceneEventSectionBase, UMovieSceneParameterSection, UMovieSceneSkeletalAnimationSection , 以及 UMovieSceneVectorSection 重载.

◆ SetEndFrame()

virtual MOVIESCENE_API void UMovieSceneSection::SetEndFrame ( TRangeBound< FFrameNumber >  NewEndFrame)
virtual

Set this section's end frame in sequence resolution space

注解
: Will be clamped to the current start frame if necessary

被 UMovieSceneSkeletalAnimationSection 重载.

◆ SetRange()

virtual MOVIESCENE_API void UMovieSceneSection::SetRange ( const TRange< FFrameNumber > &  NewRange)
inlinevirtual

Sets a new range of times for this section

参数
NewRangeThe new range of times

被 UMovieSceneSkeletalAnimationSection 重载.

◆ SetStartFrame()

virtual MOVIESCENE_API void UMovieSceneSection::SetStartFrame ( TRangeBound< FFrameNumber >  NewStartFrame)
virtual

Set this section's start frame in sequence resolution space.

注解
: Will be clamped to the current end frame if necessary

被 UMovieSceneSkeletalAnimationSection 重载.

◆ ShowCurveForChannel()

virtual MOVIESCENE_API bool UMovieSceneSection::ShowCurveForChannel ( const void *  Channel) const
inlinevirtual

Whether or not we draw a curve for a particular channel owned by this section.

Defaults to true.

被 UMovieScene3DTransformSection 重载.

◆ SplitSection()

virtual MOVIESCENE_API UMovieSceneSection * UMovieSceneSection::SplitSection ( FQualifiedFrameTime  SplitTime,
bool  bDeleteKeys 
)
virtual

Split a section in two at the split time

参数
SplitTimeThe time at which to split
bDeleteKeysDelete keys outside the split ranges
返回
The newly created split section

被 UMovieSceneSubSection, UMovieSceneAudioSection , 以及 UMovieSceneSkeletalAnimationSection 重载.

◆ TrimSection()

virtual MOVIESCENE_API void UMovieSceneSection::TrimSection ( FQualifiedFrameTime  TrimTime,
bool  bTrimLeft,
bool  bDeleteKeys 
)
virtual

Trim a section at the trim time

参数
TrimTimeThe time at which to trim
bTrimLeftWhether to trim left or right
bDeleteKeysDelete keys outside the split ranges

被 UMovieSceneSubSection, UMovieSceneAudioSection , 以及 UMovieSceneSkeletalAnimationSection 重载.

◆ TryModify()

MOVIESCENE_API bool UMovieSceneSection::TryModify ( bool  bAlwaysMarkDirty = true)

Calls Modify if this section can be modified, i.e.

can't be modified if it's locked

返回
Returns whether this section is locked or not

类成员变量说明

◆ ChannelProxy

TSharedPtr<FMovieSceneChannelProxy> UMovieSceneSection::ChannelProxy
mutableprotected

Channel proxy that contains all the channels in this section - must be populated and invalidated by derived types.

Must be re-allocated any time any channel pointer in derived types is reallocated (such as channel data stored in arrays) to ensure that any weak handles to channels are invalidated correctly. Allocation is via MakeShared<FMovieSceneChannelProxy>().


该类的文档由以下文件生成: