Class FlowGraphIndexOfBlock<T>
Type Parameters
- T = any
Hierarchy (View Summary)
- WebXRSpatialLayerType
- FlowGraphIndexOfBlock
Index
Constructors
constructor
-
new FlowGraphIndexOfBlock<T = any>(
config: IFlowGraphBlockConfiguration,
): FlowGraphIndexOfBlock<T>Construct a FlowGraphIndexOfBlock.
Type Parameters
- T = any
Parameters
- config: IFlowGraphBlockConfiguration
construction parameters
Returns FlowGraphIndexOfBlock<T>
Properties
Readonlyarray
Input connection: The array to search in.
config
config: IFlowGraphBlockConfiguration
construction parameters
Readonlyindex
index: FlowGraphDataConnection<FlowGraphInteger>
Output connection: The index of the object in the array. -1 if not found!
Readonlyobject
Input connection: The object to find in the array.
This block takes an object as input and an array and returns the index of the object in the array.