Navigation
API > API/Plugins > API/Plugins/RigMapper
A helper struct to gain performance when doing some batch remapping with the Rig Mapper pipeline Useful when remapping frames every tick, or numerous frames at once, or when using chained definitions... EvaluateFrame(s) methods work best if given the same set of CurveNames at every call Also provides a static utility to load rig mappers from definitions
| Name | FRigMapperProcessor |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Animation/RigMapper/Source/RigMapper/Public/RigMapperProcessor.h |
| Include Path | #include "RigMapperProcessor.h" |
Syntax
USTRUCT ()
struct FRigMapperProcessor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| RigMapperProcessor.h | |||
FRigMapperProcessor
(
const TArray< URigMapperDefinition* >& InDefinitions |
RigMapperProcessor.h | ||
FRigMapperProcessor
(
URigMapperDefinition* InDefinition |
RigMapperProcessor.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FIndexCache | TArray< int32 > | RigMapperProcessor.h | |
| FPose | TMap< FString, float > | RigMapperProcessor.h | |
| FPoseValues | TArray< TOptional< float > > | RigMapperProcessor.h | |
| FSparseBakedCurves | TMap< FFrameTime, FPoseValues > | RigMapperProcessor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IndexCache | TArray< FIndexCache > | An index map for each rig mapper's input - if the input curve names change between two calls, it will be rebuilt | RigMapperProcessor.h | |
| RigMappers | TArray< FacialRigMapping::FRigMapper > | The rig mappers loaded from definitions | RigMapperProcessor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool EvaluateFrame
(
const TArray< FName >& CurveNames, |
Evaluates a single frame - retrieve and/or cache curve names using @GetOutputNames for performance | RigMapperProcessor.h | |
bool EvaluateFrame
(
const TArray< FName >& CurveNames, |
Evaluates a single frame | RigMapperProcessor.h | |
bool EvaluateFrames
(
const TArray< FName >& CurveNames, |
Evaluates a set of frames all at once - retrieve and/or cache curve names using @GetOutputNames for performance | RigMapperProcessor.h | |
| Evaluates a set of frames all at once | RigMapperProcessor.h | ||
| Evaluates a set of frames all at once, interpolating between them using the given frame times | RigMapperProcessor.h | ||
| RigMapperProcessor.h | |||
| RigMapperProcessor.h | |||
bool IsValid() |
RigMapperProcessor.h |