Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Material2D ¶
type Material2D struct { Texture load.Texture Region vec4.Type Color vec3.Type Opacity float32 Z float32 }
func NewMaterial2D ¶
type Transform2D ¶
func NewTransform2D ¶
func NewTransform2D(pos, scale vec2.Type, rot float32) Transform2D
func (*Transform2D) Translate ¶
func (t *Transform2D) Translate(add vec2.Type)
Click to show internal directories.
Click to hide internal directories.