Kanda Players 0.7.0
Loading...
Searching...
No Matches
PredictInteractablesInRangeJob Struct Reference

For any currently interpolated interactable ghosts, if they are in range of player head, convert them to predicted ghosts. More...

+ Inheritance diagram for PredictInteractablesInRangeJob:

Public Member Functions

void Execute (RefRO< LocalTransform > transform, RefRO< GhostInstance > ghost, Entity entity)
 

Public Attributes

float3 PlayerPosition
 The current player position.
 
float PredictionDistanceSq
 The squared distance from player that we should predict interactables.
 
NativeQueue< ConvertPredictionEntry >.ParallelWriter ConvertToPredictedQueue
 The queue where we will add ghosts that should be interpolated.
 

Detailed Description

For any currently interpolated interactable ghosts, if they are in range of player head, convert them to predicted ghosts.


The documentation for this struct was generated from the following file: