A Demo Project for the UnrealEngineSDK
|
#include <GripMotionControllerComponent.h>
Classes | |
struct | FLateUpdateState |
Public Member Functions | |
FExpandedLateUpdateManager () | |
virtual | ~FExpandedLateUpdateManager () |
void | Apply_RenderThread (FSceneInterface *Scene, const int32 FrameNumber, const FTransform &OldRelativeTransform, const FTransform &NewRelativeTransform) |
void | CacheSceneInfo (USceneComponent *Component) |
void | GatherLateUpdatePrimitives (USceneComponent *ParentComponent) |
bool | GetSkipLateUpdate_RenderThread () const |
void | ProcessGripArrayLateUpdatePrimitives (UGripMotionControllerComponent *MotionController, TArray< FBPActorGripInformation > &GripArray) |
void | Setup (const FTransform &ParentToWorld, UGripMotionControllerComponent *Component, bool bSkipLateUpdate) |
Public Attributes | |
int32 | LateUpdateGameWriteIndex |
int32 | LateUpdateRenderReadIndex |
FLateUpdateState | UpdateStates [2] |
Utility class for applying an offset to a hierarchy of components in the renderer thread.
Definition at line 71 of file GripMotionControllerComponent.h.
FExpandedLateUpdateManager::FExpandedLateUpdateManager | ( | ) |
Definition at line 7787 of file GripMotionControllerComponent.cpp.
|
inlinevirtual |
Definition at line 76 of file GripMotionControllerComponent.h.
void FExpandedLateUpdateManager::Apply_RenderThread | ( | FSceneInterface * | Scene, |
const int32 | FrameNumber, | ||
const FTransform & | OldRelativeTransform, | ||
const FTransform & | NewRelativeTransform ) |
Apply the late update delta to the cached components
Definition at line 7832 of file GripMotionControllerComponent.cpp.
void FExpandedLateUpdateManager::CacheSceneInfo | ( | USceneComponent * | Component | ) |
Generates a LateUpdatePrimitiveInfo for the given component if it has a SceneProxy and appends it to the current LateUpdatePrimitives array
Definition at line 7902 of file GripMotionControllerComponent.cpp.
void FExpandedLateUpdateManager::GatherLateUpdatePrimitives | ( | USceneComponent * | ParentComponent | ) |
A utility method that calls CacheSceneInfo on ParentComponent and all of its descendants
Definition at line 7917 of file GripMotionControllerComponent.cpp.
|
inline |
Returns true if the LateUpdateSetup data is stale.
Definition at line 85 of file GripMotionControllerComponent.h.
void FExpandedLateUpdateManager::ProcessGripArrayLateUpdatePrimitives | ( | UGripMotionControllerComponent * | MotionController, |
TArray< FBPActorGripInformation > & | GripArray ) |
Definition at line 7933 of file GripMotionControllerComponent.cpp.
void FExpandedLateUpdateManager::Setup | ( | const FTransform & | ParentToWorld, |
UGripMotionControllerComponent * | Component, | ||
bool | bSkipLateUpdate ) |
Setup state for applying the render thread late update
Definition at line 7793 of file GripMotionControllerComponent.cpp.
int32 FExpandedLateUpdateManager::LateUpdateGameWriteIndex |
Definition at line 115 of file GripMotionControllerComponent.h.
int32 FExpandedLateUpdateManager::LateUpdateRenderReadIndex |
Definition at line 116 of file GripMotionControllerComponent.h.
FLateUpdateState FExpandedLateUpdateManager::UpdateStates[2] |
Definition at line 114 of file GripMotionControllerComponent.h.