Get Last Row Index at Time

Get Last Row Index at Time

Windows
MacOS
Linux

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

Target is Houdini CSV

Get Last Row Index at Time
Target
Select Asset
Desired Time
0.0
Last Row Index
0
Return Value

Inputs

Target
Houdini CSV Object Reference
Desired Time
Float (by ref)

Outputs

Last Row Index
Integer
Return Value
Boolean

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