UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
XPBDInternal.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
#pragma once
3
4
#include "
HAL/Platform.h
"
5
6
namespace
Chaos::Softs
7
{
8
// Used for controlling damping model for xpbd springs (CVar-based testing only)
9
enum struct
EXPBDSplitDampingMode
10
{
11
SingleLambda
= 0,
12
InterleavedAfter
= 1,
13
InterleavedBefore
= 2,
14
TwoPassAfter
= 3,
15
TwoPassBefore
= 4
16
};
17
#if UE_BUILD_SHIPPING
18
const
int32
Chaos_XPBDSpring_SplitDampingMode
= (
int32
)
EXPBDSplitDampingMode::TwoPassBefore
;
19
#else
20
extern
int32
Chaos_XPBDSpring_SplitDampingMode
;
21
#endif
22
23
}
// End namespace Chaos::Softs
Platform.h
int32
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition
Platform.h:1125
Chaos::Softs
Definition
CollectionEmbeddedSpringConstraintFacade.cpp:6
Chaos::Softs::Chaos_XPBDSpring_SplitDampingMode
int32 Chaos_XPBDSpring_SplitDampingMode
Definition
XPBDSpringConstraints.cpp:35
Chaos::Softs::EXPBDSplitDampingMode
EXPBDSplitDampingMode
Definition
XPBDInternal.h:10
Chaos::Softs::EXPBDSplitDampingMode::TwoPassAfter
@ TwoPassAfter
Chaos::Softs::EXPBDSplitDampingMode::InterleavedBefore
@ InterleavedBefore
Chaos::Softs::EXPBDSplitDampingMode::InterleavedAfter
@ InterleavedAfter
Chaos::Softs::EXPBDSplitDampingMode::SingleLambda
@ SingleLambda
Chaos::Softs::EXPBDSplitDampingMode::TwoPassBefore
@ TwoPassBefore
Engine
Source
Runtime
Experimental
Chaos
Private
Chaos
XPBDInternal.h
Generated by
1.9.8