Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/Animation > API/Plugins/InterchangeImport/Animation/IInterchangeAnimationPayloadInte-
- IInterchangeAnimationPayloadInterface::GetAnimationPayloadData()
- UInterchangeGLTFTranslator::GetAnimationPayloadData()
- UInterchangeFbxTranslator::GetAnimationPayloadData()
- UInterchangeDatasmithTranslator::GetAnimationPayloadData()
References
| Module | InterchangeImport |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/Animation/InterchangeAnimationPayloadInterface.h |
| Include | #include "Animation/InterchangeAnimationPayloadInterface.h" |
TFuture< TOptional< UE::Interchange::FAnimationPayloadData > > GetAnimationPayloadData
&40;
const FInterchangeAnimationPayLoadKey & PayLoadKey,
const double BakeFrequency,
const double RangeStartSecond,
const double RangeStopSecond
&41; const
Remarks
Get animation payload data for the specified payload key. It return an array of FRichCurve (Rich curve are float curve we can interpolate) or array of "Step" curve or an array of Baked Transformations, depending on Type
- The resulting PayloadData as a TFuture point by the PayloadKey. The TOptional will not be set if there is an error retrieving the payload.
Parameters
| Name | Description |
|---|---|
| PayLoadKey.UniqueId | The key to retrieve the a particular payload contain into the specified source data. |
| PayLoadKey.Type | The type of animation data to be retrieved (Type is provided by the Translator upon initialization of PayLoadKeys) |