// Copyright Epic Games, Inc. All Rights Reserved. #include "PhysicsAssetDataflowContent.h" #include "Engine/SkeletalMesh.h" #include "PhysicsEngine/PhysicsAsset.h" void UPhysicsAssetDataflowContent::SetActorProperties(TObjectPtr& PreviewActor) const { Super::SetActorProperties(PreviewActor); OverrideActorProperty(PreviewActor, SkelMesh, TEXT("PreviewMesh")); OverrideActorProperty(PreviewActor, PhysAsset, TEXT("PhysicsAsset")); } void UPhysicsAssetDataflowContent::SetSkeletalMesh(USkeletalMesh* InMesh) { SkelMesh = InMesh; } void UPhysicsAssetDataflowContent::SetPhysicsAsset(UPhysicsAsset* InAsset) { PhysAsset = InAsset; }