Function addNewInteractivityFlowGraphMapping
-
addNewInteractivityFlowGraphMapping(
key: string,
extension: string,
mapping: IGLTFToFlowGraphMapping,
): voidParameters
- key: string
the type of node, i.e. "variable/get"
- extension: string
the extension of the interactivity operation, i.e. "KHR_selectability"
- mapping: IGLTFToFlowGraphMapping
The mapping object. See documentation or examples below.
Returns void
- key: string
This function will add new mapping to glTF interactivity. Other extensions can define new types of blocks, this is the way to let interactivity know how to parse them.