MCPcopy Create free account
hub / github.com/MBU-Team/OpenMBU / cloneMatInstances

Method cloneMatInstances

engine/source/interior/interior.cpp:2414–2490  ·  view source on GitHub ↗

-------------------------------------------------------------------------- Clone material instances - if a texture (material) exists on both the inside and outside of an interior, it needs to create two material instances - one for the inside, and one for the outside. The reason is that the light direction maps only exist on the inside of the interior. --------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
push_backMethod · 0.45
getMaterialMethod · 0.45

Tested by

no test coverage detected