Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/TwistSwingBehaviorWriter
Description
The parameter group storage will be implicitly resized (if needed) to provide storage for the number of groups that is inferred from the specified index.
There is one weight per output joint in this list.
| Name | setSwingBlendWeights |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/TwistSwingBehaviorWriter.h |
| Include Path | #include "dna/layers/TwistSwingBehaviorWriter.h" |
void setSwingBlendWeights
(
std::uint16_t swingIndex,
const float * blendWeights,
std::uint16_t blendWeightCount
)
Parameters
| Name | Remarks |
|---|---|
| swingIndex | The index of the parameter group whose data is being accessed. |
| blendWeights | The source address from which the swing blend weights are to be copied. |
| blendWeightCount | The number of blend weights to copy. |