You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds [CL 26082269 by henrik karlsson in ue5-main branch]
40 lines
879 B
C++
40 lines
879 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/Interface.h"
|
|
|
|
#include "PhysicsDataSource.generated.h"
|
|
|
|
class UBodySetup;
|
|
class IInterface_CollisionDataProvider;
|
|
|
|
UINTERFACE(MinimalAPI)
|
|
class UPhysicsDataSource : public UInterface
|
|
{
|
|
GENERATED_BODY()
|
|
};
|
|
|
|
/**
|
|
* IPhysicsDataSource is a ToolTarget Interface that provides read/write access to physics-related data structures.
|
|
*/
|
|
class IPhysicsDataSource
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
|
|
/**
|
|
* @return The UBodySetup for this physics data source. If Nullptr, no physics data exists or is available.
|
|
*/
|
|
virtual UBodySetup* GetBodySetup() const = 0;
|
|
|
|
|
|
/**
|
|
* @return The CollisionDataProvider for this physics data source. If Nullptr, no physics data exists or is available.
|
|
*/
|
|
virtual IInterface_CollisionDataProvider* GetComplexCollisionProvider() const = 0;
|
|
|
|
};
|