UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PhysicalMaterialPropertyBase.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
23#pragma once
24
25#include "CoreMinimal.h"
27#include "UObject/Object.h"
29#include "PhysicalMaterialPropertyBase.generated.h"
30
31UCLASS(collapsecategories, hidecategories=Object, editinlinenew, abstract,MinimalAPI, deprecated)
33{
35
36 //~ Begin UObject Interface
37 virtual bool IsAsset() const override { return false; }
38 //~ End UObject Interface
39
40 // compatibility support function
41 virtual EPhysicalSurface ConvertToSurfaceType(){ return SurfaceType_Default; }
42
43protected:
44 // set material type from int
46 {
47 // if you hit this, we might have to increase MaterialType count
49 return (EPhysicalSurface)Value;
50 }
51};
52
#define check(expr)
Definition AssertionMacros.h:314
EPhysicalSurface
Definition ChaosEngineInterface.h:21
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition PhysicalMaterialPropertyBase.h:33
EPhysicalSurface GetSurfaceType(int32 Value)
Definition PhysicalMaterialPropertyBase.h:45
Definition Object.h:95