Get Material from Collision Face Index

Get Material from Collision Face Index

Windows
MacOS
Linux

Try and retrieve the material applied to a particular collision face of mesh. Used with face index returned from collision trace.

Target is Primitive Component

Get Material from Collision Face Index
Target
Face Index
0
Section Index
0
Return Value
Select Asset

Inputs

Target
Primitive Component Object Reference
Face Index
Integer

Face index from hit result that was hit by a trace

Outputs

Section Index
Integer

Section of the mesh that the face belongs to

Return Value
Material Interface Object Reference

Material applied to section that the hit face belongs to

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