Struct DeltaStateEvent | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Struct DeltaStateEvent

    Partial state update for an input device.

    Namespace: UnityEngine.InputSystem.LowLevel
    Syntax
    public struct DeltaStateEvent : IInputEventTypeInfo
    Remarks

    Avoids having to send a full state memory snapshot when only a small part of the state has changed.

    Fields

    baseEvent

    Declaration
    public InputEvent baseEvent
    Field Value
    Type Description
    InputEvent

    stateData

    Declaration
    public byte *stateData
    Field Value
    Type Description
    System.Byte*

    stateFormat

    Declaration
    public FourCC stateFormat
    Field Value
    Type Description
    FourCC

    stateOffset

    Declaration
    public uint stateOffset
    Field Value
    Type Description
    System.UInt32

    Type

    Declaration
    public const int Type = 1145852993
    Field Value
    Type Description
    System.Int32

    Properties

    deltaState

    Declaration
    public void *deltaState { get; }
    Property Value
    Type Description
    System.Void*

    deltaStateSizeInBytes

    Declaration
    public uint deltaStateSizeInBytes { get; }
    Property Value
    Type Description
    System.UInt32

    Methods

    From(InputEventPtr)

    Declaration
    public static DeltaStateEvent*From(InputEventPtr ptr)
    Parameters
    Type Name Description
    InputEventPtr ptr
    Returns
    Type Description
    DeltaStateEvent*

    GetTypeStatic()

    Declaration
    public FourCC GetTypeStatic()
    Returns
    Type Description
    FourCC
    Implements
    IInputEventTypeInfo.GetTypeStatic()
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX