|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Vector4f | |
---|---|
com.jme3.material | The com.jme3.material package contains classes for manipulating
jMonkeyEngine materials. |
com.jme3.math | The com.jme3.math package provides mathematic data structures
and utilities which are used by the rest of the engine. |
com.jme3.scene.shape | |
com.jme3.util |
Uses of Vector4f in com.jme3.material |
---|
Methods in com.jme3.material with parameters of type Vector4f | |
---|---|
void |
Material.setVector4(java.lang.String name,
Vector4f value)
Pass a Vector4f to the material shader. |
Uses of Vector4f in com.jme3.math |
---|
Fields in com.jme3.math declared as Vector4f | |
---|---|
static Vector4f |
Vector4f.NAN
|
static Vector4f |
Vector4f.NEGATIVE_INFINITY
|
static Vector4f |
Vector4f.POSITIVE_INFINITY
|
static Vector4f |
Vector4f.UNIT_W
|
static Vector4f |
Vector4f.UNIT_X
|
static Vector4f |
Vector4f.UNIT_XYZW
|
static Vector4f |
Vector4f.UNIT_Y
|
static Vector4f |
Vector4f.UNIT_Z
|
static Vector4f |
Vector4f.ZERO
|
Methods in com.jme3.math that return Vector4f | |
---|---|
Vector4f |
Vector4f.add(float addX,
float addY,
float addZ,
float addW)
add adds the provided values to this vector, creating a
new vector that is then returned. |
Vector4f |
Vector4f.add(Vector4f vec)
add adds a provided vector to this vector creating a
resultant vector which is returned. |
Vector4f |
Vector4f.add(Vector4f vec,
Vector4f result)
add adds the values of a provided vector storing the
values in the supplied vector. |
Vector4f |
Vector4f.addLocal(float addX,
float addY,
float addZ,
float addW)
addLocal adds the provided values to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Vector4f.addLocal(Vector4f vec)
addLocal adds a provided vector to this vector internally,
and returns a handle to this vector for easy chaining of calls. |
Vector4f |
Vector4f.clone()
|
Vector4f |
Vector4f.divide(float scalar)
divide divides the values of this vector by a scalar and
returns the result. |
Vector4f |
Vector4f.divide(Vector4f scalar)
divide divides the values of this vector by a scalar and
returns the result. |
Vector4f |
Vector4f.divideLocal(float scalar)
divideLocal divides this vector by a scalar internally,
and returns a handle to this vector for easy chaining of calls. |
Vector4f |
Vector4f.divideLocal(Vector4f scalar)
divideLocal divides this vector by a scalar internally,
and returns a handle to this vector for easy chaining of calls. |
Vector4f |
Vector4f.interpolate(Vector4f finalVec,
float changeAmnt)
Sets this vector to the interpolation by changeAmnt from this to the finalVec this=(1-changeAmnt)*this + changeAmnt * finalVec |
Vector4f |
Vector4f.interpolate(Vector4f beginVec,
Vector4f finalVec,
float changeAmnt)
Sets this vector to the interpolation by changeAmnt from beginVec to finalVec this=(1-changeAmnt)*beginVec + changeAmnt * finalVec |
Vector4f |
Vector4f.mult(float scalar)
mult multiplies this vector by a scalar. |
Vector4f |
Vector4f.mult(float scalar,
Vector4f product)
mult multiplies this vector by a scalar. |
Vector4f |
Matrix4f.mult(Vector4f vec)
mult multiplies a Vector4f about a rotation
matrix. |
Vector4f |
Vector4f.mult(Vector4f vec)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Matrix4f.mult(Vector4f vec,
Vector4f store)
mult multiplies a Vector4f about a rotation
matrix. |
Vector4f |
Vector4f.mult(Vector4f vec,
Vector4f store)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Matrix4f.multAcross(Vector4f vec)
mult multiplies a vector about a rotation matrix. |
Vector4f |
Matrix4f.multAcross(Vector4f vec,
Vector4f store)
mult multiplies a vector about a rotation matrix. |
Vector4f |
Vector4f.multLocal(float scalar)
multLocal multiplies this vector by a scalar internally,
and returns a handle to this vector for easy chaining of calls. |
Vector4f |
Vector4f.multLocal(float x,
float y,
float z,
float w)
multLocal multiplies this vector by 3 scalars
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Vector4f.multLocal(Vector4f vec)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Vector4f.negate()
negate returns the negative of this vector. |
Vector4f |
Vector4f.negateLocal()
negateLocal negates the internal values of this vector. |
Vector4f |
Vector4f.normalize()
normalize returns the unit vector of this vector. |
Vector4f |
Vector4f.normalizeLocal()
normalizeLocal makes this vector into a unit vector of
itself. |
Vector4f |
Vector4f.project(Vector4f other)
|
Vector4f |
Vector4f.scaleAdd(float scalar,
Vector4f add)
scaleAdd multiplies this vector by a scalar then adds the
given Vector3f. |
Vector4f |
Vector4f.scaleAdd(float scalar,
Vector4f mult,
Vector4f add)
scaleAdd multiplies the given vector by a scalar then adds
the given vector. |
Vector4f |
Vector4f.set(float x,
float y,
float z,
float w)
set sets the x,y,z,w values of the vector based on passed
parameters. |
Vector4f |
Vector4f.set(Vector4f vect)
set sets the x,y,z values of the vector by copying the
supplied vector. |
Vector4f |
Vector4f.setW(float w)
|
Vector4f |
Vector4f.setX(float x)
|
Vector4f |
Vector4f.setY(float y)
|
Vector4f |
Vector4f.setZ(float z)
|
Vector4f |
Vector4f.subtract(float subtractX,
float subtractY,
float subtractZ,
float subtractW)
subtract subtracts the provided values from this vector,
creating a new vector that is then returned. |
Vector4f |
Vector4f.subtract(Vector4f vec)
subtract subtracts the values of a given vector from those
of this vector creating a new vector object. |
Vector4f |
Vector4f.subtract(Vector4f vec,
Vector4f result)
subtract |
Vector4f |
Vector4f.subtractLocal(float subtractX,
float subtractY,
float subtractZ,
float subtractW)
subtractLocal subtracts the provided values from this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Vector4f.subtractLocal(Vector4f vec)
subtractLocal subtracts a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
ColorRGBA.toVector4f()
Transform the current ColorRGBA to a Vector4f using x = r, y = g, z = b, w = a. |
Vector4f |
Vector4f.zero()
zero resets this vector's data to zero internally. |
Methods in com.jme3.math with parameters of type Vector4f | |
---|---|
Vector4f |
Vector4f.add(Vector4f vec)
add adds a provided vector to this vector creating a
resultant vector which is returned. |
Vector4f |
Vector4f.add(Vector4f vec,
Vector4f result)
add adds the values of a provided vector storing the
values in the supplied vector. |
Vector4f |
Vector4f.addLocal(Vector4f vec)
addLocal adds a provided vector to this vector internally,
and returns a handle to this vector for easy chaining of calls. |
float |
Vector4f.angleBetween(Vector4f otherVector)
angleBetween returns (in radians) the angle between two vectors. |
float |
Vector4f.distance(Vector4f v)
distance calculates the distance between this vector and
vector v. |
float |
Vector4f.distanceSquared(Vector4f v)
distanceSquared calculates the distance squared between
this vector and vector v. |
Vector4f |
Vector4f.divide(Vector4f scalar)
divide divides the values of this vector by a scalar and
returns the result. |
Vector4f |
Vector4f.divideLocal(Vector4f scalar)
divideLocal divides this vector by a scalar internally,
and returns a handle to this vector for easy chaining of calls. |
float |
Vector4f.dot(Vector4f vec)
dot calculates the dot product of this vector with a
provided vector. |
Vector4f |
Vector4f.interpolate(Vector4f finalVec,
float changeAmnt)
Sets this vector to the interpolation by changeAmnt from this to the finalVec this=(1-changeAmnt)*this + changeAmnt * finalVec |
Vector4f |
Vector4f.interpolate(Vector4f beginVec,
Vector4f finalVec,
float changeAmnt)
Sets this vector to the interpolation by changeAmnt from beginVec to finalVec this=(1-changeAmnt)*beginVec + changeAmnt * finalVec |
static boolean |
Vector4f.isValidVector(Vector4f vector)
Check a vector... |
void |
Vector4f.maxLocal(Vector4f other)
maxLocal computes the maximum value for each
component in this and other vector. |
void |
Vector4f.minLocal(Vector4f other)
minLocal computes the minimum value for each
component in this and other vector. |
Vector4f |
Vector4f.mult(float scalar,
Vector4f product)
mult multiplies this vector by a scalar. |
Vector4f |
Matrix4f.mult(Vector4f vec)
mult multiplies a Vector4f about a rotation
matrix. |
Vector4f |
Vector4f.mult(Vector4f vec)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Matrix4f.mult(Vector4f vec,
Vector4f store)
mult multiplies a Vector4f about a rotation
matrix. |
Vector4f |
Vector4f.mult(Vector4f vec,
Vector4f store)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Matrix4f.multAcross(Vector4f vec)
mult multiplies a vector about a rotation matrix. |
Vector4f |
Matrix4f.multAcross(Vector4f vec,
Vector4f store)
mult multiplies a vector about a rotation matrix. |
Vector4f |
Vector4f.multLocal(Vector4f vec)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Vector4f.project(Vector4f other)
|
Vector4f |
Vector4f.scaleAdd(float scalar,
Vector4f add)
scaleAdd multiplies this vector by a scalar then adds the
given Vector3f. |
Vector4f |
Vector4f.scaleAdd(float scalar,
Vector4f mult,
Vector4f add)
scaleAdd multiplies the given vector by a scalar then adds
the given vector. |
Vector4f |
Vector4f.set(Vector4f vect)
set sets the x,y,z values of the vector by copying the
supplied vector. |
Vector4f |
Vector4f.subtract(Vector4f vec)
subtract subtracts the values of a given vector from those
of this vector creating a new vector object. |
Vector4f |
Vector4f.subtract(Vector4f vec,
Vector4f result)
subtract |
Vector4f |
Vector4f.subtractLocal(Vector4f vec)
subtractLocal subtracts a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Method parameters in com.jme3.math with type arguments of type Vector4f | |
---|---|
static void |
CurveAndSurfaceMath.interpolate(float u,
float v,
java.util.List<java.util.List<Vector4f>> controlPoints,
java.util.List<java.lang.Float>[] knots,
int basisUFunctionDegree,
int basisVFunctionDegree,
Vector3f store)
This method interpolates tha data for the nurbs surface. |
Constructors in com.jme3.math with parameters of type Vector4f | |
---|---|
Vector4f(Vector4f copy)
Constructor instantiates a new Vector3f that is a copy
of the provided vector |
Constructor parameters in com.jme3.math with type arguments of type Vector4f | |
---|---|
Spline(java.util.List<Vector4f> controlPoints,
java.util.List<java.lang.Float> nurbKnots)
Create a NURBS spline. |
Uses of Vector4f in com.jme3.scene.shape |
---|
Methods in com.jme3.scene.shape that return types with arguments of type Vector4f | |
---|---|
java.util.List<java.util.List<Vector4f>> |
Surface.getControlPoints()
|
Method parameters in com.jme3.scene.shape with type arguments of type Vector4f | |
---|---|
static Surface |
Surface.createNurbsSurface(java.util.List<java.util.List<Vector4f>> controlPoints,
java.util.List<java.lang.Float>[] nurbKnots,
int uSegments,
int vSegments,
int basisUFunctionDegree,
int basisVFunctionDegree)
This method creates a NURBS surface. |
Uses of Vector4f in com.jme3.util |
---|
Fields in com.jme3.util declared as Vector4f | |
---|---|
Vector4f |
TempVars.vect4f
|
Methods in com.jme3.util with parameters of type Vector4f | |
---|---|
static java.nio.FloatBuffer |
BufferUtils.createFloatBuffer(Vector4f... data)
Generate a new FloatBuffer using the given array of Vector4 objects. |
static void |
BufferUtils.setInBuffer(Vector4f vec,
java.nio.FloatBuffer buf,
int index)
Sets the data contained in the given vector4 into the FloatBuffer at the specified index. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |