MCPcopy Create free account
hub / github.com/Garten/sourcecraft / writeVmf

Method writeVmf

src/vmfWriter/texture/ValveTexture.java:36–44  ·  view source on GitHub ↗
(ValveWriter writer)

Source from the content-addressed store, hash-verified

34 }
35
36 @Override
37 public void writeVmf(ValveWriter writer) throws IOException {
38 writer.open("\"LightmappedGeneric\"")
39 .put(BASE_TEXTURE, this.baseTexture)
40 .put(SURFACE_PROP, this.surfaceProp)
41 .put(TRANSLUCENT, this.translucent)
42 .putInBrackets(COLOR, this.color)
43 .close();
44 }
45
46}

Callers 1

mainMethod · 0.95

Calls 4

putInBracketsMethod · 0.80
closeMethod · 0.45
putMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected