Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UReflectionCaptureComponent
- UBoxReflectionCaptureComponent
- UPlaneReflectionCaptureComponent
- USphereReflectionCaptureComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/ReflectionCaptureComponent.h |
| Include | #include "Components/ReflectionCaptureComponent.h" |
Syntax
class UReflectionCaptureComponent : public USceneComponent
Remarks
-> will be exported to EngineDecalClasses.h
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bMapBuildDataIdLoaded | Check to see if MapBuildDataId was loaded - otherwise we need to display a warning on cook | |
| float | Brightness | A brightness control to scale the captured scene's reflection intensity. | |
| FVector | CaptureOffset | World space offset to apply before capturing. | |
| TObjectPtr< UBillboardComponent > | CaptureOffsetComponent | ||
| TObjectPtr< class UTextureCube > | Cubemap | Cubemap to use for reflection if ReflectionSourceType is set to RS_SpecifiedCubemap. | |
| FReflectionTextureCubeResource * | EncodedHDRCubemapTexture | Cubemap texture resource used for rendering with the encoded HDR values. | |
| FGuid | MapBuildDataId | Guid for map build data | |
| EReflectionSourceType | ReflectionSourceType | Indicates where to get the reflection source from. | |
| FReflectionCaptureProxy * | SceneProxy | The rendering thread's mirror of this reflection capture. | |
| float | SourceCubemapAngle | Angle to rotate the source cubemap when SourceType is set to SLS_SpecifiedCubemap. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UReflectionCaptureComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FReflectionCaptureProxy * | Callback to create the rendering thread mirror. | ||
| float | Gets the radius that bounds the shape's influence, used for culling. | ||
| FReflectionCaptureMapBuildData * | |||
| int32 | |||
| void | Generates a new MapBuildDataId and adds the capture to the capture queue processed by UpdateReflectionCaptureContents. | ||
| void | Adds the capture to the capture queue processed by UpdateReflectionCaptureContents. | ||
| void | Marks this component has having been recaptured. | ||
| void | Called to update the preview shapes when something they are dependent on has changed. | ||
| void | UpdateReflectionCaptureContents
(
UWorld* WorldToUpdate, |
Generally called each tick to recapture any queued reflection captures. |
Overridden from USceneComponent
| Type | Name | Description | |
|---|---|---|---|
| void | PreFeatureLevelChange
(
ERHIFeatureLevel::Type PendingFeatureLevel |
Called to update any visuals needed for a feature level change | |
| void | Updates any visuals after the lighting has changed |
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 | InvalidateLightingCacheDetailed
(
bool bInvalidateBuildEnqueuedLighting, |
Called when this actor component has moved, allowing it to discard statically cached lighting information. | |
| 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. | |
| bool | CanEditChange
(
const FProperty* InProperty |
Called by the editor to query whether a property of this object is allowed to be modified. | |
| 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 | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | ||
| void | Handles reading, writing, and reference collecting using FArchive. |
Constants
| Name | Description |
|---|---|
| ReflectionCapturesToUpdate | List of reflection captures that need to be recaptured. |
| ReflectionCapturesToUpdateForLoad | List of reflection captures that need to be recaptured because they were dirty on load. |
| ReflectionCapturesToUpdateForLoadLock |