Uses of Class
com.jme.math.Vector2f

Packages that use Vector2f
com.jme.effects   
com.jme.math   
com.jme.scene   
com.jme.scene.lod   
com.jme.scene.model   
com.jme.scene.model.XMLparser.Converters   
com.jme.scene.shape   
com.jme.system   
com.jme.system.lwjgl   
com.jme.terrain   
com.jme.util.geom   
com.jme.widget   
com.jme.widget.bounds   
com.jme.widget.button   
com.jme.widget.font   
com.jme.widget.image   
com.jme.widget.layout   
com.jme.widget.panel.rollout   
com.jme.widget.scroller   
com.jme.widget.text   
 

Uses of Vector2f in com.jme.effects
 

Methods in com.jme.effects that return Vector2f
 Vector2f LensFlare.getMidPoint()
          Get the flare's reference midpoint, usually the center of the screen.
 

Methods in com.jme.effects with parameters of type Vector2f
 void LensFlare.setMidPoint(Vector2f midPoint)
          Set the flare's reference midpoint, the center of the screen by default.
 void FlareQuad.updatePosition(Vector3f flarePoint, Vector2f midPoint)
          Updates worldTranslation of this FlareQuad.
 

Uses of Vector2f in com.jme.math
 

Methods in com.jme.math that return Vector2f
 Vector2f Vector2f.set(float x, float y)
          set the x and y values of the vector
 Vector2f Vector2f.set(Vector2f vec)
          set the x and y values of the vector from another vector
 Vector2f Vector2f.add(Vector2f vec)
          add adds a provided vector to this vector creating a resultant vector which is returned.
 Vector2f Vector2f.addLocal(Vector2f vec)
          addLocal adds a provided vector to this vector internally, and returns a handle to this vector for easy chaining of calls.
 Vector2f Vector2f.addLocal(float addX, float addY)
          addLocal adds the provided values to this vector internally, and returns a handle to this vector for easy chaining of calls.
 Vector2f Vector2f.add(Vector2f vec, Vector2f result)
          add adds this vector by vec and stores the result in result.
 Vector2f Vector2f.mult(float scalar)
          mult multiplies this vector by a scalar.
 Vector2f Vector2f.multLocal(float scalar)
          multLocal multiplies this vector by a scalar internally, and returns a handle to this vector for easy chaining of calls.
 Vector2f Vector2f.multLocal(Vector2f vec)
          multLocal multiplies a provided vector to this vector internally, and returns a handle to this vector for easy chaining of calls.
 Vector2f Vector2f.mult(float scalar, Vector2f product)
          Multiplies this Vector2f's x and y by the scalar and stores the result in product.
 Vector2f Vector2f.divide(float scalar)
          divide divides the values of this vector by a scalar and returns the result.
 Vector2f Vector2f.divideLocal(float scalar)
          divideLocal divides this vector by a scalar internally, and returns a handle to this vector for easy chaining of calls.
 Vector2f Vector2f.negate()
          negate returns the negative of this vector.
 Vector2f Vector2f.negateLocal()
          negateLocal negates the internal values of this vector.
 Vector2f Vector2f.subtract(Vector2f vec)
          subtract subtracts the values of a given vector from those of this vector creating a new vector object.
 Vector2f Vector2f.subtractLocal(Vector2f vec)
          subtractLocal subtracts a provided vector to this vector internally, and returns a handle to this vector for easy chaining of calls.
 Vector2f Vector2f.normalize()
          normalize returns the unit vector of this vector.
 Vector2f Vector2f.normalizeLocal()
          normalizeLocal makes this vector into a unit vector of itself.
 

