You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb benn.gallagher, brice.criswell #jira UE-100417 #preflight 61f8d6f2a6632a34f368e29d #ROBOMERGE-AUTHOR: cedric.caillaud #ROBOMERGE-SOURCE: CL 18805895 in //UE5/Release-5.0/... via CL 18807995 via CL 18821777 #ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545) [CL 18822139 by cedric caillaud in ue5-main branch]
46 lines
1.3 KiB
C++
46 lines
1.3 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
/** This class represents an GeometryCollection Actor. */
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "GameFramework/Actor.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
|
|
#include "GeometryCollectionActor.generated.h"
|
|
|
|
|
|
class UGeometryCollectionComponent;
|
|
class UGeometryCollectionDebugDrawComponent;
|
|
struct FHitResult;
|
|
|
|
UCLASS()
|
|
class GEOMETRYCOLLECTIONENGINE_API AGeometryCollectionActor: public AActor
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
public:
|
|
|
|
/* Game state callback */
|
|
virtual void Tick(float DeltaSeconds) override;
|
|
|
|
#if WITH_EDITOR
|
|
virtual bool GetReferencedContentObjects(TArray<UObject*>& Objects) const override;
|
|
#endif
|
|
|
|
/* GeometryCollectionComponent */
|
|
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = Destruction, meta = (ExposeFunctionCategories = "Components|GeometryCollection", AllowPrivateAccess = "true"))
|
|
TObjectPtr<UGeometryCollectionComponent> GeometryCollectionComponent;
|
|
UGeometryCollectionComponent* GetGeometryCollectionComponent() const { return GeometryCollectionComponent; }
|
|
|
|
PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
|
UPROPERTY()
|
|
TObjectPtr<UGeometryCollectionDebugDrawComponent> GeometryCollectionDebugDrawComponent_DEPRECATED;
|
|
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
|
|
|
UFUNCTION(BlueprintCallable, Category = "Physics")
|
|
bool RaycastSingle(FVector Start, FVector End, FHitResult& OutHit) const;
|
|
|
|
};
|