Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/TParticlePropertyBuffer
Description
Gets access into buffer in FrameAndPhase order. It's assumed FrameAndPhase is monotonically increasing: x_{n+1} > x_n If bEnsureMonotonic is true we will always return a valid access (unless assert fires) If bEnsureMonotonic is false we will ensure x_{n+1} >= x_n. If x_{n+1} == x_n we return null to inform the user (can be useful when multiple writes happen in same phase)
| Name | WriteAccessImp |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/RewindData.h |
| Include Path | #include "RewindData.h" |
template<bool bEnsureMonotonic>
T * WriteAccessImp
(
const FFrameAndPhase FrameAndPhase,
FDirtyPropertiesPool & Manager
)