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

A description of how to apply aim constraint 更多...

#include <Constraint.h>

+ 类 FAimConstraintDescription 继承关系图:

Public 成员函数

virtual void AccumulateConstraintTransform (const FTransform &TargetTransform, const FTransform &CurrentTransform, const FTransform &CurrentParentTransform, float Weight, FMultiTransformBlendHelper &BlendHelperInLocalSpace) const override
 Apply Constraint : Apply Constraint transform to BlendHelperInLocalSpace in local space 更多...
 
virtual bool DoesAffectRotation () const override
 Functions that describes what they modify 更多...
 
virtual void Serialize (FArchive &Ar) override
 Serializer
 
- Public 成员函数 继承自 FConstraintDescriptionEx
virtual void AccumulateConstraintTransform (const FTransform &TargetTransform, const FTransform &CurrentTransform, const FTransform &CurrentParentTransform, float Weight, FMultiTransformBlendHelper &BlendHelperInLocalSpace) const
 Apply Constraint : Apply Constraint transform to BlendHelperInLocalSpace in local space 更多...
 
virtual bool DoesAffectRotation () const
 Functions that describes what they modify 更多...
 
virtual bool DoesAffectTransform () const
 Functions that describes what they modify - this means, whole Transform, so combined transform, not individual component This will override any individual component if returning true
 
virtual void Serialize (FArchive &Ar)
 Serializer
 

详细描述

A description of how to apply aim constraint

成员函数说明

◆ AccumulateConstraintTransform()

virtual void FAimConstraintDescription::AccumulateConstraintTransform ( const FTransform &  TargetTransform,
const FTransform &  CurrentTransform,
const FTransform &  CurrentParentTransform,
float  Weight,
FMultiTransformBlendHelper &  BlendHelperInLocalSpace 
) const
overridevirtual

Apply Constraint : Apply Constraint transform to BlendHelperInLocalSpace in local space

参数
TargetTransform: Current Target Transform in global space
CurrentTransform: Current Source Transform in global space
CurrentParent Transform: Current Source Parent Transform in global space
Weight: Current Weight
BlendHelperInLocalSpace: Blend Helper, this accumulates all constraints transform and later on blend to final transform
返回
BlendHelperInLocalSpace will contains constraint's local transform result, it is local because that's how you want to compose multiple to one transform at the end

重载 FConstraintDescriptionEx .

◆ DoesAffectRotation()

virtual bool FAimConstraintDescription::DoesAffectRotation ( ) const
inlineoverridevirtual

Functions that describes what they modify

Since same component will be blended by weight correctly, this has to split to each component

重载 FConstraintDescriptionEx .


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