Module |
|
Header |
/Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/riglogic/riglogic/RigLogic.h |
Include |
#include "riglogic/riglogic/RigLogic.h" |
class RigLogic
RigLogic calculates rig output values based on input control values. @note A single RigLogic instance can create and drive an arbitrary number of rig instances. Since the rig instance specific data is located on the RigInstance class, RigLogic itself may be considered stateless, and all of it's functions thread-safe.
Name | Description | |
---|---|---|
|
~RigLogic() |
Name | Description | ||
---|---|---|---|
|
calculate ( |
Calculate outputs for joints, blend shapes, and animated maps. @note It performs a complete evaluation of the rig, computing all the output values in the following order: |
|
|
calculateAnimatedMaps ( |
Calculate only the animated map outputs of the rig. @note This is considered as an advanced usage use case. |
|
|
calculateBlendShapes ( |
Calculate only the blend shape outputs of the rig. @note This is considered as an advanced usage use case. |
|
|
calculateControls ( |
Calculate only the input control values of the rig. @note Based on the set or computed raw control values, calculate the PSD outputs as well. The raw control values, followed by the PSD values represent the input values of the rig. @note This is considered as an advanced usage use case. |
|
|
calculateJoints ( |
Calculate only the joint outputs of the rig. @note This is considered as an advanced usage use case. |
|
|
calculateJoints ( |
Calculate individual joint groups. @note It's intended to be used in a multi-threaded environment, such that the calculatin of all joint groups is performed by several threads, instead of computing all at once. @note This is considered as an expert usage use case. |
|
|
RigLogic ... |
create ( |
Factory method for the creation of RigLogic. |
|
destroy ( |
Method for freeing RigLogic. |
|
|
dump ( |
Create a snapshot of an initialized RigLogic instance. |
|
|
std::uint16_... |
getJointGroupCount() |
Number of joint groups present in the entire joint matrix. |
|
ConstArrayVi... |
getJointVariableAttributeIndices ( |
All joint output indices concatenated into a single chunk per each LOD. |
|
std::uint16_... |
getLODCount() |
Available levels of detail (e.g. 6 which means the following levels are available: [0,1,2,3,4,5], where 0 is the LOD with the highest details, and 5 is the LOD with lowest details). |
|
Transformati... |
getNeutralJointValues() |
Neutral values for joint transformations. @note A more user-friendly representation that groups values belonging to separate transformations into single units, while providing accessors to the actual values they represent. |
|
ConstArrayVi... |
getRawNeutralJointValues() |
Neutral values of joint transformations. @note These is just a primitive array of floats, providing access to all the values of all transformations. |
|
mapGUIToRawControls ( |
Maps GUI controls to raw controls. @note This method must be called after either RigInstance::setGUIControlValues call or RigInstance::::setGUIControl calls were issued. |
|
|
RigLogic ... |
restore ( |
Factory method for restoring an instance of RigLogic from a memory dump. @note This form of creation allows faster instantiation of RigLogic, as it doesn't need to go through the storage optimization phase, it just loads an earlier dumped state of a RigLogic instance back into memory. |
Name |
Description |
---|---|
CalculationType |