Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AvatarMask.AddTransformPath

Switch to Manual
public void AddTransformPath(Transform transform, bool recursive = true);

Parameters

transform The transform to add into the AvatarMask.
recursive Whether to also add all children of the specified transform.

Description

Adds a transform path into the AvatarMask.