Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Scene > API/Plugins/ModelingComponents/Scene/FWorldRenderCapture
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Scene/WorldRenderCapture.h |
| Include | #include "Scene/WorldRenderCapture.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Scene/WorldRenderCapture.cpp |
bool CaptureBufferVisualizationFromPosition
(
const FName & VisualizationMode,
const FFrame3d & Frame,
double HorzFOVDegrees,
double NearPlaneDist,
FImageAdapter & ResultImageOut,
const FRenderCaptureConfig & Config
)
Remarks
The following values for VisualizationMode are supported: BaseColor, Metallic, Roughness, Specular, WorldNormal, Opacity, SubsurfaceColor, PreTonemapHDRColor
Its not clear where the valid VisualizationMode FNames are defined, it may be in the [Engine.BufferVisualizationMaterials] section of Config/BaseEngine.ini, which is read by FBufferVisualizationData::Initialize() and called when the engine initializes in UEngine::Init()