Class AvatarMask
Assembly: UnityEngine.dll
Syntax
[MovedFrom("UnityEditor.Animations", true)]
public sealed class AvatarMask : Object
Constructors
|
Improve this Doc
View Source
AvatarMask()
Declaration
Properties
|
Improve this Doc
View Source
humanoidBodyPartCount
Declaration
[Obsolete("AvatarMask.humanoidBodyPartCount is deprecated, use AvatarMaskBodyPart.LastBodyPart instead.")]
public int humanoidBodyPartCount { get; }
Property Value
Declaration
public int transformCount { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public void AddTransformPath(Transform transform)
Parameters
Declaration
public void AddTransformPath(Transform transform, [DefaultValue("true")] bool recursive)
Parameters
GetHumanoidBodyPartActive(AvatarMaskBodyPart)
Declaration
public bool GetHumanoidBodyPartActive(AvatarMaskBodyPart index)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public bool GetTransformActive(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Declaration
public string GetTransformPath(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
|
Improve this Doc
View Source
Declaration
public void RemoveTransformPath(Transform transform)
Parameters
Declaration
public void RemoveTransformPath(Transform transform, [DefaultValue("true")] bool recursive)
Parameters
SetHumanoidBodyPartActive(AvatarMaskBodyPart, Boolean)
Declaration
public void SetHumanoidBodyPartActive(AvatarMaskBodyPart index, bool value)
Parameters
|
Improve this Doc
View Source
Declaration
public void SetTransformActive(int index, bool value)
Parameters
Declaration
public void SetTransformPath(int index, string path)
Parameters
Extension Methods