Documentation

Unity Engine

Unity Engine

AddTransformPath

Adds a transform path into the AvatarMask.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule

AddTransformPath(Transform)

Adds a transform path into the AvatarMask.
public void AddTransformPath(Transform transform)

Parameters

transform

The transform to add into the AvatarMask.

AddTransformPath(Transform, bool)

Adds a transform path into the AvatarMask.
public void AddTransformPath(Transform transform, bool recursive)

Parameters

transform

The transform to add into the AvatarMask.

recursive

Whether to also add all children of the specified transform.