Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/FPrimitiveComponentTarget
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ComponentSourceInterfaces.h |
| Include | #include "ComponentSourceInterfaces.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/ComponentSourceInterfaces.cpp |
UMaterialInterface &42; GetMaterial
&40;
int32 MaterialIndex
&41; const
Remarks
Get pointer to a Material provided by this Source MaterialInterface pointer, or null if MaterialIndex is invalid
Parameters
| Name | Description |
|---|---|
| MaterialIndex | index of the material |