Version: 2019.2

Animator

class in UnityEngine

/

Inherits from:Behaviour

Switch to Manual

Description

Интерфейс для контроля анимационной системы Mecanim.

Variables

angularVelocityПолучает дельта-позицию аватара для последнего вычисленного кадра.
applyRootMotionДолжно ли быть применено корневое движение (root motion)?
avatarПолучает/Устанавливает текущий Аватар.
bodyPositionПозиция центра массы тела.
bodyRotationВращение центра массы тела.
cullingModeКонтролирует отсев данного компонента Animator.
deltaPositionПолучает дельта-позицию аватара для последнего вычисленного кадра.
deltaRotationПолучает дельта-вращение аватара для последнего вычисленного кадра.
feetPivotActiveBlends pivot point between body center of mass and feet pivot.
fireEventsSets whether the Animator sends events of type AnimationEvent.
gravityWeightThe current gravity weight based on current animations that are played.
hasBoundPlayablesReturns true if Animator has any playables assigned to it.
hasRootMotionReturns true if the current rig has root motion.
hasTransformHierarchyReturns true if the object has a transform hierarchy.
humanScaleReturns the scale of the current Avatar for a humanoid rig, (1 by default if the rig is generic).
isHumanReturns true if the current rig is humanoid, false if it is generic.
isInitializedReturns whether the animator is initialized successfully.
isMatchingTargetЕсли автоматическое сопоставление активно.
isOptimizableReturns true if the current rig is optimizable with AnimatorUtility.OptimizeTransformHierarchy.
keepAnimatorControllerStateOnDisableControls the behaviour of the Animator component when a GameObject is disabled.
layerCountReturns the number of layers in the controller.
layersAffectMassCenterВерно, если дополнительные слои влияют на центр массы.
leftFeetBottomHeightПолучает высоту низа левой ноги.
parameterCountReturns the number of parameters in the controller.
parametersThe AnimatorControllerParameter list used by the animator. (Read Only)
pivotPositionПолучить текущую позицию пивота.
pivotWeightПолучает вес пивота.
playableGraphThe PlayableGraph created by the Animator.
playbackTimeУстанавливает позицию воспроизведения в записывающем буфере.
recorderModeЗадает режим обновления Animator-а.
recorderStartTimeВремя начала первого кадра буфера, относительно кадра, в котором было вызвано StartRecording.
recorderStopTimeВремя окончания записанного клипа с момента вызова StartRecording.
rightFeetBottomHeightПолучает высоту низа правой ноги.
rootPositionКорневая позиция, позиция игрово