TM::InputEventBuffer::Find Method

Finds all input events matching the specified criteria.

Syntax

array<uint>@ TM::InputEventBuffer::Find(
int inputTime = - 1,
InputType type = InputType :: None,
int value = Math :: INT_MAX
)

Parameters

int inputTime = - 1
The input time of the input event (0 based). Specify -1 to ignore this parameter.

InputType type = InputType :: None
The input type of the input event. Specify InputType::None to ignore this parameter.

int value = Math :: INT_MAX
The value of the input event. Specify Math::INT_MAX to ignore this parameter.

Return value

array<uint>@
An array of input event indices matching the specified criteria.

Remarks

This method allows for finding input events matching the specified criteria. If the function parameter is unspecified (or left to its default value), that parameter is ignored when searching for matching input events.