RigInstance

[RigInstance](API\Plugins\RigLogicLib\riglogic\riglogic\RigInstance) contains the instance specific data of a rig. @note The input / output buffers are all contained within a rig instance. It provides functions for setting the level of detail and input control values of a single instance, as well as accessors to the output values of joints, blend shapes and animated maps. To evaluate / drive the rig instance, it must be passed to the [RigLogic::calculate](API\Plugins\RigLogicLib\riglogic\riglogic\RigLogic\calculate) function.

Windows
MacOS
Linux

References

Module

RigLogicLib

Header

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

Include

#include "riglogic/riglogic/RigInstance.h"

Syntax

class RigInstance

Remarks

RigInstance contains the instance specific data of a rig. @note The input / output buffers are all contained within a rig instance. It provides functions for setting the level of detail and input control values of a single instance, as well as accessors to the output values of joints, blend shapes and animated maps. To evaluate / drive the rig instance, it must be passed to the RigLogic::calculate function.

Destructors

Name Description

Protected function Virtual

~RigInstance()

Functions

Name Description

Public function Static

RigInstance ...

 

create

(
    RigLogic* rigLogic,
    MemoryResource* memRes
)

Factory method for the creation of rig instances. @note 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.

Public function Static

void

 

destroy

(
    RigInstance* instance
)

Method for freeing rig instances.

Public function Const

ConstArrayVi...

 

getAnimatedMapOutputs()

Calculated values for animated map deformations.

Public function Const

ConstArrayVi...

 

getBlendShapeOutputs()

Calculated values for blend shape deformations.

Public function Const

std::uint16_...

 

getGUIControlCount()

Public function Const

Transformati...

 

getJointOutputs()

Calculated 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.

Public function Const

std::uint16_...

 

getLOD()

The current level of details of this instance.

Public function Const

std::uint16_...

 

getRawControlCount()

Public function Const

ConstArrayVi...

 

getRawJointOutputs()

Calculated values for joint transformations. @note This is just a primitive array of floats, providing access to all the values of all transformations.

Public function

void

 

setGUIControl

(
    std::uint16_t index,
    float value
)

Public function

void

 

setGUIControlValues

(
    const float* values
)

Public function

void

 

setLOD

(
    std::uint16_t level
)

The current level of details of this instance.

Public function

void

 

setRawControl

(
    std::uint16_t index,
    float value
)

Public function

void

 

setRawControlValues

(
    const float* values
)

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