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

    Class CheckBoxInteractionHandler<Value>

    The CheckBoxInteractionHandler class extends the ButtonInteractionHandler class to manage interactions with checkbox-like objects. In addition to handling interaction events, this class also maintains the selection state of the checkbox-like object.

    The generic parameter Value represents the type of the value property associated with this checkbox.

    Type Parameters

    • Value

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _alpha: number = 1.0
    _enable: boolean = true
    _isOver: boolean = false
    _isPress: boolean = false
    _isSelect: boolean = false
    _materialSet?: StateMaterialSet
    frozen: boolean = false
    mouseEnabled: boolean = true
    state: ClickableState = "normal"
    value: undefined | Value

    The value property represents an arbitrary value associated with this button. This value can be used by classes listening to events from multiple buttons to differentiate the operations based on this value.

    prefixed: string | boolean

    Accessors

    Methods

    • Remove all listeners, or those of the specified event.

      Parameters

      • Optionalevent: keyof ThreeMouseEventMap<Value>

      Returns this