{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct ApplyInputDataFromBufferJob<TInputComponentData, TInputHelper> | Netcode for Entities | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ApplyInputDataFromBufferJob<TInputComponentData, TInputHelper>

    Internal job (don't use directly), run inside the prediction loop and copy the input data from an InputBufferData<T> command buffer to an IInputComponentData component for the current simulated tick. The job is responsible to recalculate any InputEvent count, such that any events occurred since last tick (or batch, see also SimulationStepBatchSize) are correctly reported as set (see IsSet

    Implements
    IJobChunk
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.NetCode
    Assembly: solution.dll
    Syntax
    [BurstCompile]
    public struct ApplyInputDataFromBufferJob<TInputComponentData, TInputHelper> : IJobChunk where TInputComponentData : unmanaged, IInputComponentData where TInputHelper : unmanaged, IInputEventHelper<TInputComponentData>
    Type Parameters
    Name Description
    TInputComponentData
    TInputHelper

    Methods

    Name Description
    Execute(in ArchetypeChunk, int, bool, in v128)

    Copy the command for current server tick to the input component.

    In This Article
    Back to top
    Copyright © 2023 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)