MCPcopy
hub / github.com/g3n/engine / Repeat

Method Repeat

texture/texture2D.go:269–272  ·  view source on GitHub ↗

Repeat returns the current X and Y repeat factors

()

Source from the content-addressed store, hash-verified

267
268// Repeat returns the current X and Y repeat factors
269func (t *Texture2D) Repeat() (float32, float32) {
270
271 return t.udata.repeatX, t.udata.repeatY
272}
273
274// SetOffset sets the offset factor
275func (t *Texture2D) SetOffset(x, y float32) {

Callers 3

debugPrintMethod · 0.80
sIndentFunction · 0.80
parserFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected