Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type C ¶
type C []Part
C helps you draw complex objects built from multiple sprites
type Part ¶
type Part struct { Def PartDefs Spr ggl.Sprite Offset, Scale mat.Vec Mask mat.RGBA Rotation float64 }
Part is a building piece of context, if contains lot of configuration that is combined with Default configuration to make a final transformation and color
func (*Part) TotalMask ¶ added in v0.4.6
TotalMask returns total mask of part, taking PartDefs into account
func (*Part) TotalOffset ¶ added in v0.4.6
TotalOffset returns total offset of part, taking PartDefs into account
func (*Part) TotalRotation ¶ added in v0.4.6
TotalRotation returns total rotation of part, taking PartDefs into account
Click to show internal directories.
Click to hide internal directories.