设置动画身体部位的权重

动画
Both Server and Client
Both Mobile and PC

设置目标身体部位在与其他低优先级动画叠加播放时的权重

声明

func SetBodyPartWeight(target entity<AnimationControllerAttachable>, bodyPartName string, weight float)
go

参数

输入

名称 类型 描述
目标 AnimationControllerAble 身体部位所属的可添加动画控制器组件
部位名字 String 身体部位名
权重 Float 权重,取值范围[0, 1],表示与低优先级动画的混合程度