FStaticMeshComponentTarget::HasSameSourceData

Checks if the underlying asset that would be edited by [CommitMesh()](API\Editor\UnrealEd\Tools\FStaticMeshComponentTarget\CommitMesh) is the same for two ComponentTargets

Windows
MacOS
Linux

Override Hierarchy

FPrimitiveComponentTarget::HasSameSourceData()

FStaticMeshComponentTarget::HasSameSourceData()

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Tools/EditorComponentSourceFactory.h

Include

#include "Tools/EditorComponentSourceFactory.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Tools/EditorComponentSourceFactory.cpp

Syntax

virtual 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