Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- USceneCaptureComponent
- UPlanarReflectionComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PlanarReflectionComponent.h |
| Include | #include "Components/PlanarReflectionComponent.h" |
Syntax
UCLASS (HideCategories=(Collision, Object, Physics, SceneComponent), ClassGroup=Rendering,
MinimalAPI, EditInlineNew, Meta=(BlueprintSpawnableComponent))
class UPlanarReflectionComponent : public USceneCaptureComponent
Remarks
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AngleFromPlaneFadeEnd | Receiving pixels whose normal is at this angle from the reflection plane will have completely faded out the planar reflection. | |
| float | AngleFromPlaneFadeStart | Receiving pixels whose normal is at this angle from the reflection plane will begin to fade out the planar reflection. | |
| bool | bRenderSceneTwoSided | Whether to render the scene as two-sided, which can be useful to hide artifacts where normal distortion would read 'under' an object that has been clipped by the reflection plane. | |
| bool | bShowPreviewPlane | ||
| TObjectPtr< class UMaterial > | CaptureMaterial | The material to use on ProxyMeshComponent | |
| float | DistanceFromPlaneFadeoutEnd | Receiving pixels at this distance from the reflection plane will have completely faded out the planar reflection. | |
| float | DistanceFromPlaneFadeoutStart | Receiving pixels at this distance from the reflection plane will begin to fade out the planar reflection. | |
| float | ExtraFOV | Additional FOV used when rendering to the reflection texture. | |
| float | NormalDistortionStrength | Controls the strength of normals when distorting the planar reflection. | |
| float | PrefilterRoughness | The roughness value to prefilter the planar reflection texture with, useful for hiding low resolution. | |
| float | PrefilterRoughnessDistance | The distance at which the prefilter roughness value will be achieved. | |
| TObjectPtr< class UBoxComponent > | PreviewBox | ||
| int32 | ScreenPercentage | Downsample percent, can be used to reduce GPU time rendering the planar reflection. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UPlanarReflectionComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | |||
| void | GetProjectionWithExtraFOV
(
FMatrix& OutMatrix, |
||
| bool | |||
| void |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| 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 | ||
| void | OnRegister () |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. | |
| void | Called to send a transform update for this component to the rendering thread |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| void | Called to finish destroying the object. | ||
| bool | Called to check if the object is ready for FinishDestroy. | ||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| float | DistanceFromPlaneFadeEnd_DEPRECATED | ||
| float | DistanceFromPlaneFadeStart_DEPRECATED |