Methods in com.jme.math with parameters of type Vector2f
 Vector2f Vector2f.set(Vector2f vec)
          set the x and y values of the vector from another vector
 Vector2f Vector2f.add(Vector2f vec)
          add adds a provided vector to this vector creating a resultant vector which is returned.
 Vector2f Vector2f.addLocal(Vector2f vec)
          addLocal adds a provided vector to this vector internally, and returns a handle to this vector for easy chaining of calls.
 Vector2f Vector2f.add(Vector2f vec, Vector2f result)
          add adds this vector by vec and stores the result in result.
 float Vector2f.dot(Vector2f vec)
          dot calculates the dot product of this vector with a provided vector.
 Vector3f Vector2f.cross(Vector2f v)
          cross calculates the cross product of this vector with a parameter vector v.
 void Vector2f.interpolate(Vector2f finalVec, float changeAmnt)
          Sets this vector to the interpolation by changeAmnt from this to the finalVec this=(1-changeAmnt)*this + changeAmnt * finalVec
 void Vector2f.interpolate(Vector2f beginVec, Vector2f finalVec, float changeAmnt)
          Sets this vector to the interpolation by changeAmnt from beginVec to finalVec this=(1-changeAmnt)*beginVec + changeAmnt * finalVec
 Vector2f Vector2f.multLocal(Vector2f vec)
          multLocal multiplies a provided vector to this vector internally, and returns a handle to this vector for easy chaining of calls.
 Vector2f Vector2f.mult(float scalar, Vector2f product)
          Multiplies this Vector2f's x and y by the scalar and stores the result in product.
 Vector2f Vector2f.subtract(Vector2f vec)
          subtract subtracts the values of a given vector from those of this vector creating a new vector object.
 Vector2f Vector2f.subtractLocal(Vector2f vec)
          subtractLocal subtracts a provided vector to this vector internally, and returns a handle to this vector for easy chaining of calls.
static int FastMath.ccw(Vector2f p0, Vector2f p1, Vector2f p2)
          Given 3 points in a 2d plane, this function computes if the points going from A-B-C are moving counter clock wise.
static int FastMath.pointInsideTriangle(Vector2f t0, Vector2f t1, Vector2f t2, Vector2f p)
          Test if a point is inside a triangle.
 

Constructors in com.jme.math with parameters of type Vector2f
Vector2f(Vector2f vector2f)
          Creates a new Vector2f that contains the passed vector's information
 

Uses of Vector2f in com.jme.scene
 

Fields in com.jme.scene declared as Vector2f
protected  Vector2f[][] Geometry.texture
          The geometry's per Texture per vertex texture coordinate information.
 

Methods in com.jme.scene that return Vector2f
 Vector2f[] Geometry.getTextures()
          getTextures retrieves the texture array that contains this geometry's texture information.
 Vector2f[] Geometry.getTextures(int textureUnit)
          getTextures retrieves the texture array that contains this geometry's texture information for a given texture unit.
 Vector2f[][] Geometry.getAllTextures()
          Returns the geometry's texture coordinate information.
 

Methods in com.jme.scene with parameters of type Vector2f
 void TriMesh.reconstruct(Vector3f[] vertices, Vector3f[] normal, ColorRGBA[] color, Vector2f[] texture, int[] indices)
          Recreates the geometric information of this TriMesh from scratch.
 void Geometry.reconstruct(Vector3f[] vertices, Vector3f[] normal, ColorRGBA[] color, Vector2f[] texture)
          reconstruct reinitializes the geometry with new data.
 void Geometry.setTextureCoord(int textureUnit, int index, Vector2f value)
          setTextureCoord sets a single coord into the texture array.
 void Geometry.setTextures(Vector2f[] texture)
          setTextures sets this geometry's texture array to a new array.
 void Geometry.setTextures(Vector2f[] textures, int textureUnit)
          setTextures sets the texture coordinates of a given texture unit.
 void Geometry.setTexture(int index, Vector2f value)
          setTexture sets a single texture coordinate into the texture array.
 void Geometry.setTexture(int index, Vector2f value, int textureUnit)
          setTexture sets a single texture coordinate into the texture array.
 void Geometry.setAllTextures(Vector2f[][] texture)
          Sets all texture coordinates to those defined in the given array of arrays.
 void CompositeMesh.reconstruct(Vector3f[] vertices, Vector3f[] normal, ColorRGBA[] color, Vector2f[] texture, int[] indices, CompositeMesh.IndexRange[] ranges)
          Recreates the geometric information of this CompositeMesh from scratch.
 

Constructors in com.jme.scene with parameters of type Vector2f
TriMesh(java.lang.String name, Vector3f[] vertices, Vector3f[] normal, ColorRGBA[] color, Vector2f[] texture, int[] indices)
          Constructor instantiates a new TriMesh object.
Point(java.lang.String name, Vector3f[] vertex, Vector3f[] normal, ColorRGBA[] color, Vector2f[] texture)
          Constructor instantiates a new Point object with a given set of data.
Line(java.lang.String name, Vector3f[] vertex, Vector3f[] normal, ColorRGBA[] color, Vector2f[] texture)
          Constructor instantiates a new Line object with a given set of data.
Geometry(java.lang.String name, Vector3f[] vertex, Vector3f[] normal, ColorRGBA[] color, Vector2f[] texture)
          Constructor creates a new Geometry object.
