Navigation
Unreal Engine C++ API Reference > 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
UCLASS (ClassGroup=Rendering, CollapseCategories,
HideCategories=(Object, Mobility, Activation, "Components|Activation"), EditInlineNew,
Meta=(BlueprintSpawnableComponent), MinimalAPI)
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 full effect. |
![]() ![]() ![]() ![]() |
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 full effect. |
![]() ![]() ![]() ![]() |
float | AerialPespectiveRayleighScatteringStartDistance | Specify the aerial perspective start distance on cloud for Rayleigh scattering only. (kilometers) |
![]() ![]() ![]() ![]() |
uint8: 1 | bHoldout | If this is True, this primitive will render black with an alpha of 0, but all secondary effects (shadows, reflections, indirect lighting) remain. |
![]() ![]() ![]() ![]() |
uint8: 1 | bRenderInMainPass | If true, this component will be rendered in the main pass (basepass, transparency) |
![]() ![]() ![]() ![]() |
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 optimization 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 | TracingStartDistanceFromCamera | The distance from which the tracing will start. |
![]() ![]() ![]() ![]() |
float | TracingStartMaxDistance | The maximum distance of the volumetric surface, i.e. cloud layer upper and lower bound, 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 | |
---|---|---|---|
![]() ![]() |
UMaterialInterface * | GetMaterial () |
|
![]() ![]() ![]() |
void | SetbUsePerSampleAtmosphericLightTransmittance
(
bool NewValue |
|
![]() ![]() ![]() |
void | SetGroundAlbedo
(
FColor NewValue |
|
![]() ![]() ![]() |
void | SetHoldout
(
bool bNewHoldout |
|
![]() ![]() ![]() |
void | SetLayerBottomAltitude
(
float NewValue |
|
![]() ![]() ![]() |
void | SetLayerHeight
(
float NewValue |
|
![]() ![]() ![]() |
void | SetMaterial
(
UMaterialInterface* NewValue |
|
![]() ![]() ![]() |
void | SetPlanetRadius
(
float NewValue |
|
![]() ![]() ![]() |
void | SetReflectionSampleCountScale
(
float NewValue |
Deprecated functions but still valid because they forward data correctly. |
![]() ![]() ![]() |
void | SetReflectionViewSampleCountScale
(
float NewValue |
|
![]() ![]() ![]() |
void | SetRenderInMainPass
(
bool bValue |
|
![]() ![]() ![]() |
void | SetShadowReflectionSampleCountScale
(
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 | SetTracingStartDistanceFromCamera
(
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 |