Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeNv
Holds initial, asset level config for clothing actors.
| Name | UClothConfigNv |
| Type | class |
| Header File | /Engine/Source/Runtime/ClothingSystemRuntimeNv/Public/ClothConfigNv.h |
| Include Path | #include "ClothConfigNv.h" |
Syntax
UCLASS (MinimalAPI)
class UClothConfigNv : public UClothConfigCommon
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UClothConfigBase → UClothConfigCommon → UClothConfigNv
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UClothConfigNv() |
ClothConfigNv.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AngularDrag | FVector | Drag applied to angular particle movement, higher values should limit material bending (per-axis) | ClothConfigNv.h |
|
| AngularInertiaScale | FVector | Scale for angular particle inertia, how much movement should translate to angular motion (per-axis) | ClothConfigNv.h |
|
| AnimDriveDamperStiffness | float | Default damper stiffness for anim drive if an anim drive is in use. | ClothConfigNv.h |
|
| AnimDriveSpringStiffness | float | Default spring stiffness for anim drive if an anim drive is in use. | ClothConfigNv.h |
|
| BendConstraint | FClothConstraintSetupNv | Constraint data for bend constraints. | ClothConfigNv.h |
|
| bUseGravityOverride | bool | Use gravity override value vs gravity scale | ClothConfigNv.h |
|
| CentrifugalInertiaScale | FVector | Scale for centrifugal particle inertia, how much movement should translate to angular motion (per-axis) | ClothConfigNv.h |
|
| ClothingWindMethod | EClothingWindMethodNv | How wind should be processed, Accurate uses drag and lift to make the cloth react differently, legacy applies similar forces to all clothing without drag and lift (similar to APEX) | ClothConfigNv.h |
|
| CollisionThickness | float | 'Thickness' of the simulated cloth, used to adjust collisions | ClothConfigNv.h |
|
| Damping | FVector | Damping of particle motion per-axis. | ClothConfigNv.h |
|
| Friction | float | Friction of the surface when colliding. | ClothConfigNv.h |
|
| GravityOverride | FVector | Direct gravity override value. | ClothConfigNv.h |
|
| GravityScale | float | Scale of gravity effect on particles. | ClothConfigNv.h |
|
| HorizontalConstraint | FClothConstraintSetupNv | Constraint data for horizontal constraints. | ClothConfigNv.h |
|
| LinearDrag | FVector | Drag applied to linear particle movement per-axis. | ClothConfigNv.h |
|
| LinearInertiaScale | FVector | Scale for linear particle inertia, how much movement should translate to linear motion (per-axis) | ClothConfigNv.h |
|
| SelfCollisionCullScale | float | Scale to use for the radius of the culling checks for self collisions. | ClothConfigNv.h |
|
| SelfCollisionRadius | float | Size of self collision spheres centered on each vert. | ClothConfigNv.h |
|
| SelfCollisionStiffness | float | Stiffness of the spring force that will resolve self collisions. | ClothConfigNv.h |
|
| ShearConstraint | FClothConstraintSetupNv | Constraint data for shear constraints. | ClothConfigNv.h |
|
| SolverFrequency | float | Frequency of the position solver, lower values will lead to stretchier, bouncier cloth. | ClothConfigNv.h |
|
| StiffnessFrequency | float | Frequency for stiffness calculations, lower values will degrade stiffness of constraints. | ClothConfigNv.h |
|
| TetherLimit | float | Scale for the limit of particle tethers (how far they can separate) | ClothConfigNv.h |
|
| TetherStiffness | float | Scale for stiffness of particle tethers between each other. | ClothConfigNv.h |
|
| VerticalConstraint | FClothConstraintSetupNv | Constraint data for vertical constraints. | ClothConfigNv.h |
|
| WindDragCoefficient | float | Drag coefficient for wind calculations, higher values mean wind has more lateral effect on cloth. | ClothConfigNv.h |
|
| WindLiftCoefficient | float | Lift coefficient for wind calculations, higher values make cloth rise easier in wind. | ClothConfigNv.h |
|
Functions
Public
Overridden from UClothConfigCommon
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void MigrateFrom
(
const FClothConfig_Legacy& ClothConfig |
Migrate from the legacy FClothConfig structure. | ClothConfigNv.h | |
virtual bool MigrateTo
(
FClothConfig_Legacy& ClothConfig |
Migrate to the legacy FClothConfig structure. | ClothConfigNv.h |
Overridden from UClothConfigBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual float GetSelfCollisionRadius() |
Return the collision radius required to calculate the self collision indices, or 0.f if self collision is disabled. | ClothConfigNv.h | |
virtual bool NeedsInverseMasses() |
Return whether to pre-compute inverse masses. | ClothConfigNv.h | |
virtual bool NeedsSelfCollisionData() |
Return whether to pre-compute self collision data. | ClothConfigNv.h | |
virtual bool NeedsTethers() |
Return whether to pre-compute the long range attachment tethers. | ClothConfigNv.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
Update the deprecated properties. | ClothConfigNv.h | |
virtual void Serialize
(
FArchive& Ar |
Set up custom version serialization. | ClothConfigNv.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BendConstraintConfig_DEPRECATED | FClothConstraintSetup_Legacy | ClothConfigNv.h | ||
| HorizontalConstraintConfig_DEPRECATED | FClothConstraintSetup_Legacy | ClothConfigNv.h | ||
| ShearConstraintConfig_DEPRECATED | FClothConstraintSetup_Legacy | ClothConfigNv.h | ||
| VerticalConstraintConfig_DEPRECATED | FClothConstraintSetup_Legacy | ClothConfigNv.h | ||
| WindMethod_DEPRECATED | EClothingWindMethod_Legacy | Deprecated properties using old legacy structure and enum that couldn't be redirected. | ClothConfigNv.h |