Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- USceneCaptureComponent
- USceneCaptureComponentCube
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SceneCaptureComponentCube.h |
| Include | #include "Components/SceneCaptureComponentCube.h" |
Syntax
class USceneCaptureComponentCube : public USceneCaptureComponent
Remarks
Used to capture a 'snapshot' of the scene from a 6 planes and feed it to a render target.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCaptureRotation | Preserve the rotation of the actor when updating the capture. | |
| TObjectPtr< class UDrawFrustumComponent > | DrawFrustum | The frustum component used to show visually where the camera field of view is | |
| TObjectPtr< class UTextureRenderTargetCube > | TextureTarget | Temporary render target that can be used by the editor. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
USceneCaptureComponentCube
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
UObject* InThis, |
||
| void | CaptureScene () |
Render the scene to the texture target immediately. | |
| void | Render the scene to the texture the next time the main view is rendered. | ||
| void | For backwards compatibility. | ||
| void |
Overridden from USceneCaptureComponent
| Type | Name | Description | |
|---|---|---|---|
| bool | IsCube () |
Whether this component is a USceneCaptureComponentCube | |
| void | UpdateSceneCaptureContents
(
FSceneInterface* Scene |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | OnComponentDestroyed
(
bool bDestroyingHierarchy |
Called when a component is destroyed | |
| 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 | ||
| void | TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |