CM2Model::IsReady
function · models · host
- Address
0x710450· 193 bytes, up to0x710510- Meaning
- Returns whether an instance and optionally its children are loaded and have their textures loaded
- Confidence
- verified, proof one
- Finding
- models/model#load-state
Finding: Load state in models: the instance
IsLoaded(wait, recursive) returns whether the shared model is loaded, waiting for it first when
asked, and with recursive also whether every child is; the first success latches a flag.
IsReady also requires every texture of the instance and its children to be loaded. The loaded
callback runs once the instance is loaded, then the instance's parent's, up the chain.
The derivation is in the doc.
Callers 16
- UpdateCreateScene glue
- BuildCharSelectModel glue
- DrainPortraitList ui
- BakePortrait ui
- CGObject_C::IsModelReady objectlayer
- CWorld::IsEntityLoaded terrain
- CWorld::FadeOutModel terrain
- ArePlacementGroupModelsLoaded terrain
- PLAYERNAMEDESC::DrawWorldTexts playername
- PLAYERNAMEDESC::QueueIcons playername
- PlayerNameDrawCallback playername
- DrawSky lighting
- DrawBlobShadowIfOn lighting
- M2SceneAnimateAndCollect models
- SimpleModelDraw ui
- CSimpleModel::OnFrameUpdate ui
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.