MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SetObjectTexture

Method SetObjectTexture

engine/Poseidon/AI/VehicleAI.cpp:1188–1194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1186}
1187
1188void EntityAI::SetObjectTexture(int index, Texture* texture)
1189{
1190 if (index >= 0 && index < _hiddenSelectionsTextures.Size())
1191 {
1192 _hiddenSelectionsTextures[index] = texture;
1193 }
1194}
1195
1196bool EntityAI::FindWeapon(const WeaponType* weapon) const
1197{

Callers 1

ObjSetTextureFunction · 0.80

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected