Clips (.aeanim) and controllers (.aectrl) with importers, AnimationPlayer and Animator with crossfades, root motion and events on fixed steps, rewind support. Editor: Animation panel (dope sheet, curves, record, preview, trajectory), Animator panel, sprite sheet slicer and flipbooks, Programming workspace, export panel redesign. Motion 2D ledge climb. 11c: the component and Create palette.
19 lines
387 B
Go
19 lines
387 B
Go
package sdk
|
|
|
|
import "aego/modules/animation"
|
|
|
|
type (
|
|
Animation = animation.Service
|
|
AnimationPlayer = animation.AnimationPlayer
|
|
Animator = animation.Animator
|
|
AnimClip = animation.ClipRef
|
|
AnimController = animation.ControllerRef
|
|
)
|
|
|
|
func AnimationOf(ctx *Context) *Animation {
|
|
if ctx == nil || ctx.World == nil {
|
|
return nil
|
|
}
|
|
return animation.Of(ctx.World)
|
|
}
|