Navigation
API > API/Plugins > API/Plugins/MetaHumanImageViewerEditor > API/Plugins/MetaHumanImageViewerEditor/CustomMaterialUtils
Description
A material that can show the raw footage, a contour overlay, and depth data. Material parameters are: "Movie" Texture RGBA or depth texture "Contours" Texture RGBA texture which is overlaid on above "ShowDarken" Scalar If >0.5 image is dimmed down "ShowContours" Scalar If >0.5 overlay is applied "DepthNear" Scalar Minium visible depth value "DepthFar" Scalar Maximum visible depth value
| Name | CreateMovieContourDepthMaterial |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanAnimator/Source/MetaHumanImageViewerEditor/Public/Utils/CustomMaterialUtils.h |
| Include Path | #include "Utils/CustomMaterialUtils.h" |
| Source | /Engine/Plugins/MetaHuman/MetaHumanAnimator/Source/MetaHumanImageViewerEditor/Public/Utils/CustomMaterialUtils.cpp |
static UMaterialInstanceDynamic * CreateMovieContourDepthMaterial
(
const FName & InName,
bool bInUseExternalSampler,
int32 InDepthComponent
)