Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/RigLogic
Warnings * User is responsible for releasing the returned pointer by calling destroy.
Description
If a custom memory resource is not given, a default allocation mechanism will be used.
User is responsible for releasing the returned pointer by calling destroy.
| Name | create |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/riglogic/riglogic/RigLogic.h |
| Include Path | #include "riglogic/riglogic/RigLogic.h" |
| Source | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Private/riglogic/riglogic/RigLogicImpl.cpp |
static RigLogic * create
(
const dna::Reader * reader,
const Configuration & config,
MemoryResource * memRes
)
Parameters
| Name | Remarks |
|---|---|
| reader | Source from which to copy and optimize DNA data, which is used for rig evaluation |
| config | Determines which algorithm implementation is used for rig evaluation and which submodules to load (affects memory allocations) |
| memRes | A custom memory resource to be used for allocations. |
See Also
- destroy