engine
 
载入中...
搜索中...
未找到
枚举
EAttachLocation 命名空间参考

Deprecated rules for setting transform on attachment, new functions should use FAttachmentTransformRules isntead 更多...

枚举

enum  Type { KeepRelativeOffset , KeepWorldPosition , SnapToTarget , SnapToTargetIncludingScale }
 

详细描述

Deprecated rules for setting transform on attachment, new functions should use FAttachmentTransformRules isntead

枚举类型说明

◆ Type

枚举值
KeepRelativeOffset 

Keeps current relative transform as the relative transform to the new parent.

KeepWorldPosition 

Automatically calculates the relative transform such that the attached component maintains the same world transform.

SnapToTarget 

Snaps location and rotation to the attach point.

Calculates the relative scale so that the final world scale of the component remains the same.

SnapToTargetIncludingScale 

Snaps entire transform to target, including scale.