CompositeMesh(java.lang.String name, Vector3f[] vertices, Vector3f[] normal, ColorRGBA[] color, Vector2f[] texture, int[] indices, CompositeMesh.IndexRange[] ranges)
          Constructor instantiates a new CompositeMesh object.
 

Uses of Vector2f in com.jme.scene.lod
 

Constructors in com.jme.scene.lod with parameters of type Vector2f
ClodMesh(java.lang.String name, Vector3f[] vertices, Vector3f[] normal, ColorRGBA[] color, Vector2f[] texture, int[] indices, CollapseRecord[] records)
          Creates a clod mesh with the given information.
ClodCreator(Vector3f[] vertexArray, Vector3f[] normalArray, ColorRGBA[] colorArray, Vector2f[] textureArray, int[] indiceArray)
           
AreaClodMesh(java.lang.String name, Vector3f[] vertices, Vector3f[] normal, ColorRGBA[] color, Vector2f[] texture, int[] indices, CollapseRecord[] records)
          Creates a clod mesh with the given information.
 

Uses of Vector2f in com.jme.scene.model
 

Methods in com.jme.scene.model with parameters of type Vector2f
 void EmptyTriMesh.setTextures(Vector2f[] storageArray)
           
 

Uses of Vector2f in com.jme.scene.model.XMLparser.Converters
 

Methods in com.jme.scene.model.XMLparser.Converters with parameters of type Vector2f
 Vector3f DummyDisplaySystem.getWorldCoordinates(Vector2f screenPosition, float zPos)
           
 Vector3f DummyDisplaySystem.getWorldCoordinates(Vector2f screenPosition, float zPos, Vector3f store)
           
 

Uses of Vector2f in com.jme.scene.shape
 

Fields in com.jme.scene.shape declared as Vector2f
protected  Vector2f OrientedBox.texTopRight
          Texture coordintae values for the corners of the box.
protected  Vector2f OrientedBox.texTopLeft
          Texture coordintae values for the corners of the box.
protected  Vector2f OrientedBox.texBotRight
          Texture coordintae values for the corners of the box.
protected  Vector2f OrientedBox.texBotLeft
          Texture coordintae values for the corners of the box.
 

Uses of Vector2f in com.jme.system
 

Methods in com.jme.system with parameters of type Vector2f
abstract  Vector3f DisplaySystem.getWorldCoordinates(Vector2f screenPosition, float zPos)
          Translate screen to world coordinates.
abstract  Vector3f DisplaySystem.getWorldCoordinates(Vector2f screenPosition, float zPos, Vector3f store)
          Translate screen to world coordinates.
 

Uses of Vector2f in com.jme.system.lwjgl
 

Methods in com.jme.system.lwjgl with parameters of type Vector2f
 Vector3f LWJGLDisplaySystem.getWorldCoordinates(Vector2f screenPosition, float zPos)
          getWorldCoordinates translate screen to world coordinates.
 Vector3f LWJGLDisplaySystem.getWorldCoordinates(Vector2f screenPosition, float zPos, Vector3f store)
          getWorldCoordinates translate screen to world coordinates.
 

Uses of Vector2f in com.jme.terrain
 

Methods in com.jme.terrain that return Vector2f
 Vector2f TerrainPage.getOffset()
          Returns the current offset amount.
 Vector2f TerrainBlock.getOffset()
          Returns the current offset amount.
 

Methods in com.jme.terrain with parameters of type Vector2f
 float TerrainPage.getHeight(Vector2f position)
          getHeight returns the height of an arbitrary point on the terrain.
 void TerrainPage.setOffset(Vector2f offset)
          Sets the value for the current offset amount to use when building texture coordinates.
 float TerrainBlock.getHeight(Vector2f position)
          getHeight returns the height of an arbitrary point on the terrain.
 void TerrainBlock.setOffset(Vector2f offset)
          Sets the value for the current offset amount to use when building texture coordinates.
 

Constructors in com.jme.terrain with parameters of type Vector2f
TerrainPage(java.lang.String name, int blockSize, int size, Vector3f stepScale, int[] heightMap, boolean clod, int totalSize, Vector2f offset, int offsetAmount)
          Constructor instantiates a new TerrainPage object.
TerrainBlock(java.lang.String name, int size, Vector3f stepScale, int[] heightMap, Vector3f origin, boolean clod, int totalSize, Vector2f offset, int offsetAmount)
          Constructor instantiates a new TerrainBlock object.
 

