Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RemoveTransformPath

Removes a transform path from the AvatarMask.
Read time 1 minuteLast updated 5 days ago

Definition

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

RemoveTransformPath(Transform)

Removes a transform path from the AvatarMask.
public void RemoveTransformPath(Transform transform)

Parameters

transform

The Transform that should be removed from the AvatarMask.

Remarks

If there is no transform path matching transform nothing will be removed.

RemoveTransformPath(Transform, bool)

Removes a transform path from the AvatarMask.
public void RemoveTransformPath(Transform transform, bool recursive)

Parameters

transform

The Transform that should be removed from the AvatarMask.

recursive

Whether to also remove all children of the specified transform.

Remarks

If there is no transform path matching transform nothing will be removed.