|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Vector2f in com.jme.math |
---|
Methods in com.jme.math that return Vector2f | |
---|---|
Vector2f |
Vector2f.add(Vector2f vec)
add adds a provided vector to this vector creating a
resultant vector which is returned. |
Vector2f |
Vector2f.add(Vector2f vec,
Vector2f result)
add adds this vector by vec and stores the
result in result . |
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.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.clone()
|
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.mult(float scalar)
mult multiplies this vector by a scalar. |
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.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.negate()
negate returns the negative of this vector. |
Vector2f |
Vector2f.negateLocal()
negateLocal negates the internal values of this vector. |
Vector2f |
Vector2f.normalize()
normalize returns the unit vector of this vector. |
Vector2f |
Vector2f.normalizeLocal()
normalizeLocal makes this vector into a unit vector of
itself. |
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.subtract(float valX,
float valY)
subtract subtracts the given x,y values from those of this
vector creating a new vector object. |
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.subtract(Vector2f vec,
Vector2f store)
subtract subtracts the values of a given vector from those
of this vector storing the result in the given vector object. |
Vector2f |
Vector2f.subtractLocal(float valX,
float valY)
subtractLocal subtracts the provided values from this
vector internally, and returns a handle to this vector for easy chaining
of calls. |
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. |
Methods in com.jme.math that return types with arguments of type Vector2f | |
---|---|
java.lang.Class<? extends Vector2f> |
Vector2f.getClassTag()
|
Methods in com.jme.math with parameters of type Vector2f | |
---|---|
Vector2f |
Vector2f.add(Vector2f vec)
add adds a provided vector to this vector creating a
resultant vector which is returned. |
Vector2f |
Vector2f.add(Vector2f vec,
Vector2f result)
add adds this vector by vec and stores the
result in result . |
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. |
float |
Vector2f.angleBetween(Vector2f otherVector)
angleBetween returns (in radians) the angle required to
rotate a ray represented by this vector to lie colinear to a ray
described by the given vector. |
static int |
FastMath.counterClockwise(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. |
Vector3f |
Vector2f.cross(Vector2f v)
cross calculates the cross product of this vector with a
parameter vector v. |
float |
Vector2f.determinant(Vector2f v)
|
float |
Vector2f.distance(Vector2f v)
distance calculates the distance between this vector and
vector v. |
float |
Vector2f.distanceSquared(Vector2f v)
distanceSquared calculates the distance squared between
this vector and vector v. |
float |
Vector2f.dot(Vector2f vec)
dot calculates the dot product of this vector with a
provided vector. |
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 |
static boolean |
Vector2f.isValidVector(Vector2f vector)
Check a vector... |
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.multLocal(Vector2f vec)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
static int |
FastMath.pointInsideTriangle(Vector2f t0,
Vector2f t1,
Vector2f t2,
Vector2f p)
Test if a point is inside a triangle. |
Vector2f |
Vector2f.set(Vector2f vec)
set the x and y values of the vector from another vector |
float |
Vector2f.smallestAngleBetween(Vector2f otherVector)
smallestAngleBetween returns (in radians) the minimum
angle between two vectors. |
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.subtract(Vector2f vec,
Vector2f store)
subtract subtracts the values of a given vector from those
of this vector storing the result in the given 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. |
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.renderer |
---|
Methods in com.jme.renderer with parameters of type Vector2f | |
---|---|
Vector3f |
AbstractCamera.getWorldCoordinates(Vector2f screenPos,
float zPos)
|
Vector3f |
Camera.getWorldCoordinates(Vector2f screenPosition,
float zPos)
Convert screen to world coordinates. |
Vector3f |
AbstractCamera.getWorldCoordinates(Vector2f screenPosition,
float zPos,
Vector3f store)
|
Vector3f |
Camera.getWorldCoordinates(Vector2f screenPosition,
float zPos,
Vector3f store)
Convert screen to world coordinates. |
Uses of Vector2f in com.jme.scene |
---|
Methods in com.jme.scene with parameters of type Vector2f | |
---|---|
static TexCoords |
TexCoords.makeNew(Vector2f[] coords)
|
void |
Geometry.scaleTextureCoordinates(int index,
Vector2f factor)
|
Constructors in com.jme.scene with parameters of type Vector2f | |
---|---|
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. |
|
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. |
Uses of Vector2f in com.jme.scene.shape |
---|
Fields in com.jme.scene.shape declared as Vector2f | |
---|---|
protected Vector2f |
OrientedBox.texBotLeft
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.texTopLeft
Texture coordintae values for the corners of the box. |
protected Vector2f |
OrientedBox.texTopRight
Texture coordintae values for the corners of the box. |
Methods in com.jme.scene.shape with parameters of type Vector2f | |
---|---|
void |
OrientedBox.updateGeometry(Vector3f center,
Vector2f topRight,
Vector2f topLeft,
Vector2f bottomRight,
Vector2f bottomLeft)
|
Constructors in com.jme.scene.shape with parameters of type Vector2f | |
---|---|
OrientedBox(java.lang.String name,
Vector3f center,
Vector2f topRight,
Vector2f topLeft,
Vector2f bottomRight,
Vector2f bottomLeft)
Create a new oriented box. |
Uses of Vector2f in com.jme.scene.state |
---|
Methods in com.jme.scene.state with parameters of type Vector2f | |
---|---|
void |
GLSLShaderObjectsState.setUniform(java.lang.String name,
Vector2f value)
Set an uniform value for this shader object. |
Uses of Vector2f in com.jme.system |
---|
Methods in com.jme.system with parameters of type Vector2f | |
---|---|
Ray |
DisplaySystem.getPickRay(Vector2f screenPosition,
boolean flipVertical,
Ray store)
Generate a pick ray from a 2d screen point. |
Vector3f |
DisplaySystem.getWorldCoordinates(Vector2f screenPosition,
float zPos)
Translate screen to world coordinates. |
Vector3f |
DisplaySystem.getWorldCoordinates(Vector2f screenPosition,
float zPos,
Vector3f store)
Translate screen to world coordinates. |
Uses of Vector2f in com.jme.system.dummy |
---|
Methods in com.jme.system.dummy with parameters of type Vector2f | |
---|---|
Vector3f |
DummyDisplaySystem.getWorldCoordinates(Vector2f screenPosition,
float zPos,
Vector3f store)
|
Uses of Vector2f in com.jme.util.geom |
---|
Fields in com.jme.util.geom declared as Vector2f | |
---|---|
Vector2f[] |
VertexData.texCoords
|
Methods in com.jme.util.geom that return Vector2f | |
---|---|
static Vector2f[] |
BufferUtils.getVector2Array(java.nio.FloatBuffer buff)
Generates a Vector2f array from the given FloatBuffer. |
Methods in com.jme.util.geom with parameters of type Vector2f | |
---|---|
static void |
BufferUtils.addInBuffer(Vector2f toAdd,
java.nio.FloatBuffer buf,
int index)
Add to a Vector2f in-buffer. |
static java.nio.FloatBuffer |
BufferUtils.createFloatBuffer(Vector2f... data)
Generate a new FloatBuffer using the given array of Vector2f objects. |
static boolean |
BufferUtils.equals(Vector2f check,
java.nio.FloatBuffer buf,
int index)
Checks to see if the given Vector2f is equals to the data stored in the buffer at the given data index. |
static void |
BufferUtils.multInBuffer(Vector2f toMult,
java.nio.FloatBuffer buf,
int index)
Multiply and store a Vector2f in-buffer. |
static void |
BufferUtils.populateFromBuffer(Vector2f vector,
java.nio.FloatBuffer buf,
int index)
Updates the values of the given vector from the specified buffer at the index provided. |
static void |
BufferUtils.setInBuffer(Vector2f vector,
java.nio.FloatBuffer buf,
int index)
Sets the data contained in the given Vector2F into the FloatBuffer at the specified index. |
Constructors in com.jme.util.geom with parameters of type Vector2f | |
---|---|
VertKey(Vector3f vert,
Vector3f norm,
ColorRGBA color,
Vector2f[] texs,
int options)
|
Uses of Vector2f in com.jmex.awt.swingui |
---|
Methods in com.jmex.awt.swingui with parameters of type Vector2f | |
---|---|
void |
JMEDesktop.convert(int x,
int y,
Vector2f store)
Convert mouse coordinates from jME screen to JMEDesktop coordinates (Swing). |
Uses of Vector2f in com.jmex.editors.swing.widget |
---|
Methods in com.jmex.editors.swing.widget that return Vector2f | |
---|---|
Vector2f |
Vector2fPanel.getValue()
|
Methods in com.jmex.editors.swing.widget with parameters of type Vector2f | |
---|---|
void |
Vector2fPanel.setValue(Vector2f value)
|
Uses of Vector2f in com.jmex.effects |
---|
Fields in com.jmex.effects declared as Vector2f | |
---|---|
(package private) Vector2f |
FlareQuad.positionPercent
|
Methods in com.jmex.effects that return Vector2f | |
---|---|
Vector2f |
LensFlare.getMidPoint()
Get the flare's reference midpoint, usually the center of the screen. |
Methods in com.jmex.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.jmex.effects.particles |
---|
Fields in com.jmex.effects.particles declared as Vector2f | |
---|---|
protected static Vector2f |
ParticleSystem.workVect2
|
Uses of Vector2f in com.jmex.effects.water |
---|
Methods in com.jmex.effects.water with parameters of type Vector2f | |
---|---|
Vector3f |
ProjectedGrid.getSurfaceNormal(Vector2f position,
Vector3f store)
getSurfaceNormal returns the normal of an arbitrary point
on the terrain. |
Uses of Vector2f in com.jmex.model.converters.maxutils |
---|
Fields in com.jmex.model.converters.maxutils declared as Vector2f | |
---|---|
(package private) Vector2f[] |
TriMeshChunk.texCoords
|
Uses of Vector2f in com.jmex.terrain |
---|
Methods in com.jmex.terrain that return Vector2f | |
---|---|
Vector2f |
TerrainBlock.getOffset()
Returns the current offset amount. |
Vector2f |
TerrainPage.getOffset()
Returns the current offset amount. |
Methods in com.jmex.terrain with parameters of type Vector2f | |
---|---|
float |
TerrainBlock.getHeight(Vector2f position)
getHeight returns the height of an arbitrary point on the
terrain. |
float |
TerrainPage.getHeight(Vector2f position)
getHeight returns the height of an arbitrary point on the
terrain. |
Vector3f |
TerrainBlock.getSurfaceNormal(Vector2f position,
Vector3f store)
getSurfaceNormal returns the normal of an arbitrary point
on the terrain. |
Vector3f |
TerrainPage.getSurfaceNormal(Vector2f position,
Vector3f store)
getSurfaceNormal returns the normal 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. |
void |
TerrainPage.setOffset(Vector2f offset)
Sets the value for the current offset amount to use when building texture coordinates. |
Constructors in com.jmex.terrain with parameters of type Vector2f | |
---|---|
TerrainBlock(java.lang.String name,
int size,
Vector3f stepScale,
float[] heightMap,
Vector3f origin,
int totalSize,
Vector2f offset,
float offsetAmount)
Constructor instantiates a new TerrainBlock object. |
|
TerrainPage(java.lang.String name,
int blockSize,
int size,
Vector3f stepScale,
float[] heightMap,
int totalSize,
Vector2f offset,
float offsetAmount)
Constructor instantiates a new TerrainPage object. |
Uses of Vector2f in com.jmex.terrain.util |
---|
Fields in com.jmex.terrain.util declared as Vector2f | |
---|---|
protected Vector2f |
AbstractBresenhamTracer._gridLocation
|
Methods in com.jmex.terrain.util that return Vector2f | |
---|---|
Vector2f |
AbstractBresenhamTracer.getGridLocation()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |