ToolOptions interface

Options for the Tool constructor.

Signature:

interface ToolOptions 

Properties

Property

Modifiers

Type

Description

autoAttach?

boolean

(Optional) Automatically attach listeners to the provided scene.

autoRender?

boolean

(Optional) Automatically render the any time modifier options are updated.

fetchModifiers?

ToolFetchModifiersFn

(Optional) This function is called during the pointerdown handler and can be used to limit what modifiers are affected.

mode?

ToolMode

(Optional) Enable a ToolMode immediately.

scene

SceneInterface

The SceneInterface to work with.

Get in touch

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

PressPrivacyTermsSupportCopyright © 2024 Core3D, Inc. All Rights Reserved.