Navigation
API > API/Editor > API/Editor/SequenceRecorder
Inheritance Hierarchy
- FGCObject
- FAnimationRecorder
References
| Module | SequenceRecorder |
| Header | /Engine/Source/Editor/SequenceRecorder/Public/AnimationRecorder.h |
| Include | #include "AnimationRecorder.h" |
Syntax
struct FAnimationRecorder : public FGCObject
Remarks
Records the mesh pose to animation input
Variables
| Type | Name | Description | |
|---|---|---|---|
| FAnimationSerializer * | AnimationSerializer | Serializer, if set we also store data out incrementally while running | |
| uint8: 1 | bAutoSaveAsset | If true, asset will be saved to disk after recording. | |
| uint8: 1 | bCheckDeltaTimeAtBeginning | If true we check delta time at beginning of recording | |
| uint8: 1 | bRecordAttributeCurves | Whether or not to record attribute curves | |
| uint8: 1 | bRecordLocalToWorld | If true, it will record root to include LocalToWorld | |
| uint8: 1 | bRecordMaterialCurves | Whether or not to record material curves | |
| uint8: 1 | bRecordMorphTargets | Whether or not to record morph targets | |
| uint8: 1 | bRecordTransforms | Whether or not to record transforms | |
| uint8: 1 | bRemoveRootTransform | If true, the root bone transform will be removed from all bone transforms | |
| bool | bTransactRecording | Whether or not to transact any IAnimationDataController changes | |
| TArray< FString > | ExcludeAnimationNames | Exclude list | |
| TArray< FString > | IncludeAnimationNames | Include list | |
| ERichCurveInterpMode | InterpMode | The interpolation mode for the recorded keys | |
| EAnimInterpolationType | Interpolation | Interpolation type for the recorded sequence | |
| ERichCurveTangentMode | TangentMode | The tangent mode for the recorded keys |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| UAnimSequence * | |||
| void | GetBoneTransforms
(
USkeletalMeshComponent* Component, |
Helper function to get space bases depending on leader pose component | |
| const FTransform & | |||
| double | |||
| bool | InRecording () |
||
| void | ProcessRecordedTimes
(
UAnimSequence* AnimSequence, |
||
| bool | SetAnimCompressionScheme
(
UAnimBoneCompressionSettings* Settings |
||
| void | SetSampleRateAndLength
(
FFrameRate SampleFrameRate, |
Sets a new sample rate & max length for this recorder. Don't call while recording. | |
| void | StartRecord
(
USkeletalMeshComponent* Component, |
||
| UAnimSequence * | StopRecord
(
bool bShowMessage |
||
| bool | TriggerRecordAnimation
(
USkeletalMeshComponent* Component |
Starts recording an animation. Prompts for asset path and name via dialog if none provided | |
| bool | TriggerRecordAnimation
(
USkeletalMeshComponent* Component, |
Starts recording an animation. Prompts for asset path and name via dialog if none provided | |
| void | UpdateRecord
(
USkeletalMeshComponent* Component, |
Overridden from FGCObject
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
FGCObject interface start. | |
| FString | Overload this method to report a name for your referencer |
Constants
| Name | Description |
|---|---|
| DefaultSampleRate | |
| UnBoundedFrameCount | Frame count used to signal an unbounded animation |