USceneCaptureComponent

Inheritance Hierarchy

Syntax

class USceneCaptureComponent : public USceneComponent

Remarks

-> will be exported to EngineDecalClasses.h

Variables

Name Description

Public variable

bool

 

bCaptureEveryFrame

Whether to update the capture's contents every frame.

Public variable

bool

 

bCaptureOnMovement

Whether to update the capture's contents on movement.

Public variable

int32

 

CaptureSortPriority

Capture priority within the frame to sort scene capture on GPU to resolve interdependencies between multiple capture components.

Public variable

EStereoscopicPa ...

 

CaptureStereoPass

Indicates which stereo pass this component is capturing for, if any

Public variable

TArray < AActor ...

 

HiddenActors

The actors to hide in the scene capture.

Public variable

TArray < TWeakOb ...

 

HiddenComponents

The components won't rendered by current component.

Public variable

float

 

LODDistanceFactor

Scales the distance used by LOD.

Public variable

float

 

MaxViewDistanceOverride

If > 0, sets a maximum render distance override.

Public variable

FEngineShowFlag ...

 

ShowFlags

TODO: Make this a UStruct to set directly?

Public variable

TArray < struct ...

 

ShowFlagSettings

ShowFlags for the SceneCapture's ViewFamily, to control rendering settings for this view.

Public variable

TArray < AActor ...

 

ShowOnlyActors

The only actors to be rendered by this scene capture, if present.

Public variable

TArray < TWeakOb ...

 

ShowOnlyComponents

The only components to be rendered by this scene capture, if present.

Protected variable

TArray < FSceneV ...

 

ViewStates

The view state holds persistent scene rendering state and enables occlusion culling in scene captures.

Constructors

Name Description

Public function

USceneCaptureComponent

(
    const FObjectInitializer & ObjectIn...
)

Functions

Name Description

Public function Static

void

 

AddReferencedObjects

(
    UObject * InThis,
    FReferenceCollector & Collector
)

Public function

void

 

ClearShowOnlyComponents

(
    UPrimitiveComponent * InCompone...
)

Clears the Show Only list.

Public function

bool

 

GetSettingForShowFlag

(
    FString FlagName,
    FEngineShowFlagsSetting ** ...
)

Return a boolean for whether this flag exists in the ShowFlagSettings array, and a pointer to the flag if it does exist

Public function

FSceneViewSt ...

 

GetViewState

(
    int32 ViewIndex
)

Returns the view state, if any, and allocates one if needed.

Public function

void

 

HideActorComponents

(
    AActor * InActor
)

Adds all primitive components in the actor to our list of hidden components.

Public function

void

 

HideComponent

(
    UPrimitiveComponent * InCompone...
)

Adds the component to our list of hidden components.

Public function

void

 

RemoveShowOnlyActorComponents

(
    AActor * InActor
)

Removes a actor's components from the Show Only list.

Public function

void

 

RemoveShowOnlyComponent

(
    UPrimitiveComponent * InCompone...
)

Removes a component from the Show Only list.

Public function

void

 

SetCaptureSortPriority

(
    int32 NewCaptureSortPriority
)

Changes the value of TranslucentSortPriority.

Public function

void

 

ShowOnlyActorComponents

(
    AActor * InActor
)

Adds all primitive components in the actor to our list of show-only components.

Public function

void

 

ShowOnlyComponent

(
    UPrimitiveComponent * InCompone...
)

Adds the component to our list of show-only components.

Public function Static

void

 

UpdateDeferredCaptures

(
    FSceneInterface * Scene
)

Protected function Virtual

void

 

UpdateSceneCaptureContents

(
    FSceneInterface * Scene
)

Protected function

void

 

UpdateShowFlags()

Update the show flags from our show flags settings (ideally, you'd be able to set this more directly, but currently unable to make FEngineShowFlags a UStruct to use it as a UProperty ...)

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent & PropertyCha...
)

Called when a property on this object has been modified externally

References

Module

Engine

Header

Runtime/Engine/Classes/Components/SceneCaptureComponent.h