docs.unity.cn
    Show / Hide Table of Contents

    Struct CopyInputToBufferJob<TInputComponentData, TInputHelper>

    Internal job (don't use directly) used to copy the input data for struct implementing the IInputComponentData to the underlying InputBufferData<T> command data buffer. The job is also responsible to increment the InputEvent counters, in case the input component contains input events.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.NetCode
    Syntax
    [BurstCompile]
    public struct CopyInputToBufferJob<TInputComponentData, TInputHelper> : IJobChunk where TInputComponentData : struct, IInputComponentData where TInputHelper : struct, IInputEventHelper<TInputComponentData>
    Type Parameters
    Name Description
    TInputComponentData
    TInputHelper

    Methods

    Execute(in ArchetypeChunk, Int32, Boolean, in v128)

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

    Declaration
    [BurstCompile]
    public void Execute(in ArchetypeChunk chunk, int unfilteredChunkIndex, bool useEnabledMask, in v128 chunkEnabledMask)
    Parameters
    Type Name Description
    ArchetypeChunk chunk
    Int32 unfilteredChunkIndex
    Boolean useEnabledMask
    v128 chunkEnabledMask
    Implements
    IJobChunk.Execute(in ArchetypeChunk, Int32, Boolean, in v128)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, September 20, 2023