Version: 1.10
LanguageEnglish
  • C#

AnimationDeadBlendingPlayable.SetAvatarWeightMask

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public void SetAvatarWeightMask(AvatarWeightMask mask);

Parameters

mask The AvatarWeightMask specifying which body parts to include in the transition.

Description

Sets the per-body-part blend weights from an AvatarWeightMask.

Specifies which body parts are included in the dead blending transition. Body parts in the mask receive full dead blending weight (1.0), while those not in the mask are excluded. The mask is saved internally and automatically re-applied after internal binding reallocation. Float parameters always receive weight 1.0 regardless of the mask.