| FNoncopyable
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/SceneComponent.h |
Include |
#include "Components/SceneComponent.h" |
class FScopedMovementUpdate : private FNoncopyable
FScopedMovementUpdate creates a new movement scope, within which propagation of moves may be deferred until the end of the outermost scope that does not defer updates. Moves within this scope will avoid updates such as UpdateBounds(), OnUpdateTransform(), UpdatePhysicsVolume(), UpdateChildTransforms() etc until the move is committed (which happens when the last deferred scope goes out of context).
that non-deferred scopes are not allowed within outer scopes that defer updates, and any attempt to use one will change the inner scope to use deferred updates.
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bDeferUpdates |
|
|
uint8: 1 |
bHasMoved |
|
|
BlockingHits |
||
|
uint8: 1 |
bRequireOverlapsEventFlag |
|
|
CurrentOverlapState |
||
|
FinalOverlapCandidatesIndex |
||
|
InitialRelativeLocation |
||
|
InitialRelativeRotation |
||
|
InitialRelativeScale |
||
|
InitialTransform |
||
|
OuterDeferredScope |
||
|
Owner |
||
|
PendingOverlaps |
||
|
TeleportType |
Name | Description | |
---|---|---|
|
FScopedMovementUpdate ( |
Name | Description | |
---|---|---|
|
~FScopedMovementUpdate() |
Name | Description | ||
---|---|---|---|
|
AppendBlockingHitAfterMove ( |
Add blocking hit that will get processed once the move is committed. |
|
|
AppendOverlapsAfterMove ( |
Add overlaps to the queued overlaps array. |
|
|
ForceOverlapUpdate() |
Force full overlap update once this scope finishes. |
|
|
const FScope... |
GetOuterDeferredScope() |
Get the scope containing this scope. A scope only has an outer scope if they both defer updates. |
|
GetOverlapsAtEnd ( |
Fills in the list of overlaps at the end location (in EndOverlaps). |
|
|
const TScope... |
GetPendingBlockingHits() |
Returns the list of pending blocking hits, which will be used for notifications once the move is committed. |
|
const TScope... |
GetPendingOverlaps() |
Returns the pending overlaps within this scope. |
|
HasMoved ( |
Returns whether movement has occurred at all during this scope, optionally checking if the transform is different (since changing scale does not go through a move). |
|
|
HasPendingOverlaps() |
Returns true if there are pending overlaps queued in this scope. |
|
|
InvalidateCurrentOverlaps() |
Clear overlap state at current location, we don't know what it is. |
|
|
IsDeferringUpdates() |
Return true if deferring updates, false if updates are applied immediately. |
|
|
IsTransformDirty() |
Returns true if the Component's transform differs from that at the start of the scoped update. |
|
|
KeepCurrentOverlapsAfterRotation ( |
Keep current pending overlaps after a move but make |
|
|
RequiresOverlapsEventFlag() |
Returns true if we require GetGenerateOverlapEvents() on both the moving object and the overlapped object to add them to the pending overlaps list. |
|
|
RevertMove() |
Revert movement to the initial location of the Component at the start of the scoped update. |
|
|
SetHasTeleported ( |
Registers that this move is a teleport |
|
|
SetWorldLocationAndRotation ( |
Name |
Description |
|
---|---|---|
|
EHasMovedTransformOption |
|
|
EOverlapState |
Name |
Description |
---|---|
TScopedBlockingHitArray |
|
TScopedOverlapInfoArray |