@masatomakino/threejs-interactive-object
    Preparing search index...

    Interface ButtonInteractionHandlerParameters<Value>

    Configuration parameters for creating a ButtonInteractionHandler instance.

    Defines the required and optional parameters needed to initialize a ButtonInteractionHandler. The view parameter establishes the connection between the handler and the display object, while the material parameter provides the visual state representations.

    interface ButtonInteractionHandlerParameters<Value> {
        material?: StateMaterialSet;
        view: ClickableView<Value>;
    }

    Type Parameters

    • Value

      The type of value associated with the interactive object

    Index

    Properties

    Properties

    material?: StateMaterialSet

    Optional material set for managing visual states (normal, over, down, disable). If not provided, the handler will manage interaction state without visual changes.

    The interactive display object to be managed by this handler. Must implement the IClickableObject3D interface.