UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ChaosSolverSettings.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
7#include "ChaosSolverSettings.generated.h"
8
13UCLASS(config = Engine, defaultconfig, meta = (DisplayName = "Chaos Solver"), MinimalAPI)
15{
17
18public:
19
21
22 // IChaosSolverActorClassProvider interface
23 CHAOSSOLVERENGINE_API virtual UClass* GetSolverActorClass() const;
24
26 UPROPERTY(config, noclear, EditAnywhere, Category = GameInstance, meta = (MetaClass = "/Script/ChaosSolverEngine.ChaosSolverActor"))
27 FSoftClassPath DefaultChaosSolverActorClass;
28
29#if WITH_EDITOR
30 CHAOSSOLVERENGINE_API virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) override;
31#endif
32
33 CHAOSSOLVERENGINE_API virtual void PostInitProperties() override;
34 CHAOSSOLVERENGINE_API virtual void PostReloadConfig(class FProperty* PropertyThatWasLoaded) override;
35
36private:
37
38 // Chaos can't read the properties here as it doesn't depend on engine, the
39 // following functions push changes to the chaos module as properties change
40 void UpdateProperty(FProperty* InProperty);
41 void UpdateAllProperties();
42 void RegisterSolverActorProvider();
44};
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_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition Engine.Build.cs:7
Definition UnrealType.h:174
Definition ChaosSolversModule.h:23
Definition ChaosSolverSettings.h:15
Definition Class.h:3793
Definition DeveloperSettings.h:24
Definition UnrealType.h:6865
Definition SoftObjectPath.h:539