| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/SkyLightComponent.h |
Include |
#include "Components/SkyLightComponent.h" |
class USkyLightComponent : public ULightComponentBase
Name | Description | ||
---|---|---|---|
|
float |
AverageBrightness |
|
|
bCaptureEmissiveOnly |
Only capture emissive materials. |
|
|
uint32: 1 |
bCloudAmbientOcclusion |
Whether the cloud should occlude sky contribution within the atmosphere (progressively fading multiple scattering out) or not. |
|
bHasEverCaptured |
||
|
float |
BlendDestinationAverageBrightness |
|
|
UTextureCube &#... |
BlendDestinationCubemap |
|
|
BlendDestinationIrradianceEnvironmentMap |
||
|
TRefCountPtr< F... |
BlendDestinationProcessedSkyTexture |
|
|
float |
BlendFraction |
If 0, no blend is present. |
|
bLowerHemisphereIsBlack |
Whether all distant lighting from the lower hemisphere should be set to LowerHemisphereColor. |
|
|
bRealTimeCapture |
When enabled, the sky will be captured and convolved to achieve dynamic diffuse and specular environment lighting. |
|
|
bSavedConstructionScriptValuesValid |
Indicates whether the cached data stored in GetComponentInstanceData is valid to be applied in ApplyComponentInstanceData. |
|
|
float |
CloudAmbientOcclusionApertureScale |
Controls the cone aperture angle over which the sky occlusion due to volumetric clouds is evaluated. |
|
float |
CloudAmbientOcclusionExtent |
The world space radius of the cloud ambient occlusion map around the camera in kilometers. |
|
float |
CloudAmbientOcclusionMapResolutionScale |
Scale the cloud ambient occlusion map resolution, base resolution is 512. |
|
float |
CloudAmbientOcclusionStrength |
The strength of the ambient occlusion, higher value will block more light. |
|
float |
Contrast |
Contrast S-curve applied to the computed AO. |
|
UTextureCube &#... |
Cubemap |
Cubemap to use for sky lighting if SourceType is set to SLS_SpecifiedCubemap. |
|
CubemapResolution |
Maximum resolution for the very top processed cubemap mip. Must be a power of 2. |
|
|
IrradianceEnvironmentMap |
||
|
IrradianceMapFence |
Tracks when the rendering thread has completed its writes to IrradianceEnvironmentMap. |
|
|
LowerHemisphereColor |
||
|
float |
MinOcclusion |
Controls the darkest that a fully occluded area can get. |
|
TEnumAsByte< en... |
OcclusionCombineMode |
Controls how occlusion from Distance Field Ambient Occlusion is combined with Screen Space Ambient Occlusion. |
|
float |
OcclusionExponent |
Exponent applied to the computed AO. |
|
float |
OcclusionMaxDistance |
Max distance that the occlusion of one point will affect another. |
|
OcclusionTint |
Tint color on occluded areas, artistic control. |
|
|
PreEditCubemapResolution |
Shadow copy saved before effects of PostEditChange() to provide option to roll back edit. |
|
|
TRefCountPtr< F... |
ProcessedSkyTexture |
|
|
ReleaseResourcesFence |
Fence used to track progress of releasing resources on the rendering thread. |
|
|
SceneProxy |
||
|
float |
SkyDistanceThreshold |
Distance from the sky light at which any geometry should be treated as part of the sky. |
|
float |
SourceCubemapAngle |
Angle to rotate the source cubemap when SourceType is set to SLS_SpecifiedCubemap. |
|
TEnumAsByte< en... |
SourceType |
Indicates where to get the light contribution from. |
Name | Description | |
---|---|---|
|
USkyLightComponent ( |
Name | Description | ||
---|---|---|---|
|
ApplyComponentInstanceData ( |
||
|
CaptureEmissiveRadianceEnvironmentCubeMap ( |
Computes a radiance map using only emissive contribution from the sky light. |
|
|
FSkyLightSce... |
CreateSceneProxy() |
|
|
FSHVectorRGB... |
GetIrradianceEnvironmentMap() |
|
|
const FTextu... |
GetProcessedSkyTexture() |
|
|
IsOcclusionSupported() |
Whether sky occlusion is supported by current feature level |
|
|
IsRealTimeCaptureEnabled() |
||
|
RecaptureSky() |
Recaptures the scene for the skylight. |
|
|
SanitizeCubemapSize() |
||
|
SetBlendDestinationCaptureIsDirty() |
||
|
SetCaptureIsDirty() |
Indicates that the capture needs to recapture the scene, adds it to the recapture queue. |
|
|
SetCubemap ( |
Sets the cubemap used when SourceType is set to SpecifiedCubemap, and causes a skylight update on the next tick. |
|
|
SetCubemapBlend ( |
Creates sky lighting from a blend between two cubemaps, which is only valid when SourceType is set to SpecifiedCubemap. |
|
|
SetIndirectLightingIntensity ( |
||
|
SetIntensity ( |
Set brightness of the light |
|
|
SetLightColor ( |
Set color of the light |
|
|
SetLowerHemisphereColor ( |
||
|
SetMinOcclusion ( |
||
|
SetOcclusionContrast ( |
||
|
SetOcclusionExponent ( |
||
|
SetOcclusionTint ( |
||
|
SetVolumetricScatteringIntensity ( |
||
|
UpdateLimitedRenderingStateFast() |
Fast path for updating light properties that doesn't require a re-register, Which would otherwise cause the scene's static draw lists to be recreated. |
|
|
UpdateOcclusionRenderingStateFast() |
||
|
UpdateSkyCaptureContents ( |
Called each tick to recapture and queued sky captures. |
|
|
UpdateSkyCaptureContentsArray ( |
Called each tick to recapture and queued sky captures. |
Name | Description | ||
---|---|---|---|
|
OnVisibilityChanged() |
Overridable internal function to respond to changes in the visibility of the component. |
Name | Description | ||
---|---|---|---|
|
CheckForErrors() |
Function that gets called from within Map_Check to allow this actor component to check itself for any potential errors and register them with map check dialog. |
|
|
CreateRenderState_Concurrent ( |
Used to create any rendering thread information for this component |
|
|
DestroyRenderState_Concurrent() |
Used to shut down any rendering thread structure for this component |
|
|
TStructOnSco... |
GetComponentInstanceData() |
Called before we throw away components during RerunConstructionScripts, to cache any data we wish to persist across that operation |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
CanEditChange ( |
Called by the editor to query whether a property of this object is allowed to be modified. |
|
|
IsReadyForFinishDestroy() |
Called to check if the object is ready for FinishDestroy. |
|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostInitProperties() |
Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |
|
|
PostInterpChange ( |
This is called when property is modified by InterpPropertyTracks |
|
|
PostLoad() |
UObject Interface |
|
|
PreEditChange ( |
This is called when a property is about to be modified externally |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
Name |
Description |
---|---|
SkyCapturesToUpdate |
List of sky captures that need to be recaptured. |
SkyCapturesToUpdateBlendDestinations |
|
SkyCapturesToUpdateLock |