Class InputBindingComposite | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Class InputBindingComposite

    A binding that synthesizes a value from from several component bindings.

    Inheritance
    System.Object
    InputBindingComposite
    InputBindingComposite<TValue>
    Namespace: UnityEngine.InputSystem
    Syntax
    public abstract class InputBindingComposite

    Properties

    valueSizeInBytes

    Declaration
    public abstract int valueSizeInBytes { get; }
    Property Value
    Type Description
    System.Int32

    valueType

    Declaration
    public abstract Type valueType { get; }
    Property Value
    Type Description
    System.Type

    Methods

    EvaluateMagnitude(ref InputBindingCompositeContext)

    Declaration
    public virtual float EvaluateMagnitude(ref InputBindingCompositeContext context)
    Parameters
    Type Name Description
    InputBindingCompositeContext context
    Returns
    Type Description
    System.Single

    ReadValue(ref InputBindingCompositeContext, Void*, Int32)

    Declaration
    public abstract void ReadValue(ref InputBindingCompositeContext context, void *buffer, int bufferSize)
    Parameters
    Type Name Description
    InputBindingCompositeContext context
    System.Void* buffer
    System.Int32 bufferSize

    ReadValueAsObject(ref InputBindingCompositeContext)

    Declaration
    public abstract object ReadValueAsObject(ref InputBindingCompositeContext context)
    Parameters
    Type Name Description
    InputBindingCompositeContext context
    Returns
    Type Description
    System.Object
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX