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

Method SetTerrainWeightTexture

Source/Objects/terrainobject.cpp:602–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600}
601
602void TerrainObject::SetTerrainWeightTexture(const char* path) {
603 terrain_.SetWeightTexture(path);
604 terrain_info_.weightmap = path;
605}
606
607void TerrainObject::SetTerrainDetailTextures(const std::vector<DetailMapInfo>& detail_map_info) {
608 terrain_.SetDetailTextures(detail_map_info);

Callers 3

DrawMethod · 0.80
PreviewTerrainMethod · 0.80

Calls 1

SetWeightTextureMethod · 0.80

Tested by

no test coverage detected