utils

package
v0.0.0-...-045c6e3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayCopy

func ArrayCopy(array []interface{}, newCap int) *[]interface{}

func NewLinkedMesh

func NewLinkedMesh(mesh MeshAttachment, skin string, slotIndex int, parent string, inheritDeform bool)

func NewSkeletonInput

func NewSkeletonInput(file *os.File) *skeletonInput

Types

type Array

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

func NewArray

func NewArray(len, cap int) *Array

func (*Array) Append

func (a *Array) Append(element interface{})

func (*Array) AppendMany

func (a *Array) AppendMany(element ...interface{})

func (*Array) Cap

func (a *Array) Cap() int

func (*Array) Get

func (a *Array) Get(index int) interface{}

func (*Array) Len

func (a *Array) Len() int

func (*Array) Replace

func (a *Array) Replace(index int, element interface{})

func (*Array) SetSize

func (a *Array) SetSize(newSize int) *[]interface{}

func (*Array) Truncate

func (a *Array) Truncate(newSize int)

type BlendMode

type BlendMode int

type Color

type Color struct {
	R float32
	G float32
	B float32
	A float32
}

func (*Color) RGBA8888ToColor

func (c *Color) RGBA8888ToColor(value uint)

Jump to

Keyboard shortcuts

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