Navigation
API > API/Runtime > API/Runtime/Chaos
Render interpolation that can correct errors from resimulation / repositions through a linear decay over N simulation tick.
| Name | FProxyInterpolationError |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Framework/PhysicsProxyBase.h |
| Include Path | #include "Chaos/Framework/PhysicsProxyBase.h" |
Syntax
struct FProxyInterpolationError : public FProxyInterpolationBase
Inheritance Hierarchy
- FProxyInterpolationBase → FProxyInterpolationError
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FProxyInterpolationError
(
const int32 PullDataInterpIdx, |
Chaos/Framework/PhysicsProxyBase.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FProxyInterpolationError() |
Chaos/Framework/PhysicsProxyBase.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | FProxyInterpolationBase | Chaos/Framework/PhysicsProxyBase.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InterpolationType | const EProxyInterpolationType | Chaos/Framework/PhysicsProxyBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FErrorInterpolationSettings & GetOrCreateErrorInterpolationSettings() |
Get or create FErrorInterpolationSettings to stores custom settings for render interpolation error corrections | Chaos/Framework/PhysicsProxyBase.h |
Overridden from FProxyInterpolationBase
| 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 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::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 | |
virtual const EProxyInterpolationType GetInterpolationType() |
Get this interpolation structs type | Chaos/Framework/PhysicsProxyBase.h | |
virtual const bool IsErrorSmoothing() |
If currently correcting an error through interpolation | Chaos/Framework/PhysicsProxyBase.h | |
virtual const bool UpdateError
(
const int32 CurrentSimTick, |
Tick current error data and decay error | Chaos/Framework/PhysicsProxyBase.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const bool DecayError() |
Chaos/Framework/PhysicsProxyBase.h | ||
virtual void Reset() |
Chaos/Framework/PhysicsProxyBase.h |