animation

package
v0.0.0-...-6f17635 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2020 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Linear

func Linear(state *AnimState) func() (float32, bool)

func StartPath

func StartPath(nodeId string,
	animId string,
	startValue, endValue float32,
	numSteps int,
	cb func(shadow *bl.ShadowNode, value float32))

Types

type AnimState

type AnimState struct {
	NodeId string
	AnimId string

	StartValue float32
	EndValue   float32
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL