FPrimitiveComponentTarget::HasSameSourceData

Checks if the underlying asset that would be edited by [CommitMesh()](API\Runtime\InteractiveToolsFramework\FPrimitiveComponentTarget\CommitMesh) is the same for two ComponentTargets

Windows
MacOS
Linux

Override Hierarchy

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/ComponentSourceInterfaces.h

Include

#include "ComponentSourceInterfaces.h"

Syntax

bool HasSameSourceData
(
    const FPrimitiveComponentTarget & OtherTarget
) const

Remarks

Checks if the underlying asset that would be edited by CommitMesh() is the same for two ComponentTargets

Returns

true if both component targets are known to share the same source asset

Parameters

Parameter

Description

OtherTarget

Another component target to compare against

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