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

    Class BehaviorAbstract

    Base class for all behaviors attached to an Object3D.

    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

    • Called every frame to update the behavior logic.

      Parameters

      • deltaTime: number

        The time elapsed since the last frame in seconds.

      Returns void