EFBXAnimationLengthImportType

I know these descriptions don't make sense, but the functions I use act a bit different depending on situation.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Factories/FbxAnimSequenceImportData.h

Include

#include "Factories/FbxAnimSequenceImportData.h"

Syntax

enum EFBXAnimationLengthImportType
{
    FBXALIT_ExportedTime,
    FBXALIT_AnimatedKey,
    FBXALIT_SetRange,
    FBXALIT_MAX,
}

Values

Name

Description

FBXALIT_ExportedTime

This option imports animation frames based on what is defined at the time of export

FBXALIT_AnimatedKey

Will import the range of frames that have animation.

FBXALIT_SetRange

This will enable the Start Frame and End Frame properties for you to define the frames of animation to import

FBXALIT_MAX

Remarks

I know these descriptions don't make sense, but the functions I use act a bit different depending on situation. a) FbxAnimStack::GetLocalTimeSpan will return you the start and stop time for this stack (or take). It's simply two time values that can be set to anything regardless of animation curves. Generally speaking, applications set these to the start and stop time of the timeline. b) As for FbxNode::GetAnimationInternval, this one will iterate through all properties recursively, and then for all animation curves it finds, for the animation layer index specified. So in other words, if one property has been animated, it will modify this result. This is completely different from GetLocalTimeSpan since it calculates the time span depending on the keys rather than just using the start and stop time that was saved in the file.Animation length type when importing

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