WonderEffects

package module
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2022 License: MIT Imports: 2 Imported by: 1

README

Wonder Effects

Go Reference

Это вспомогательный пакет для Wonder Animator, который является самостоятельным и может использоваться отдельно

Список доступных эффектов

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EffectType

type EffectType struct {
	// contains filtered or unexported fields
}

func GetTypesList

func GetTypesList() []EffectType

GetTypesList Возвращает список доступных эффектов

func (*EffectType) Effect

func (*EffectType) Id

func (e *EffectType) Id() string

func (*EffectType) Name

func (e *EffectType) Name() string

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler обработчик, котрый можно собрать в цепочку Для последовательного применения эффектов к значениям

func NewEffectHandlerBus

func NewEffectHandlerBus(effectTypes []EffectType) *Handler

NewEffectHandlerBus Конструктор обработчик, который собирает цепочку обработчиков эффектов

func (*Handler) Handle

func (th *Handler) Handle(effect *wonderEffectDTO.Effect, effectValues *wonderEffectDTO.EffectValues, progress *float32) (err error)

Handle Непосредственная обработка

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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