Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/RigInstance
Warnings It is not possible to evaluate a rig instance created through one RigLogic instance by another RigLogic instance. User is responsible for releasing the returned pointer by calling destroy.
Description
Rig instances are all tied to their parent RigLogic instance. All rig instances created through a particular RigLogic instance are based on the same DNA.
It is not possible to evaluate a rig instance created through one RigLogic instance by another RigLogic instance.
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/RigInstance.h |
| Include Path | #include "riglogic/riglogic/RigInstance.h" |
| Source | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Private/riglogic/riglogic/RigInstanceImpl.cpp |
static RigInstance * create
(
RigLogic * rigLogic,
MemoryResource * memRes
)
Parameters
| Name | Remarks |
|---|---|
| rigLogic | The RigLogic instance upon which this RigInstance should be based. |
| memRes | A custom memory resource to be used for the allocation of the rig instance resources. |
See Also
- destroy