UHoudiniCSV::GetLastRowIndexAtTime

Get the last row index for a given time value (the row with a time smaller or equal to desiredTime) If the CSV file doesn't have time informations, returns false and set LastRowIndex to the last row in the file If desiredTime is smaller than the time value in the first row, LastRowIndex will be set to -1 If desiredTime is higher than the last time value in the last row of the csv file, LastIndex will be set to the last row's index

Windows
MacOS
Linux

References

Module

HoudiniNiagara

Header

/Engine/Plugins/FX/HoudiniNiagara/Source/HoudiniNiagara/Public/HoudiniCSV.h

Include

#include "HoudiniCSV.h"

Source

/Engine/Plugins/FX/HoudiniNiagara/Source/HoudiniNiagara/Private/HoudiniCSV.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Houdini Attributes Data")
bool GetLastRowIndexAtTime
(
    const float & desiredTime,
    int32 & lastRowIndex
) const

Remarks

Get the last row index for a given time value (the row with a time smaller or equal to desiredTime) If the CSV file doesn't have time informations, returns false and set LastRowIndex to the last row in the file If desiredTime is smaller than the time value in the first row, LastRowIndex will be set to -1 If desiredTime is higher than the last time value in the last row of the csv file, LastIndex will be set to the last row's index

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss