docs.unity.cn
    Show / Hide Table of Contents

    Struct SetSamplingFrequencyCommand

    For a device that is sampled periodically, set the frequency at which the device is sampled.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Namespace: UnityEngine.InputSystem.LowLevel
    Syntax
    public struct SetSamplingFrequencyCommand : IInputDeviceCommandInfo

    Fields

    baseCommand

    Declaration
    public InputDeviceCommand baseCommand
    Field Value
    Type Description
    InputDeviceCommand

    frequency

    Declaration
    public float frequency
    Field Value
    Type Description
    Single

    Properties

    Type

    Declaration
    public static readonly FourCC Type { get; }
    Property Value
    Type Description
    FourCC

    typeStatic

    Declaration
    public readonly FourCC typeStatic { get; }
    Property Value
    Type Description
    FourCC
    Implements
    IInputDeviceCommandInfo.typeStatic

    Methods

    Create(Single)

    Declaration
    public static SetSamplingFrequencyCommand Create(float frequency)
    Parameters
    Type Name Description
    Single frequency
    Returns
    Type Description
    SetSamplingFrequencyCommand
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on 27 March 2023
    Terms of use