USkyLightComponent::SetCubemap

Sets the cubemap used when SourceType is set to SpecifiedCubemap, and causes a skylight update on the next tick.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SkyLightComponent.h

Include

#include "Components/SkyLightComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SkyLightComponent.cpp

Syntax

void SetCubemap
(
    UTextureCube * NewCubemap
)

Remarks

Sets the cubemap used when SourceType is set to SpecifiedCubemap, and causes a skylight update on the next tick.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss