docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PredictionErrorMetrics

    Monitor prediction errors of ghosts. In order to know what value each index refers to, we need to also grab the Indices from PredictionErrorNames.

    Implements
    IBufferElementData
    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
    [InternalBufferCapacity(0)]
    public struct PredictionErrorMetrics : IBufferElementData

    Fields

    Value

    Last recorder prediction error metric

    Declaration
    public float Value
    Field Value
    Type Description
    float

    Implements

    Unity.Entities.IBufferElementData
    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)