Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Components > USceneComponent
- USceneComponent::GetMaterialPropertyPath()
- UDecalComponent::GetMaterialPropertyPath()
- ULightComponent::GetMaterialPropertyPath()
- UMaterialBillboardComponent::GetMaterialPropertyPath()
- UParticleSystemComponent::GetMaterialPropertyPath()
- USkinnedMeshComponent::GetMaterialPropertyPath()
- UStaticMeshComponent::GetMaterialPropertyPath()
- UTextRenderComponent::GetMaterialPropertyPath()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Components/SceneComponent.h |
Include | #include "Components/SceneComponent.h" |
Source | /Engine/Source/Runtime/Engine/Private/Components/SceneComponent.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. |