Class Arrow

java.lang.Object
com.jme3.scene.Mesh
com.jme3.scene.debug.Arrow
All Implemented Interfaces:
Savable, JmeCloneable, Cloneable

public class Arrow extends Mesh
The Arrow debug shape represents an arrow. An arrow is simply a line going from the original toward an extent and at the tip there will be triangle-like shape.
  • Constructor Details

    • Arrow

      protected Arrow()
      Serialization only. Do not use.
    • Arrow

      public Arrow(Vector3f extent)
      Creates an arrow mesh with the given extent. The arrow will start at the origin (0,0,0) and finish at the given extent.
      Parameters:
      extent - Extent of the arrow from origin
  • Method Details

    • setArrowExtent

      public void setArrowExtent(Vector3f extent)
      Sets the arrow's extent. This will modify the buffers on the mesh.
      Parameters:
      extent - the arrow's extent.