RigInstance::create

Factory method for the creation of rig instances. @note Rig instances are all tied to their parent [RigLogic](API\Plugins\RigLogicLib\riglogic\riglogic\RigLogic) instance. All rig instances created through a particular [RigLogic](API\Plugins\RigLogicLib\riglogic\riglogic\RigLogic) instance are based on the same DNA.

Windows
MacOS
Linux

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.

References

Module

RigLogicLib

Header

/Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/riglogic/riglogic/RigInstance.h

Include

#include "riglogic/riglogic/RigInstance.h"

Source

/Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Private/riglogic/riglogic/RigInstanceImpl.cpp

Syntax

static RigInstance * create
(
    RigLogic * rigLogic,
    MemoryResource * memRes
)

Remarks

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.

Parameters

Parameter

Description

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. @note If a custom memory resource is not given, a default allocation mechanism will be used.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss