UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DefaultPhysicsVolume.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
//=============================================================================
4
// DefaultPhysicsVolume: the default physics volume for areas of the level with
5
// no physics volume specified
6
//=============================================================================
7
8
#pragma once
9
10
#include "
CoreMinimal.h
"
11
#include "
UObject/ObjectMacros.h
"
12
#include "
GameFramework/PhysicsVolume.h
"
13
#include "DefaultPhysicsVolume.generated.h"
14
20
UCLASS
(notplaceable,
transient
, MinimalAPI)
21
class
ADefaultPhysicsVolume
:
public
APhysicsVolume
22
{
23
GENERATED_UCLASS_BODY
()
24
25
#if WITH_EDITOR
26
virtual
bool
ShouldCheckCollisionComponentForErrors
()
const override
{
return
false
; }
27
#endif
// WITH_EDITOR
28
};
29
30
31
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
ObjectMacros.h
GENERATED_UCLASS_BODY
#define GENERATED_UCLASS_BODY(...)
Definition
ObjectMacros.h:768
UCLASS
#define UCLASS(...)
Definition
ObjectMacros.h:776
PhysicsVolume.h
ADefaultPhysicsVolume
Definition
DefaultPhysicsVolume.h:22
APhysicsVolume
Definition
PhysicsVolume.h:17
Engine
Source
Runtime
Engine
Classes
GameFramework
DefaultPhysicsVolume.h
Generated by
1.9.8