MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SetupPatchSplatMap

Method SetupPatchSplatMap

Source/Engine/Terrain/Terrain.cpp:421–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419}
420
421bool Terrain::SetupPatchSplatMap(const Int2& patchCoord, int32 index, int32 splatMapLength, const Color32* splatMap, bool forceUseVirtualStorage)
422{
423 auto patch = GetPatch(patchCoord);
424 if (patch)
425 {
426 return patch->SetupSplatMap(index, splatMapLength, splatMap, forceUseVirtualStorage);
427 }
428 return true;
429}
430
431#endif
432

Callers

nothing calls this directly

Calls 2

SetupSplatMapMethod · 0.80
GetPatchFunction · 0.70

Tested by

no test coverage detected