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

Method OnPreviewModelLoaded

Source/Engine/Level/Actors/Camera.cpp:319–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317#if USE_EDITOR
318
319void Camera::OnPreviewModelLoaded()
320{
321 _previewModelBuffer.Setup(_previewModel.Get());
322 if (_previewModelBuffer.Count() > 0)
323 _previewModelBuffer.At(0).ReceiveDecals = false;
324
325 UpdateCache();
326}
327
328void Camera::BeginPlay(SceneBeginData* data)
329{

Callers

nothing calls this directly

Calls 3

SetupMethod · 0.45
GetMethod · 0.45
CountMethod · 0.45

Tested by

no test coverage detected