Class FlowGraphFunctionReferenceBlock
Hierarchy (View Summary)
- WebXRSpatialLayerType
- FlowGraphFunctionReferenceBlock
Constructors
constructor
-
Parameters
Optionalconfig: anythe configuration of the block
Returns FlowGraphFunctionReferenceBlock
Properties
Readonlycontext
context: FlowGraphDataConnection<any>
Input: The context to call the function with. This is optional. If not provided, the function will be bound to null.
Readonlyfunction Name
functionName: FlowGraphDataConnection<string>
Input: The function name.
Readonlyobject
object: FlowGraphDataConnection<any>
Input: The object to get the function from. This can be a constructed class or a collection of stand-alone functions.
Readonlyoutput
output: FlowGraphDataConnection<Function>
Output: The function referenced by functionName from the object, bound to the context.
A flow graph block that takes a function name, an object and an optional context as inputs and calls the function on the object.