C# Class UnityEditor.TransitionPreview

Exibir arquivo Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
DoTransitionPreview ( ) : void
HasPreviewGUI ( ) : bool
OnDestroy ( ) : void
OnDisable ( ) : void
OnInteractivePreviewGUI ( Rect r, GUIStyle background ) : void
OnPreviewSettings ( ) : void
SetTransition ( AnimatorStateTransition transition, AnimatorState sourceState, AnimatorState destinationState, AnimatorControllerLayer srcLayer, Animator previewObject ) : void

Private Methods

Method Description
ClearController ( ) : void
ControllerDirty ( ) : void
CopyStateForPreview ( AnimatorState src, AnimatorState &dst ) : void
CopyTransitionForPreview ( AnimatorStateTransition src, AnimatorStateTransition &dst ) : void
CreateController ( ) : void
CreateParameterInfoList ( ) : void
DisableIKOnFeetIfNeeded ( ) : void
DoTimeline ( ) : void
FindParameterInfo ( List parameterInfoList, string name ) : int
Init ( Animator scenePreviewObject, Motion motion ) : void
MustResample ( TransitionInfo info ) : bool
OnPreviewAvatarChanged ( ) : void
ResampleTransition ( AnimatorStateTransition transition, AvatarMask layerMask, TransitionInfo info, Animator previewObject ) : void
SetMotion ( AnimatorState state, int layerIndex, Motion motion ) : void
WriteParametersInController ( ) : void

Method Details

DoTransitionPreview() public method

public DoTransitionPreview ( ) : void
return void

HasPreviewGUI() public method

public HasPreviewGUI ( ) : bool
return bool

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnInteractivePreviewGUI() public method

public OnInteractivePreviewGUI ( Rect r, GUIStyle background ) : void
r UnityEngine.Rect
background UnityEngine.GUIStyle
return void

OnPreviewSettings() public method

public OnPreviewSettings ( ) : void
return void

SetTransition() public method

public SetTransition ( AnimatorStateTransition transition, AnimatorState sourceState, AnimatorState destinationState, AnimatorControllerLayer srcLayer, Animator previewObject ) : void
transition UnityEditor.Animations.AnimatorStateTransition
sourceState AnimatorState
destinationState AnimatorState
srcLayer UnityEditor.Animations.AnimatorControllerLayer
previewObject UnityEngine.Animator
return void