sprite

package
v0.0.0-...-8e5a076 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: GPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Material

func Material() *material.Def

Types

type Args

type Args struct {
	Size    vec2.T
	Texture assets.Texture
}

type Mesh

type Mesh struct {
	*mesh.Static
	Size   object.Property[vec2.T]
	Sprite object.Property[assets.Texture]
	// contains filtered or unexported fields
}

Sprite is a single segment, one-sided 3D plane

func New

func New(pool object.Pool, args Args) *Mesh

Jump to

Keyboard shortcuts

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