UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ChaosPhysicalMaterial.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "UObject/Object.h"
9
10#include "ChaosPhysicalMaterial.generated.h"
11
12namespace Chaos
13{
14 class FChaosPhysicsMaterial;
15}
16
21UCLASS(BlueprintType, Blueprintable, CollapseCategories, HideCategories = Object, MinimalAPI)
23{
25
26
28
29 //
30 // Surface properties.
31 //
32
34 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = PhysicalMaterial, meta=(ClampMin=0))
35 float Friction;
36
38 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = PhysicalMaterial, meta = (ClampMin = 0))
39 float StaticFriction;
40
42 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = PhysicalMaterial, meta=(ClampMin=0))
43 float Restitution;
44
46 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "PhysicalMaterial", meta=(ClampMin = 0))
47 float LinearEtherDrag;
48
50 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "PhysicalMaterial", meta = (ClampMin = 0))
51 float AngularEtherDrag;
52
54 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = PhysicalMaterial, meta=(ClampMin=0))
55 float SleepingLinearVelocityThreshold;
56
58 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = PhysicalMaterial, meta=(ClampMin=0))
59 float SleepingAngularVelocityThreshold;
60};
61
62
63
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition Defines.h:85
Definition ChaosPhysicalMaterial.h:23
Definition Object.h:95
Definition SkeletalMeshComponent.h:307