/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementBase.h
State inheritance works as follows:
virtual void SetMaterial ( [TWeakObjectPtr](API\Runtime\Core\UObject\TWeakObjectPtr)< [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) > InMaterial, bool InOverridesChildState )