You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
40 lines
929 B
C
40 lines
929 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()
|
||
|
|
class INTERACTIVETOOLSFRAMEWORK_API UPhysicsDataSource : public UInterface
|
||
|
|
{
|
||
|
|
GENERATED_BODY()
|
||
|
|
};
|
||
|
|
|
||
|
|
/**
|
||
|
|
* IPhysicsDataSource is a ToolTarget Interface that provides read/write access to physics-related data structures.
|
||
|
|
*/
|
||
|
|
class INTERACTIVETOOLSFRAMEWORK_API 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;
|
||
|
|
|
||
|
|
};
|