MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SetTerrainColorTexture

Method SetTerrainColorTexture

Source/Objects/terrainobject.cpp:597–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595}
596
597void TerrainObject::SetTerrainColorTexture(const char* path) {
598 terrain_.SetColorTexture(path);
599 terrain_info_.colormap = path;
600}
601
602void TerrainObject::SetTerrainWeightTexture(const char* path) {
603 terrain_.SetWeightTexture(path);

Callers 3

DrawMethod · 0.80
PreviewTerrainMethod · 0.80

Calls 1

SetColorTextureMethod · 0.80

Tested by

no test coverage detected