Struct ConvertPredictionEntry
Struct storing settings for an individual queue entry in the GhostPredictionSwitchingQueues.
Inherited Members
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
public struct ConvertPredictionEntry
Fields
TargetEntity
The entity you are converting.
Declaration
public Entity TargetEntity
Field Value
Type | Description |
---|---|
Entity |
TransitionDurationSeconds
We smooth the Unity.Transforms.LocalToWorld of the target entity via GhostPredictionSmoothing system (and component SwitchPredictionSmoothing). How gentle should this smooth transformation be? Sensible default: 1.0s. Note: Also prevents converting the ghost again until complete.
Declaration
public float TransitionDurationSeconds
Field Value
Type | Description |
---|---|
float |