Navigation
API > API/Plugins > API/Plugins/ChaosFleshEngine > API/Plugins/ChaosFleshEngine/ChaosFlesh
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UDeformableSolverComponent
References
| Module | ChaosFleshEngine |
| Header | /Engine/Plugins/Experimental/ChaosFlesh/Source/ChaosFleshEngine/Public/ChaosFlesh/ChaosDeformableSolverComponent.h |
| Include | #include "ChaosFlesh/ChaosDeformableSolverComponent.h" |
Syntax
UCLASS (Meta=(BlueprintSpawnableComponent))
class UDeformableSolverComponent :
public USceneComponent ,
public IDeformableInterface ,
public IDataflowPhysicsSolverInterface
Remarks
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bSimulationTicking | Boolean to check if we can tick the simulation | |
| FConnectedObjectsGroup | ConnectedObjects | Properties : Do NOT place ungrouped properties in this class | |
| FDeformableEndTickFunction | DeformableEndTickFunction | ||
| FDataflowFleshSolverProxy | FleshSolverProxy | Simulation Variables. | |
| FGraphEventRef | ParallelDeformableTask | Ref for the deformable solvers parallel task, so we can detect whether or not a sim is running | |
| FDataflowSimulationAsset | SimulationAsset | Solver dataflow asset used to advance in time | |
| FSolverCollisionsGroup | SolverCollisions | ||
| FSolverConstraintsGroup | SolverConstraints | ||
| FSolverDebuggingGroup | SolverDebugging | ||
| FSolverEvolutionGroup | SolverEvolution | ||
| FSolverForcesGroup | SolverForces | ||
| FSolverMuscleActivationGroup | SolverMuscleActivation | ||
| FSolverTimingGroup | SolverTiming |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UDeformableSolverComponent
(
const FObjectInitializer& ObjectInitializer |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddDeformableProxy
(
UDeformablePhysicsComponent* InComponent |
||
| FDeformableSolver::FGameThreadAccess | Game thread access to the solver proxy | ||
| bool | |||
| bool | |||
| FDeformableSolver::FPhysicsThreadAccess | Physics thread access to the solver proxy | ||
| void | RemoveDeformableProxy
(
UDeformablePhysicsComponent* InComponent |
||
| void | ResetSimulationProperties
(
const FSolverTimingGroup& TimingGroup, |
Stop the simulation, and keep the cloth in its last pose. | |
| void | SetSimulationTicking
(
const bool InSimulationTicking |
||
| void | Simulate
(
float DeltaTime |
||
| void | UpdateDeformableEndTickState
(
bool bRegister |
Callback to trigger the deformable update after the simulation | |
| void |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | BeginPlay () |
Begins Play for the component. | |
| void | EndPlay
(
const EEndPlayReason::Type EndPlayReason |
Ends gameplay for this component. | |
| bool | Return true if CreatePhysicsState() should be called. | ||
| void | TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | CanEditChange
(
const FProperty* InProperty |
Called by the editor to query whether a property of this object is allowed to be modified. |
Overridden from IDeformableInterface
| Type | Name | Description | |
|---|---|---|---|
| void | CustomizeDetails
(
IDetailLayoutBuilder& DetailBuilder |
Take damage. |
Overridden from IDataflowSimulationInterface
| Type | Name | Description | |
|---|---|---|---|
| void | Build the simulation proxy | ||
| const FDataflowSimulationAsset & | Get the const dataflow simulation asset | ||
| FDataflowSimulationAsset & | Get the dataflow simulation asset | ||
| FString | Get the simulation name | ||
| FDataflowSimulationProxy * | Get the simulation proxy | ||
| const FDataflowSimulationProxy * | Get the const simulation proxy | ||
| void | ReadFromSimulation
(
const float DeltaTime, |
Read data received from the simulation proxy | |
| void | Reset the simulation proxy | ||
| void | WriteToSimulation
(
const float DeltaTime, |
Write data to be sent to the simulation proxy |
Typedefs
| Name | Description |
|---|---|
| FDataMapValue | |
| FDeformablePackage | |
| FDeformableSolver | |
| FFleshThreadingProxy | |
| FThreadingProxy |