Version: 1.10
LanguageEnglish
  • C#

AnimationAvatarWeightMaskPlayable

struct in UnityEngine.Animations

/

Implemented in:UnityEngine.AnimationModule


Implements interfaces:IPlayable

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

Description

A Playable that applies weighted avatar masking to animation data.

Used by AnimGraph as an AnimationAvatarWeightMaskNode. This playable supports AvatarWeightMask objects. NOTE: You can use PlayableExtensions methods with AnimationAvatarWeightMaskPlayable objects.

Public Methods

EqualsDetermines whether this playable and another AnimationAvatarWeightMaskPlayable reference the same handle.
GetHandleReturns the PlayableHandle associated with this playable.
GetUseReferenceReturns whether the playable uses the reference pose when applying the weighted avatar mask.
GetWeightReturns the weight of the body part or animation channel identified by the specified index.
SetUseReferenceSets whether the playable uses the reference pose when applying the weighted avatar mask.
SetWeightSets the weight of the body part or animation channel identified by the specified index.
SetWeightMaskSets the AvatarWeightMask used by this playable.

Static Methods

CreateCreates an AnimationAvatarWeightMaskPlayable in the specified PlayableGraph.

Operators

AnimationAvatarWeightMaskPlayableExplicitly converts a Playable to an AnimationAvatarWeightMaskPlayable.
PlayableImplicitly converts an AnimationAvatarWeightMaskPlayable to a Playable.