Version: 5.5
Experimental: this API is experimental and might be changed or removed in the future.

AnimationMixerPlayable

struct in UnityEngine.Experimental.Director

매뉴얼로 전환

설명

Playable used to mix AnimationPlayables.

변수

durationDuration in seconds.
inputCountThe count of inputs on the Playable. This count includes slots that aren't connected to anything.
outputCountThe count of outputs on the Playable. Currently only 1 output is supported.
stateCurrent PlayState of this playable. This indicates whether the Playable is currently playing or paused.
timeCurrent time in seconds.

Public 함수

AddInputAdds an Playable as an input.
CastToYou can use the CastTo method to perform certain types of conversions between compatible reference types or nullable types.
DestroyCall this method to release the resources associated to this Playable.
GetInputReturns the Playable connected at the specified index.
GetInputWeightGet the weight of the Playable at a specified index.
GetOutputReturns the Playable connected at the specified output index.
IsValidReturns true if the Playable is valid. A playable can be invalid if it was disposed. This is different from a Null playable.
RemoveAllInputsDisconnects all input playables.
RemoveInputRemoves a playable from the list of inputs.
SetInputSets an Playable as an input.
SetInputsAutomatically creates an AnimationClipPlayable for each supplied AnimationClip, then sets them as inputs to the mixer.
SetInputWeightSets the weight of an input.

정적 함수

CreateCreates an AnimationMixerPlayable.