Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

23 lines
648 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "PhysicsAssetDataflowContent.h"
#include "Engine/SkeletalMesh.h"
#include "PhysicsEngine/PhysicsAsset.h"
void UPhysicsAssetDataflowContent::SetActorProperties(TObjectPtr<AActor>& 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;
}