Navigation
API > API/Plugins > API/Plugins/MetaHumanImageViewerEditor > API/Plugins/MetaHumanImageViewerEditor/CustomMaterialUtils
Description
A material that can show depth data as a 3D mesh. Material parameters are: "Movie" Texture Depth texture "InvFocal" Scalar The focal length component of the inverse of the camera intrinsic matrix "InvX" Scalar The X principle point component of the inverse of the camera intrinsic matrix "InvY" Scalar the Y principle point component of the inverse of the camera intrinsic matrix "DepthNear" Scalar Minimum visible depth value "DepthFar" Scalar Maximum visible depth value "InvExtrinsicRow0 Vector The first row of the depth camera extrinsic matrix "InvExtrinsicRow1 Vector The second row of the depth camera extrinsic matrix "InvExtrinsicRow2 Vector The third row of the depth camera extrinsic matrix "InvExtrinsicRow3 Vector The fourth row of the depth camera extrinsic matrix
| Name | CreateDepthMeshMaterial |
| 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 * CreateDepthMeshMaterial
(
const FName & InName
)