Uses of Vector2f in com.jme.util.geom
 

Methods in com.jme.util.geom with parameters of type Vector2f
 void GeometryCreator.addTexCoord(Vector2f t)
           
 void GeometryCreator.addTexCoords(Vector2f[] t)
           
 

Uses of Vector2f in com.jme.widget
 

Fields in com.jme.widget declared as Vector2f
protected  Vector2f WidgetAbstractImpl.preferredSize
           
protected  Vector2f WidgetAbstractContainer.panOffset
           
 

Methods in com.jme.widget that return Vector2f
 Vector2f WidgetAbstractImpl.getLocation()
           
 Vector2f WidgetAbstractImpl.getSize()
           
 Vector2f WidgetAbstractImpl.getPreferredSize()
           
 Vector2f WidgetAbstractImpl.getAbsoluteLocation()
           
 Vector2f WidgetAbstractContainer.getPreferredSize()
           
 Vector2f WidgetAbstractContainer.getPanOffset()
           
 Vector2f WidgetAbstractContainer.getLocation()
           
 Vector2f WidgetAbstractContainer.getSize()
           
 Vector2f WidgetAbstractContainer.getAbsoluteLocation()
           
 Vector2f Widget.getLocation()
          getLocation
 Vector2f Widget.getSize()
          getSize
 Vector2f Widget.getPreferredSize()
          getPreferredSize
 Vector2f Widget.getAbsoluteLocation()
          getAbsoluteLocation
 

Methods in com.jme.widget with parameters of type Vector2f
 void WidgetAbstractImpl.setLocation(Vector2f at)
           
 void WidgetAbstractImpl.setSize(Vector2f size)
           
 void WidgetAbstractImpl.setPreferredSize(Vector2f size)
           
protected  void WidgetAbstractImpl.alignCenter(Vector2f size, WidgetInsets insets)
           
protected  void WidgetAbstractImpl.alignWest(Vector2f size, WidgetInsets insets)
           
protected  void WidgetAbstractImpl.alignEast(Vector2f size, WidgetInsets insets)
           
protected  void WidgetAbstractImpl.alignNorth(Vector2f size, WidgetInsets insets)
           
protected  void WidgetAbstractImpl.alignSouth(Vector2f size, WidgetInsets insets)
           
 void WidgetAbstractImpl.doAlignment(Vector2f size, WidgetInsets insets)
           
 void WidgetAbstractContainer.setPanOffset(Vector2f l)
           
 void WidgetAbstractContainer.setLocation(Vector2f at)
           
 void WidgetAbstractContainer.setSize(Vector2f size)
           
 void WidgetAbstractContainer.setPreferredSize(Vector2f size)
           
 void WidgetAbstractContainer.doAlignment(Vector2f size, WidgetInsets insets)
           
 void Widget.setLocation(Vector2f at)
          setLocation
 void Widget.setSize(Vector2f size)
          setSize
 void Widget.setPreferredSize(Vector2f size)
          setPreferredSize
 void Widget.doAlignment(Vector2f size, WidgetInsets insets)
          doAlignment
 

Uses of Vector2f in com.jme.widget.bounds
 

Fields in com.jme.widget.bounds declared as Vector2f
protected  Vector2f WidgetViewRectangle.offset
           
protected  Vector2f WidgetBoundingRectangle.min
           
protected  Vector2f WidgetBoundingRectangle.max
           
protected  Vector2f WidgetBoundingRectangle.center
           
protected  Vector2f[] WidgetBoundingRectangle.points
           
 

Methods in com.jme.widget.bounds that return Vector2f
 Vector2f WidgetViewRectangle.getOffset()
           
 Vector2f WidgetBoundingRectangle.getMin()
           
 Vector2f WidgetBoundingRectangle.getMax()
           
 Vector2f WidgetBoundingRectangle.getCenter()
           
 Vector2f WidgetBoundingRectangle.getSize()
           
 

Methods in com.jme.widget.bounds with parameters of type Vector2f
 void WidgetViewRectangle.setOffset(Vector2f o)
           
 void WidgetBoundingRectangle.computeFromPoints(Vector2f[] points)
          computeFromPoints creates a new BoundingBox from a given set of points.
 void WidgetBoundingRectangle.axisAligned(Vector2f[] points)
          axisAligned creates a minimal box around all supplied points.
 void WidgetBoundingRectangle.setMin(Vector2f min)
           
 void WidgetBoundingRectangle.setMinPreserveSize(Vector2f at)
           
 void WidgetBoundingRectangle.setMax(Vector2f max)
           
 void WidgetBoundingRectangle.setSize(Vector2f size)
           
 

