ToolOptions.fetchModifiers property
This function is called during the pointerdown
handler and can be used to limit what modifiers are affected.
Signature:
fetchModifiers?: ToolFetchModifiersFn;
Remarks
This is useful when your UI employs some kind of resource or node selection. If a user has selected a specific graphic assignment they want to edit, use this function to return only that graphic assignment.
If this function returns undefined
the handler will fall back to all modifiers. Return an empty array if no modifiers should be updated.