Versions in this module Expand all Collapse all v0 v0.1.0 Mar 14, 2019 Changes in this version + const CUBICSPLINE + const LINEAR + const STEP + type Animation struct + func NewAnimation() *Animation + func (anim *Animation) AddChannel(ch IChannel) + func (anim *Animation) Loop() bool + func (anim *Animation) Name() string + func (anim *Animation) Paused() bool + func (anim *Animation) Reset() + func (anim *Animation) SetLoop(state bool) + func (anim *Animation) SetName(name string) + func (anim *Animation) SetPaused(state bool) + func (anim *Animation) SetSpeed(speed float32) + func (anim *Animation) SetStart(v float32) + func (anim *Animation) Speed() float32 + func (anim *Animation) Update(delta float32) + type Channel struct + func (c *Channel) InterpolationTangents() (inTangent, outTangent math32.ArrayF32) + func (c *Channel) InterpolationType() InterpolationType + func (c *Channel) Keyframes() math32.ArrayF32 + func (c *Channel) SetBuffers(keyframes, values math32.ArrayF32) + func (c *Channel) SetInterpolationTangents(inTangent, outTangent math32.ArrayF32) + func (c *Channel) SetInterpolationType(it InterpolationType) + func (c *Channel) Update(time float32) + func (c *Channel) Values() math32.ArrayF32 + type IChannel interface + Keyframes func() math32.ArrayF32 + SetBuffers func(keyframes, values math32.ArrayF32) + SetInterpolationType func(it InterpolationType) + Update func(time float32) + Values func() math32.ArrayF32 + type InterpolationType string + type MorphChannel struct + func NewMorphChannel(mg *geometry.MorphGeometry) *MorphChannel + type NodeChannel struct + type PositionChannel NodeChannel + func NewPositionChannel(node core.INode) *PositionChannel + type RotationChannel NodeChannel + func NewRotationChannel(node core.INode) *RotationChannel + type ScaleChannel NodeChannel + func NewScaleChannel(node core.INode) *ScaleChannel