java.lang.Object
com.j3d.engine.interact.cmd.base.Command
com.j3d.engine.interact.cmd.commands.camera.CameraCmd

public class CameraCmd extends Command
A command that groups all camera-related subcommands.

This command acts as a dispatcher for various camera operations such as orbiting, looking at specific objects, or teleporting the camera. It provides a central point for managing camera interactions within the engine.

Typical Usage:


     camera orbit <args>
     c orbit <args>
     camera lookat <args>
     v teleport <args>
     

Author:
Lehlogonolo Poole
See Also:
  • Constructor Details

    • CameraCmd

      public CameraCmd()
  • Method Details

    • run

      public void run(Invoker invoker, SafeJLabel logLabel, String aliasUsed, Object[] args, ArrayList<TaggedArgValue<?>> taggedArgs)
      Description copied from class: Command
      The method to be overridden by subclasses to implement command functionality.
      Overrides:
      run in class Command
      Parameters:
      invoker - The invoker of this command
      logLabel - The JLabel to display log messages.
      aliasUsed - The alias of the command that was used to invoke it.
      args - The arguments passed to the command.
      taggedArgs - Tagged arguments passed to the command.