Show / Hide Table of Contents

    Class LSLUtils

    Inheritance
    Object
    LSLUtils
    Namespace: LSL4Unity
    Assembly: cs.temp.dll.dll
    Syntax
    public static class LSLUtils

    Methods

    GetSamplingRateFor(MomentForSampling, Boolean)

    • EXPERIMENTAL - Use this to get the sampling rate on which most post processing procedures rely - like importing recorded date as .xdf file to EEGLAB.
    Declaration
    public static float GetSamplingRateFor(MomentForSampling moment, bool setRefreshRateToDisplay = true)
    Parameters
    Type Name Description
    MomentForSampling moment

    Enumeration value for FixedUpdate, Update, LateUpdate ...

    Boolean setRefreshRateToDisplay

    Set this to false, if another framerate has been specified manually

    Returns
    Type Description
    Single
    Back to top LSL 4 Unity documentation