A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
FExpandedLateUpdateManager Class Reference

#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]
 

Detailed Description

Utility class for applying an offset to a hierarchy of components in the renderer thread.

Definition at line 71 of file GripMotionControllerComponent.h.

Constructor & Destructor Documentation

◆ FExpandedLateUpdateManager()

FExpandedLateUpdateManager::FExpandedLateUpdateManager ( )

Definition at line 7787 of file GripMotionControllerComponent.cpp.

◆ ~FExpandedLateUpdateManager()

virtual FExpandedLateUpdateManager::~FExpandedLateUpdateManager ( )
inlinevirtual

Definition at line 76 of file GripMotionControllerComponent.h.

Member Function Documentation

◆ Apply_RenderThread()

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.

◆ CacheSceneInfo()

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.

Here is the caller graph for this function:

◆ GatherLateUpdatePrimitives()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSkipLateUpdate_RenderThread()

bool FExpandedLateUpdateManager::GetSkipLateUpdate_RenderThread ( ) const
inline

Returns true if the LateUpdateSetup data is stale.

Definition at line 85 of file GripMotionControllerComponent.h.

◆ ProcessGripArrayLateUpdatePrimitives()

void FExpandedLateUpdateManager::ProcessGripArrayLateUpdatePrimitives ( UGripMotionControllerComponent * MotionController,
TArray< FBPActorGripInformation > & GripArray )

Definition at line 7933 of file GripMotionControllerComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Setup()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ LateUpdateGameWriteIndex

int32 FExpandedLateUpdateManager::LateUpdateGameWriteIndex

Definition at line 115 of file GripMotionControllerComponent.h.

◆ LateUpdateRenderReadIndex

int32 FExpandedLateUpdateManager::LateUpdateRenderReadIndex

Definition at line 116 of file GripMotionControllerComponent.h.

◆ UpdateStates

FLateUpdateState FExpandedLateUpdateManager::UpdateStates[2]

Definition at line 114 of file GripMotionControllerComponent.h.


The documentation for this class was generated from the following files: