engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
USceneCaptureComponentCube类 参考

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.

成员函数说明

◆ CaptureScene()

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.

◆ OnComponentDestroyed()

virtual void USceneCaptureComponentCube::OnComponentDestroyed ( bool  bDestroyingHierarchy)
overridevirtual

Called when a component is destroyed

参数
bDestroyingHierarchy- True if the entire component hierarchy is being torn down, allows avoiding expensive operations

重载 USceneComponent .

◆ SendRenderTransform_Concurrent()

virtual void USceneCaptureComponentCube::SendRenderTransform_Concurrent ( )
overridevirtual

Called to send a transform update for this component to the rendering thread

警告
This is called concurrently on multiple threads (but never the same component concurrently)

重载 UActorComponent .

◆ TickComponent()

virtual void USceneCaptureComponentCube::TickComponent ( float  DeltaTime,
enum ELevelTick  TickType,
FActorComponentTickFunction *  ThisTickFunction 
)
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 .


该类的文档由以下文件生成: