Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FProxyInterpolationBase |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Framework/PhysicsProxyBase.h |
| Include Path | #include "Chaos/Framework/PhysicsProxyBase.h" |
Syntax
struct FProxyInterpolationBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FProxyInterpolationBase
(
const int32 PullDataInterpIdx, |
Chaos/Framework/PhysicsProxyBase.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FProxyInterpolationBase() |
Chaos/Framework/PhysicsProxyBase.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InterpolationType | const EProxyInterpolationType | This interpolation structs type | Chaos/Framework/PhysicsProxyBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AccumlateErrorXR
(
const Chaos::FVec3 X, |
Add X and R error onto current error to correct through interpolation | Chaos/Framework/PhysicsProxyBase.h | |
virtual const bool DirectionalDecay
(
Chaos::FVec3 Direction |
EXPERIMENTAL - Decay error based on moved direction and distance | Chaos/Framework/PhysicsProxyBase.h | |
virtual const bool DirectionalDecay
(
Chaos::FVec3 Direction, |
EXPERIMENTAL - Decay error based on moved direction and distance | Chaos/Framework/PhysicsProxyBase.h | |
virtual FErrorInterpolationSettings * GetErrorInterpolationSettings() |
Get FErrorInterpolationSettings which stores custom settings for render interpolation error corrections, returns nullptr if there are no custom settings | Chaos/Framework/PhysicsProxyBase.h | |
virtual const FQuat GetErrorR
(
const Chaos::FRealSingle Alpha |
Get the rotation of the current error correction, taking current Alpha between GT and PT into account | Chaos/Framework/PhysicsProxyBase.h | |
virtual const Chaos::FRealSingle GetErrorVelocitySmoothingAlpha
(
const int32 ErrorVelocitySmoothDuration |
EXPERIMENTAL - Returns the Alpha of how much to take previous velocity into account, used to lerp from linear extrapolation to the predicted position based on previous velocity | Chaos/Framework/PhysicsProxyBase.h | |
virtual const Chaos::FVec3 GetErrorVelocitySmoothingX
(
const Chaos::FRealSingle Alpha |
EXPERIMENTAL - Get the position of the velocity-based correction, taking current Alpha between GT and PT into account | Chaos/Framework/PhysicsProxyBase.h | |
virtual const Chaos::FVec3 GetErrorX
(
const Chaos::FRealSingle Alpha |
Get the position of the current error correction, taking current Alpha between GT and PT into account | Chaos/Framework/PhysicsProxyBase.h | |
int32 GetInterpChannel_External() |
Chaos/Framework/PhysicsProxyBase.h | ||
virtual const EProxyInterpolationType GetInterpolationType() |
Get this interpolation structs type | Chaos/Framework/PhysicsProxyBase.h | |
int32 GetPullDataInterpIdx_External() |
Chaos/Framework/PhysicsProxyBase.h | ||
virtual const bool IsErrorSmoothing() |
If currently correcting an error through interpolation | Chaos/Framework/PhysicsProxyBase.h | |
virtual const bool IsErrorVelocitySmoothing() |
EXPERIMENTAL - If currently correcting error while taking velocity into account | Chaos/Framework/PhysicsProxyBase.h | |
void SetInterpChannel_External
(
const int32 Channel |
Chaos/Framework/PhysicsProxyBase.h | ||
void SetPullDataInterpIdx_External
(
const int32 Idx |
Chaos/Framework/PhysicsProxyBase.h | ||
virtual void SetVelocitySmoothing
(
const Chaos::FVec3 CurrV, |
EXPERIMENTAL - Register the current velocity and position for use in velocity correction calculations | Chaos/Framework/PhysicsProxyBase.h | |
virtual const bool UpdateError
(
const int32 CurrentSimTick, |
Tick current error data and decay error | Chaos/Framework/PhysicsProxyBase.h |