Wactorz JS
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    info: AgentInfo
    isMainWactor: boolean

    Whether this node is pinned at the scene origin (main actor).

    mesh: Mesh

    The primary 3D mesh representing this agent.

    onClick: ((agent: AgentInfo) => void) | null = null

    Callback fired when the user clicks this node.

    scene: Scene
    velocity: Velocity3 = ...

    Layout velocity (mutated each frame by GraphTheme).

    Accessors

    Methods

    • Create a floating name label above the mesh. Call from subclass constructors after this.mesh is assigned.

      Parameters

      • yOffset: number = 0.8

        Distance above the mesh centre (default 0.8).

      Returns void