| 20 | } |
| 21 | |
| 22 | void 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 | |
| 32 | void Skybox::Draw(RenderContext& renderContext) |
| 33 | { |
nothing calls this directly
no test coverage detected