Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UVolumetricCloudComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/VolumetricCloudComponent.h |
| Include | #include "Components/VolumetricCloudComponent.h" |
Syntax
class UVolumetricCloudComponent : public USceneComponent
Remarks
A component that represents a participating media material around a planet, e.g. clouds.
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AerialPespectiveMieScatteringFadeDistance | Specify the distance over which the Rayleigh scattering will linearly ramp up to ful leffect. | |
| float | AerialPespectiveMieScatteringStartDistance | Specify the aerial perspective start distance on cloud for Mie scattering only. (kilometers) | |
| float | AerialPespectiveRayleighScatteringFadeDistance | Specify the distance over which the Rayleigh scattering will linearly ramp up to ful leffect. | |
| float | AerialPespectiveRayleighScatteringStartDistance | Specify the aerial perspective start distance on cloud for Rayleigh scattering only. (kilometers) | |
| uint32: 1 | bUsePerSampleAtmosphericLightTransmittance | Whether to apply atmosphere transmittance per sample, instead of using the light global transmittance. | |
| FColor | GroundAlbedo | The ground albedo used to light the cloud from below with respect to the sun light and sky atmosphere. | |
| float | LayerBottomAltitude | The altitude at which the cloud layer starts. (kilometers above the ground) | |
| float | LayerHeight | The height of the the cloud layer. (kilometers above the layer bottom altitude) | |
| TObjectPtr< UMaterialInterface > | Material | The material describing the cloud volume. It must be a Volume domain material. | |
| float | PlanetRadius | The planet radius used when there is not SkyAtmosphere component present in the scene. | |
| float | ReflectionViewSampleCountScaleValue | Scale the tracing sample count in reflection views. | |
| float | ShadowReflectionViewSampleCountScaleValue | Scale the shadow tracing sample count in reflection views, only used with Advanced Output ray marched shadows. | |
| float | ShadowTracingDistance | The shadow tracing distance in kilometers, only used with Advanced Output ray marched shadows. | |
| float | ShadowViewSampleCountScale | Scale the shadow tracing sample count in primary views, only used with Advanced Output ray marched shadows. | |
| float | SkyLightCloudBottomOcclusion | BUsePerSampleAtmosphericLightTransmittance is there on the cloud component and not on the light because otherwise we would need optimisation permutations of the cloud shader. | |
| float | StopTracingTransmittanceThreshold | When the mean transmittance is below this threshold, we stop tracing. | |
| float | TracingMaxDistance | The maximum distance that will be traced inside the cloud layer. (kilometers) | |
| EVolumetricCloudTracingMaxDistanceMode | TracingMaxDistanceMode | Mode to select how the tracing max distance should be interpreted. | |
| float | TracingStartMaxDistance | The maximum distance of the volumetric surface before which we will accept to start tracing. | |
| float | ViewSampleCountScale | Scale the tracing sample count in primary views. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UVolumetricCloudComponent
(
const FObjectInitializer& ObjectInitializer |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetbUsePerSampleAtmosphericLightTransmittance
(
bool NewValue |
||
| void | SetGroundAlbedo
(
FColor NewValue |
||
| void | SetLayerBottomAltitude
(
float NewValue |
||
| void | SetLayerHeight
(
float NewValue |
||
| void | SetMaterial
(
UMaterialInterface* NewValue |
||
| void | SetPlanetRadius
(
float NewValue |
||
| void | SetReflectionViewSampleCountScale
(
float NewValue |
||
| void | SetShadowReflectionViewSampleCountScale
(
float NewValue |
||
| void | SetShadowTracingDistance
(
float NewValue |
||
| void | SetShadowViewSampleCountScale
(
float NewValue |
||
| void | SetSkyLightCloudBottomOcclusion
(
float NewValue |
||
| void | SetStopTracingTransmittanceThreshold
(
float NewValue |
||
| void | SetTracingMaxDistance
(
float NewValue |
||
| void | SetTracingStartMaxDistance
(
float NewValue |
||
| void | SetViewSampleCountScale
(
float NewValue |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | 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. | ||
| void | CreateRenderState_Concurrent
(
FRegisterComponentContext* Context |
Used to create any rendering thread information for this component | |
| void | Used to shut down any rendering thread structure for this component |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Constants
| Name | Description |
|---|---|
| BaseShadowRaySampleCount | |
| BaseViewRaySampleCount | Those values should never be changed wihtout data conversion, that in order to maintain performance in case default values are used. |
| OldToNewReflectionShadowRaySampleCount | |
| OldToNewReflectionViewRaySampleCount | Those values are part of a data conversion and should never be changed. CVars and component sample count controls should be enough. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| float | ReflectionSampleCountScale_DEPRECATED | ||
| float | ReflectionViewSampleCountScale_DEPRECATED | ||
| float | ShadowReflectionSampleCountScale_DEPRECATED | ||
| float | ShadowReflectionViewSampleCountScale_DEPRECATED |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetReflectionSampleCountScale
(
float NewValue |
This function has been replaced by SetReflectionViewSampleCountScale. | |
| void | SetShadowReflectionSampleCountScale
(
float NewValue |
This function has been replaced by SetShadowReflectionViewSampleCountScale. |