UPhysicalMaterialMask::GetPhysMatIndex

Helper method to query phys mat index at a given UV position in mask data.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicalMaterials/PhysicalMaterialMask.h

Include

#include "PhysicalMaterials/PhysicalMaterialMask.h"

Source

/Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysicalMaterialMask.cpp

Syntax

static uint32 GetPhysMatIndex
(
    const TArray< uint32 > & MaskData,
    int32 SizeX,
    int32 SizeY,
    int32 AddressX,
    int32 AddressY,
    float U,
    float V
)

Remarks

Helper method to query phys mat index at a given UV position in mask data.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss