AnimancerLayerList.

SetMask(int, AvatarMask) Method

Summary

[Pro-Only] Sets an UnityEngine.AvatarMask to determine which bones the layer at the specified index will affect.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerLayerList

Syntax

public virtual void SetMask(int index, AvatarMask mask)

Remarks

Don't assign the same mask repeatedly unless you have modified it. This property doesn't check if the mask is the same so repeatedly assigning the same thing will simply waste performance.

Parameters

Name Type Description
index int
mask AvatarMask

Return Value

Type Description
void