USkinnedMeshComponent::GetTwistAndSwingAngleOfDeltaRotationFromRefPose

Get Twist and Swing Angle in Degree of Delta Rotation from Reference Pose in Local space

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SkinnedMeshComponent.h

Include

#include "Components/SkinnedMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SkinnedMeshComponent.cpp

Syntax

bool GetTwistAndSwingAngleOfDeltaRotationFromRefPose
(
    FName BoneName,
    float & OutTwistAngle,
    float & OutSwingAngle
) const

Remarks

Get Twist and Swing Angle in Degree of Delta Rotation from Reference Pose in Local space

First this function gets rotation of current, and rotation of ref pose in local space, and And gets twist/swing angle value from refpose aligned.

Returns

true if succeed. False otherwise. Often due to incorrect bone name.

Parameters

Parameter

Description

BoneName

Name of the bone

OutTwistAngle

TwistAngle in degree

OutSwingAngle

SwingAngle in degree

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback