Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UStaticMeshComponent
- USceneComponent::GetMaterialPropertyPath()
- UStaticMeshComponent::GetMaterialPropertyPath()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/StaticMeshComponent.h |
| Include | #include "Components/StaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/StaticMeshComponent.cpp |
virtual bool GetMaterialPropertyPath
(
int32 ElementIndex,
UObject *& OutOwner,
FString & OutPropertyPath,
FProperty *& OutProperty
)
Remarks
Returns full material property path and UObject owner property object Path examples: Material property path with array element and inner struct Materials[0].InnerStruct.Material Material property path with array element Materials[0] Simple material property path Materials true if that was successfully resolved and component has material
Parameters
| Name | Description |
|---|---|
| ElementIndex | The element to access the material of. |
| OutOwner | Property UObject owner. |
| OutPropertyPath | Full material property path. |
| OutProperty | Material Property. |