| UPrimitiveComponent::GetMaterialFromCollisionFaceIndex()
|
Module |
|
Header |
/Engine/Plugins/Runtime/ProceduralMeshComponent/Source/ProceduralMeshComponent/Public/ProceduralMeshComponent.h |
Include |
#include "ProceduralMeshComponent.h" |
Source |
/Engine/Plugins/Runtime/ProceduralMeshComponent/Source/ProceduralMeshComponent/Private/ProceduralMeshComponent.cpp |
virtual UMaterialInterface * GetMaterialFromCollisionFaceIndex
(
int32 FaceIndex,
int32 & SectionIndex
) const
Try and retrieve the material applied to a particular collision face of mesh. Used with face index returned from collision trace.
Material applied to section that the hit face belongs to
Parameter |
Description |
---|---|
FaceIndex |
Face index from hit result that was hit by a trace |
SectionIndex |
Section of the mesh that the face belongs to |