Version: 2017.3

AvatarMask

class in UnityEngine

/

Hereda de:Object

Cambiar al Manual

Descripción

AvatarMask is used to mask out humanoid body parts and transforms.

They can be used when importing animation or in an animator controller layer.

Variables

transformCountNumber of transforms.

Constructores

AvatarMaskCreates a new AvatarMask.

Funciones Públicas

AddTransformPathAdds a transform path into the AvatarMask.
GetHumanoidBodyPartActiveReturns true if the humanoid body part at the given index is active.
GetTransformActiveReturns true if the transform at the given index is active.
GetTransformPathReturns the path of the transform at the given index.
RemoveTransformPathRemoves a transform path from the AvatarMask.
SetHumanoidBodyPartActiveSets the humanoid body part at the given index to active or not.
SetTransformActiveSets the tranform at the given index to active or not.
SetTransformPathSets the path of the transform at the given index.

Miembros heredados

Variables

hideFlags¿Debería el objeto estar oculto, guardado con la escena o modificable por el usuario?
nameEl nombre del objeto.

Funciones Públicas

GetInstanceIDDevuelve el id de la instancia del objeto.
ToStringReturns the name of the GameObject.

Funciones Estáticas

DestroyElimina un gameobject, componente o asset.
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadHace que el objeto target no sea destruido automáticamente cuando se cargue una nueva escena.
FindObjectOfTypeDevuelve el primer objeto activo cargado de tipo type.
FindObjectsOfTypeDevuelve una lista de todos los objetos activos cargados de tipo type.
InstantiateClona el objeto original y devuelve el clon.

Operadores

bool¿Existe el objeto?
operator !=Compare si dos objetos se refieren a un objeto diferente.
operator ==Compara dos referencias de objeto para ver si se refieren al mismo objeto.