Navigation
Unreal Engine C++ API Reference > Plugins > RigLogicLib > riglogic > riglogic
References
Module | RigLogicLib |
Header | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/riglogic/riglogic/RigLogic.h |
Include | #include "riglogic/riglogic/RigLogic.h" |
Syntax
class RigLogic
Remarks
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.
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
~RigLogic () |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | calculate
(
RigInstance* instance |
Calculate outputs for joints, blend shapes, and animated maps. |
![]() ![]() |
void | calculateAnimatedMaps
(
RigInstance* instance |
Calculate only the animated map outputs of the rig. |
![]() ![]() |
void | calculateBlendShapes
(
RigInstance* instance |
Calculate only the blend shape channel weights of the rig. |
![]() ![]() |
void | calculateControls
(
RigInstance* instance |
Calculate only the input control values of the rig. |
![]() ![]() |
void | calculateJoints
(
RigInstance* instance, |
Calculate individual joint groups. |
![]() ![]() |
void | calculateJoints
(
RigInstance* instance |
Calculate only the joint outputs of the rig. |
![]() ![]() |
void | calculateMachineLearnedBehaviorControls
(
RigInstance* instance |
Calculate controls driving the machine learned behavior of the rig. |
![]() ![]() |
void | calculateMachineLearnedBehaviorControls
(
RigInstance* instance, |
Calculate controls driving the machine learned behavior of the rig. |
![]() ![]() |
RigLogic * | create
(
const dna::Reader* reader, |
Factory method for the creation of RigLogic. |
![]() ![]() |
void | Method for freeing RigLogic. | |
![]() ![]() |
void | dump
(
BoundedIOStream* destination |
Create a snapshot of an initialized RigLogic instance. |
![]() ![]() |
std::uint16_t | Number of joint groups present in the entire joint matrix. | |
![]() ![]() |
ConstArrayView< std::uint16_t > | getJointVariableAttributeIndices
(
std::uint16_t lod |
All joint output indices concatenated into a single chunk per each LOD. |
![]() ![]() |
std::uint16_t | 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). |
![]() ![]() |
std::uint16_t | getMeshCount () |
Number of meshes. |
![]() ![]() |
std::uint16_t | getMeshRegionCount
(
std::uint16_t meshIndex |
Number of regions within the specified mesh. |
![]() ![]() |
std::uint16_t | Number of neural networks for driving machine learned behavior. | |
![]() ![]() |
ConstArrayView< std::uint16_t > | getNeuralNetworkIndices
(
std::uint16_t meshIndex, |
Map a mesh and region index pair to the neural network indices that drive it. |
![]() ![]() |
TransformationArrayView | Neutral values for joint transformations. | |
![]() ![]() |
ConstArrayView< float > | Neutral values of joint transformations. | |
![]() ![]() |
void | mapGUIToRawControls
(
RigInstance* instance |
Maps GUI controls to raw controls. |
![]() ![]() |
void | mapRawToGUIControls
(
RigInstance* instance |
Maps raw controls to GUI controls. |
![]() ![]() |
RigLogic * | restore
(
BoundedIOStream* source, |
Factory method for restoring an instance of RigLogic from a memory dump. |
Typedefs
Name | Description |
---|---|
Configuration |