Animateclass

objectAnimate
Namespace
Editor
Assembly
Sandbox.Tools
Declaration
public static abstract sealed class Editor.Animate

Methods4

Showing 4 methods

public static void Add(object owningObject, float secondsToTake, float from, float to, System.Action`1<float> value, string ease = ease-in-out)PUBLICSTATIC

ParameterTypeDescription
owningObjectobject
secondsToTakefloat
fromfloat
tofloat
valueAction<float>
ease = ease-in-outstring
Returns:void

public static void CancelAll(object owningObject, bool jumpToEnd)PUBLICSTATIC

Cancel all of this object's active animations

ParameterTypeDescription
owningObjectobject
jumpToEndbool
Returns:void

public static void Frame()PUBLICSTATIC

Returns:void

public static bool IsActive(object owningObject)PUBLICSTATIC

Returns true if this object has any active animations

ParameterTypeDescription
owningObjectobject
Returns:bool

On this page