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

Method Dump

loader/collada/library_materials.go:46–51  ·  view source on GitHub ↗

Dump prints out information about the Material

(out io.Writer, indent int)

Source from the content-addressed store, hash-verified

44
45// Dump prints out information about the Material
46func (mat *Material) Dump(out io.Writer, indent int) {
47
48 fmt.Fprintf(out, "%sMaterial id:%s name:%s\n", sIndent(indent), mat.Id, mat.Name)
49 ind := indent + step
50 mat.InstanceEffect.Dump(out, ind)
51}
52
53//
54// InstanceEffect

Callers 1

DumpMethod · 0.45

Calls 1

sIndentFunction · 0.85

Tested by

no test coverage detected