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.

Get in touch

We'd love to learn more about your vision and how we can help.

PressPrivacyTermsSupportCopyright © 2024 Core3D, Inc. All Rights Reserved.