docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ConvertPredictionEntry

    Struct storing settings for an individual queue entry in the GhostPredictionSwitchingQueues.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    [NoAlias]
    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)