Constructors in com.jme.widget.bounds with parameters of type Vector2f
WidgetViewRectangle(Vector2f min, Vector2f max, Vector2f center)
           
WidgetBoundingRectangle(Vector2f min, Vector2f max, Vector2f center)
          Constructor instantiates a new BoundingBox object.
 

Uses of Vector2f in com.jme.widget.button
 

Methods in com.jme.widget.button that return Vector2f
 Vector2f WidgetImageButton.getPreferredSize()
          Needed by the AbsoluteLayout to figure out how big to draw it.
 

Uses of Vector2f in com.jme.widget.font
 

Methods in com.jme.widget.font that return Vector2f
 Vector2f WidgetFont.getStringSize(java.lang.String text)
           
 Vector2f WidgetAbstractFont.getStringSize(java.lang.String text)
           
 

Uses of Vector2f in com.jme.widget.image
 

Methods in com.jme.widget.image that return Vector2f
 Vector2f WidgetImage.getPreferredSize()
           
 

Methods in com.jme.widget.image with parameters of type Vector2f
 void WidgetImage.setSize(Vector2f size)
           
 void WidgetImage.setPreferredSize(Vector2f size)
           
protected  void WidgetImage.alignCenter(Vector2f size, WidgetInsets insets)
           
protected  void WidgetImage.alignWest(Vector2f size, WidgetInsets insets)
           
protected  void WidgetImage.alignEast(Vector2f size, WidgetInsets insets)
           
protected  void WidgetImage.alignNorth(Vector2f size, WidgetInsets insets)
           
protected  void WidgetImage.alignSouth(Vector2f size, WidgetInsets insets)
           
 void WidgetImage.setLocation(Vector2f at)
           
 

Uses of Vector2f in com.jme.widget.layout
 

Fields in com.jme.widget.layout declared as Vector2f
protected  Vector2f WidgetLayoutManager.maximumSize
           
 

Methods in com.jme.widget.layout that return Vector2f
abstract  Vector2f WidgetLayoutManager2.maximumLayoutSize(WidgetAbstractContainer target)
           
abstract  Vector2f WidgetLayoutManager.preferredLayoutSize(WidgetAbstractContainer parent)
           
 Vector2f WidgetLayoutManager.getMaximumSize()
           
 Vector2f WidgetGridLayout.preferredLayoutSize(WidgetAbstractContainer parent)
           
 Vector2f WidgetFlowLayout.preferredLayoutSize(WidgetAbstractContainer parent)
          preferredLayoutSize
 Vector2f WidgetBorderLayout.preferredLayoutSize(WidgetAbstractContainer parent)
           
 Vector2f WidgetBorderLayout.minimumLayoutSize(WidgetAbstractContainer parent)
           
 Vector2f WidgetBorderLayout.maximumLayoutSize(WidgetAbstractContainer target)
           
 Vector2f WidgetAbsoluteLayout.preferredLayoutSize(WidgetAbstractContainer parent)
           
 Vector2f WidgetAbsoluteLayout.minimumLayoutSize(WidgetAbstractContainer parent)
           
 

Uses of Vector2f in com.jme.widget.panel.rollout
 

Methods in com.jme.widget.panel.rollout that return Vector2f
 Vector2f WidgetRolloutPanel.getPreferredSize()
           
 

Methods in com.jme.widget.panel.rollout with parameters of type Vector2f
 void WidgetRolloutPanel.setSize(Vector2f size)
           
 

Uses of Vector2f in com.jme.widget.scroller
 

Fields in com.jme.widget.scroller declared as Vector2f
protected  Vector2f WidgetScrollerThumb.preferredSize
           
 

Methods in com.jme.widget.scroller that return Vector2f
 Vector2f WidgetScrollerThumb.getPreferredSize()
           
 Vector2f WidgetScrollerButton.getPreferredSize()
           
 

Methods in com.jme.widget.scroller with parameters of type Vector2f
 void WidgetScrollerThumbTray.setSize(Vector2f size)
          setSize
 void WidgetScrollerThumb.setPreferredSize(Vector2f size)
           
 

Uses of Vector2f in com.jme.widget.text
 

Methods in com.jme.widget.text with parameters of type Vector2f
 void WidgetText.setSize(Vector2f size)
           
 void WidgetText.setPreferredSize(Vector2f size)
           
 void WidgetText.setLocation(Vector2f at)