FPhysicsTickTask

Task responsible for handling a full frame update for physics under the TaskGraph threading mode.

Windows
MacOS
Linux

References

Module

ChaosSolvers

Header

/Engine/Source/Runtime/Experimental/ChaosSolvers/Public/Framework/PhysicsTickTask.h

Include

#include "Framework/PhysicsTickTask.h"

Syntax

class FPhysicsTickTask

Remarks

Task responsible for handling a full frame update for physics under the TaskGraph threading mode. Multiple ways to construct this for various situations depending on the subset of solvers the caller wishes to update.

Constructors

Name Description

Public function

FPhysicsTickTask

(
    FGraphEventRef& InCompletionEvent,
    float InDt
)

Construct a task that will tick all solvers in the solver module

Public function

FPhysicsTickTask

(
    FGraphEventRef& InCompletionEvent,
    Chaos::FPhysicsSolver* InPhysi...,
    float InDt
)

Construct a task that will tick the provided solver (or all solvers in the module if nullptr passed)

Public function

FPhysicsTickTask

(
    FGraphEventRef& InCompletionEvent,
    const TArray< Chaos::FPhysicsSolver...,
    float InDt
)

Construct a task to tick the provided list of solvers

Functions

Name Description

Public function

void

 

DoTask

(
    ENamedThreads::Type CurrentThread,
    const FGraphEventRef& MyCompletion...
)

Public function Static

ENamedThread...

 

GetDesiredThread()

Public function Const

TStatId

 

GetStatId()

Task API

Public function Static

ESubsequents...

 

GetSubsequentsMode()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss