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

Method setupProxy

Source/Engine/Level/Actors/Skybox.cpp:22–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22void Skybox::setupProxy()
23{
24 if (_proxyMaterial == nullptr)
25 {
26 // Create virtual material instance for default engine skybox material
27 _proxyMaterial = Content::CreateVirtualAsset<MaterialInstance>();
28 _proxyMaterial->SetBaseMaterial(Content::LoadAsyncInternal<Material>(TEXT("Engine/SkyboxMaterial")));
29 }
30}
31
32void Skybox::Draw(RenderContext& renderContext)
33{

Callers

nothing calls this directly

Calls 1

SetBaseMaterialMethod · 0.80

Tested by

no test coverage detected