Used to capture a 'snapshot' of the scene from a 6 planes and feed it to a render target. 更多...
#include <SceneCaptureComponentCube.h>
继承自 USceneCaptureComponent .
Public 成员函数 | |
| void | CaptureScene () |
| Render the scene to the texture target immediately. 更多... | |
| void | CaptureSceneDeferred () |
| Render the scene to the texture the next time the main view is rendered. | |
| virtual void | OnComponentDestroyed (bool bDestroyingHierarchy) override |
| Called when a component is destroyed 更多... | |
| virtual void | OnRegister () override |
| Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. | |
| virtual void | SendRenderTransform_Concurrent () override |
| Called to send a transform update for this component to the rendering thread 更多... | |
| virtual void | TickComponent (float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override |
| Function called every frame on this ActorComponent. 更多... | |
Used to capture a 'snapshot' of the scene from a 6 planes and feed it to a render target.
| void USceneCaptureComponentCube::CaptureScene | ( | ) |
Render the scene to the texture target immediately.
This should not be used if bCaptureEveryFrame is enabled, or the scene capture will render redundantly.
|
overridevirtual |
Called when a component is destroyed
| bDestroyingHierarchy | - True if the entire component hierarchy is being torn down, allows avoiding expensive operations |
重载 USceneComponent .
|
overridevirtual |
Called to send a transform update for this component to the rendering thread
重载 UActorComponent .
|
overridevirtual |
Function called every frame on this ActorComponent.
Override this function to implement custom logic to be executed every frame. Only executes if the component is registered, and also PrimaryComponentTick.bCanEverTick must be set to true.
| DeltaTime | - The time since the last tick. |
| TickType | - The kind of tick this is, for example, are we paused, or 'simulating' in the editor |
| ThisTickFunction | - Internal tick function struct that caused this to run |
重载 UActorComponent .