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

Method HasAnyMeshInitialized

Source/Engine/Content/Assets/ModelBase.cpp:111–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109};
110
111bool ModelLODBase::HasAnyMeshInitialized() const
112{
113 // Note: we initialize all meshes at once so the last one can be used to check it.
114 const int32 meshCount = GetMeshesCount();
115 return meshCount != 0 && GetMesh(meshCount - 1)->IsInitialized();
116}
117
118BoundingBox ModelLODBase::GetBox() const
119{

Callers 2

HasAnyLODInitializedMethod · 0.80
HasAnyLODInitializedMethod · 0.80

Calls 2

GetMeshFunction · 0.85
IsInitializedMethod · 0.45

Tested by

no test coverage detected