core

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Core

type Core interface {
	LoadMoc(path string) (moc.Moc, error)
	GetVersion() string
	GetDynamicFlags(uintptr) []drawable.DynamicFlag
	GetOpacities(uintptr) []float32
	GetVertexPositions(uintptr) [][]drawable.Vector2
	GetDrawables(uintptr) []drawable.Drawable
	GetParameters(uintptr) []parameter.Parameter
	GetParameterValue(uintptr, string) float32
	SetParameterValue(uintptr, string, float32)
	GetPartIds(uintptr) []string
	SetPartOpacity(uintptr, string, float32)
	GetSortedDrawableIndices(uintptr) []int
	GetCanvasInfo(uintptr) (drawable.Vector2, drawable.Vector2, float32)
	Update(uintptr)
}

func NewCore

func NewCore(lib string) (c Core, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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