Small World Engine API Reference - v0.76.20
    Preparing search index...

    Class HoverBehavior

    A gamification behavior that scales up the object and adds a glow when hovered.

    Hierarchy (View Summary)

    Index
    isActive: boolean = true
    target: CameraInterfaceData | Object3D | undefined = undefined

    The object this behavior is attached to. Set automatically.

    uuid: string = ...
    inspector?: Record<string, InspectorField>
    • Called every frame to update the behavior logic.

      Parameters

      • deltaTime: number

        The time elapsed since the last frame in seconds.

      Returns void