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

Method GetLOD

Source/Engine/Content/Assets/Model.cpp:451–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449}
450
451const ModelLODBase* Model::GetLOD(int32 lodIndex) const
452{
453 CHECK_RETURN(LODs.IsValidIndex(lodIndex), nullptr);
454 return &LODs.Get()[lodIndex];
455}
456
457ModelLODBase* Model::GetLOD(int32 lodIndex)
458{

Callers 1

InitializeMethod · 0.45

Calls 2

IsValidIndexMethod · 0.80
GetMethod · 0.45

Tested by

no test coverage detected