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

    Class DraggableBehavior

    Allows an object to be dragged around in 3D space. Dragging happens on a plane parallel to the camera view.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

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

    The object this behavior is attached to. Set automatically.

    uuid: string = ...
    inspector?: Record<string, InspectorField>

    Methods