Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/FWorldRenderCapture
Description
Capture the desired buffer type CaptureType with the given view/camera parameters. The returned image data is interpreted according to the comment in FRenderCaptureCoordinateConverter2D
| Name | CaptureFromPosition |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Scene/WorldRenderCapture.h |
| Include Path | #include "Scene/WorldRenderCapture.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Scene/WorldRenderCapture.cpp |
bool CaptureFromPosition
(
ERenderCaptureType CaptureType,
const FFrame3d & ViewFrame,
double HorzFOVDegrees,
double NearPlaneDist,
FImageAdapter & ResultImageOut,
const FRenderCaptureConfig & Config
)
true if capture could be rendered successfully
Parameters
| Name | Remarks |
|---|---|
| ResultImageOut | output image of size GetDimensions() is stored here. |