engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FAnimNode_TwoBoneIK结构体 参考

Simple 2 Bone IK Controller. 更多...

#include <AnimNode_TwoBoneIK.h>

继承自 FAnimNode_SkeletalControlBase .

Public 成员函数

virtual void GatherDebugData (FNodeDebugData &DebugData) override
 Called to gather on-screen debug data. 更多...
 
virtual void Initialize_AnyThread (const FAnimationInitializeContext &Context) override
 Called when the node first runs. 更多...
 

Public 属性

uint8 bAllowStretching:1
 Should stretching be allowed, to be prevent over extension
 
uint8 bAllowTwist: 1
 Whether or not to apply twist on the chain of joints. 更多...
 
uint8 bMaintainEffectorRelRot: 1
 Keep local rotation of end bone
 
uint8 bTakeRotationFromEffectorSpace: 1
 Set end bone to use End Effector rotation
 
FVector EffectorLocation
 Effector Location. 更多...
 
TEnumAsByte< enum EBoneControlSpace > EffectorLocationSpace
 Reference frame of Effector Location.
 
FBoneReference IKBone
 Name of bone to control. 更多...
 
FVector JointTargetLocation
 Joint Target Location. 更多...
 
TEnumAsByte< enum EBoneControlSpace > JointTargetLocationSpace
 Reference frame of Joint Target Location.
 
float MaxStretchScale
 Limits to use if stretching is allowed. 更多...
 
float StartStretchRatio
 Limits to use if stretching is allowed. 更多...
 
FAxis TwistAxis
 Specify which axis it's aligned. 更多...
 

详细描述

Simple 2 Bone IK Controller.

成员函数说明

◆ GatherDebugData()

virtual void FAnimNode_TwoBoneIK::GatherDebugData ( FNodeDebugData &  DebugData)
overridevirtual

Called to gather on-screen debug data.

This is called on the game thread.

参数
DebugDataDebug data structure used to output any relevant data

重载 FAnimNode_Base .

◆ Initialize_AnyThread()

virtual void FAnimNode_TwoBoneIK::Initialize_AnyThread ( const FAnimationInitializeContext &  Context)
overridevirtual

Called when the node first runs.

If the node is inside a state machine or cached pose branch then this can be called multiple times. This can be called on any thread.

参数
ContextContext structure providing access to relevant data

重载 FAnimNode_Base .

类成员变量说明

◆ bAllowTwist

uint8 FAnimNode_TwoBoneIK::bAllowTwist

Whether or not to apply twist on the chain of joints.

This clears the twist value along the TwistAxis

◆ EffectorLocation

FVector FAnimNode_TwoBoneIK::EffectorLocation

Effector Location.

Target Location to reach.

◆ IKBone

FBoneReference FAnimNode_TwoBoneIK::IKBone

Name of bone to control.

This is the main bone chain to modify from.

◆ JointTargetLocation

FVector FAnimNode_TwoBoneIK::JointTargetLocation

Joint Target Location.

Location used to orient Joint bone.

◆ MaxStretchScale

float FAnimNode_TwoBoneIK::MaxStretchScale

Limits to use if stretching is allowed.

This value determins what is the max stretch scale. For example, 1.5 means it will stretch until 150 % of the whole length of the limb.

◆ StartStretchRatio

float FAnimNode_TwoBoneIK::StartStretchRatio

Limits to use if stretching is allowed.

This value determines when to start stretch. For example, 0.9 means once it reaches 90% of the whole length of the limb, it will start apply.

◆ TwistAxis

FAxis FAnimNode_TwoBoneIK::TwistAxis

Specify which axis it's aligned.

Used when removing twist


该结构体的文档由以下文件生成: