Modifier and Type | Field and Description |
---|---|
static Vector3 |
Vector3.ORIGIN
Gets the origin position.
|
static Vector3 |
Vector3.UNIT_SCALE
Gets the unit scale vector.
|
static Vector3 |
Vector3.X_AXIS
Gets the X axis.
|
static Vector3 |
Vector3.Y_AXIS
Gets the Y axis.
|
static Vector3 |
Vector3.Z_AXIS
Gets the Z axis.
|
Modifier and Type | Method and Description |
---|---|
static Vector3 |
Vector3.add(Vector3 lhs,
Vector3 rhs)
Operator overloading for +
|
Vector3 |
Vector3.clone() |
Vector3 |
Vector3.cos()
Calculates cosine on each component
|
Vector3 |
Vector3.cross(Vector3 rhs)
Cross product of two vectors
|
Vector3 |
Quaternion.eulerAngles()
Converts quaternion to rotation represented by euler angles
All components are in radian
|
Vector3 |
PbrMaterial.getAlbedo()
Gets the base color of the material
|
Vector3 |
LambertMaterial.getAmbientColor()
Gets the ambient color
|
Vector3 |
Light.getColor()
Gets the light's color
|
Vector3 |
LambertMaterial.getDiffuseColor()
Gets the diffuse color
|
Vector3 |
IOrientable.getDirection()
Gets the direction that the entity is looking at.
|
Vector3 |
Frustum.getDirection()
Gets the direction that the camera is looking at.
|
Vector3 |
PbrMaterial.getEmissiveColor()
Gets the emissive color
|
Vector3 |
LambertMaterial.getEmissiveColor()
Gets the emissive color
|
Vector3 |
Transform.getEulerAngles()
Gets the rotation represented in euler angles, measured in degree
|
Vector3 |
GlobalTransform.getEulerAngles()
Gets the rotation represented in euler angles, measured in degree
|
Vector3 |
Frustum.getLookAt()
Gets the the interested position that the camera is looking at.
|
Vector3 |
BoundingBox.getMaximum()
The maximum corner of the bounding box
|
Vector3 |
BoundingBox.getMinimum()
The minimum corner of the bounding box
|
Vector3 |
Transform.getPostRotation()
Gets the post-rotation represented in degree
|
Vector3 |
Transform.getPreRotation()
Gets the pre-rotation represented in degree
|
Vector3 |
PhongMaterial.getReflectionColor()
Gets the reflection color.
|
Vector3 |
Transform.getScale()
Gets the scale
|
Vector3 |
GlobalTransform.getScale()
Gets the scale
|
Vector3 |
Light.getShadowColor()
Gets the shadow's color.
|
Vector3 |
PhongMaterial.getSpecularColor()
Gets the specular color.
|
Vector3 |
Transform.getTranslation()
Gets the translation
|
Vector3 |
GlobalTransform.getTranslation()
Gets the translation
|
Vector3 |
LambertMaterial.getTransparentColor()
Gets the transparent color.
|
Vector3 |
Frustum.getUp()
Gets the up direction of the camera
|
Vector3 |
TextureBase.getUVRotation()
Gets the rotation of the texture
|
static Vector3 |
Vector3.mul(double lhs,
Vector3 rhs)
Operator overloading for *
|
static Vector3 |
Matrix4.mul(Matrix4 lhs,
Vector3 v)
Multiply the matrix and vector3
|
static Vector3 |
Quaternion.mul(Quaternion q,
Vector3 v)
Operator overloading for *
|
static Vector3 |
Vector3.mul(Vector3 lhs,
double rhs)
Operator overloading for *
|
static Vector3 |
Quaternion.mul(Vector3 v,
Quaternion q)
Operator overloading for *
|
static Vector3 |
Vector3.mul(Vector3 lhs,
Vector3 rhs)
Operator overloading for *
|
static Vector3 |
Vector3.negative(Vector3 v)
Operator overloading for -
|
Vector3 |
Vector3.normalize()
Normalizes this instance.
|
Vector3 |
Vector3.sin()
Calculates sine on each component
|
static Vector3 |
Vector3.sub(Vector3 lhs,
Vector3 rhs)
Operator overloading for - (minus)
|
static Vector3 |
MathUtils.toDegree(double x,
double y,
double z)
Convert a number from radian to degree
|
static Vector3 |
MathUtils.toDegree(Vector3 radian)
Convert a
Vector3 from radian to degree. |
static Vector3 |
MathUtils.toRadian(double x,
double y,
double z)
Convert a vector from degree to radian
|
static Vector3 |
MathUtils.toRadian(Vector3 degree)
Convert a
Vector3 from degree to radian |
Modifier and Type | Method and Description |
---|---|
boolean |
Vector4List.add(Vector3 item)
Adds an item to the
Vector4List . |
static Vector3 |
Vector3.add(Vector3 lhs,
Vector3 rhs)
Operator overloading for +
|
void |
Vector3.copyFrom(Vector3 src) |
Vector3 |
Vector3.cross(Vector3 rhs)
Cross product of two vectors
|
boolean |
Matrix4.decompose(Vector3 translation,
Vector3 scaling,
Quaternion rotation)
Decompose the transformation matrix.
|
double |
Vector3.dot(Vector3 rhs)
Gets the dot product of two vectors
|
static Quaternion |
Quaternion.fromAngleAxis(double a,
Vector3 axis)
Creates a quaternion around given axis and rotate in clockwise
|
static Quaternion |
Quaternion.fromEulerAngle(Vector3 eulerAngle)
Creates quaternion from given euler angle
|
static Quaternion |
Quaternion.fromRotation(Vector3 orig,
Vector3 dest)
Creates a quaternion that rotate from original to destinal direction
|
static Vector3 |
Vector3.mul(double lhs,
Vector3 rhs)
Operator overloading for *
|
static Vector3 |
Matrix4.mul(Matrix4 lhs,
Vector3 v)
Multiply the matrix and vector3
|
static Vector3 |
Quaternion.mul(Quaternion q,
Vector3 v)
Operator overloading for *
|
static Vector3 |
Vector3.mul(Vector3 lhs,
double rhs)
Operator overloading for *
|
static Vector3 |
Quaternion.mul(Vector3 v,
Quaternion q)
Operator overloading for *
|
static Vector3 |
Vector3.mul(Vector3 lhs,
Vector3 rhs)
Operator overloading for *
|
static Vector3 |
Vector3.negative(Vector3 v)
Operator overloading for -
|
static boolean |
Vector3.op_eq(Vector3 lhs,
Vector3 rhs)
Equal operator for Vector3
|
static boolean |
Vector3.op_ne(Vector3 lhs,
Vector3 rhs)
Not-equal operator for Vector3
|
static Matrix4 |
Matrix4.rotate(double angle,
Vector3 axis)
Create a rotation matrix by rotation angle and axis
|
TransformBuilder |
TransformBuilder.rotateDegree(double angle,
Vector3 axis)
Chain a rotation transform in degree
|
TransformBuilder |
TransformBuilder.rotateEulerRadian(Vector3 r)
Chain a rotation by euler angles in radian
|
static Matrix4 |
Matrix4.rotateFromEuler(Vector3 eul)
Create a rotation matrix from euler angle
|
TransformBuilder |
TransformBuilder.rotateRadian(double angle,
Vector3 axis)
Chain a rotation transform in radian
|
static void |
PolygonModifier.scale(Node node,
Vector3 scale)
Scale all geometries(Scale the control points not the transformation matrix) in this node
|
static Scene |
PolygonModifier.scale(Scene scene,
Vector3 scale)
Scale all geometries(Scale the control points not the transformation matrix) in this scene
|
TransformBuilder |
TransformBuilder.scale(Vector3 s)
Chain a scale transform
|
static Matrix4 |
Matrix4.scale(Vector3 s)
Creates a matrix that scales along the x-axis, the y-axis and the z-axis.
|
void |
PbrMaterial.setAlbedo(Vector3 value)
Sets the base color of the material
|
void |
LambertMaterial.setAmbientColor(Vector3 value)
Sets the ambient color
|
void |
Light.setColor(Vector3 value)
Sets the light's color
|
void |
LambertMaterial.setDiffuseColor(Vector3 value)
Sets the diffuse color
|
void |
IOrientable.setDirection(Vector3 value)
Sets the direction that the entity is looking at.
|
void |
Frustum.setDirection(Vector3 value)
Sets the direction that the camera is looking at.
|
void |
PbrMaterial.setEmissiveColor(Vector3 value)
Sets the emissive color
|
void |
LambertMaterial.setEmissiveColor(Vector3 value)
Sets the emissive color
|
void |
Transform.setEulerAngles(Vector3 value)
Sets the rotation represented in euler angles, measured in degree
|
void |
Frustum.setLookAt(Vector3 value)
Sets the the interested position that the camera is looking at.
|
void |
Transform.setPostRotation(Vector3 value)
Sets the post-rotation represented in degree
|
void |
Transform.setPreRotation(Vector3 value)
Sets the pre-rotation represented in degree
|
void |
PhongMaterial.setReflectionColor(Vector3 value)
Sets the reflection color.
|
void |
Transform.setScale(Vector3 value)
Sets the scale
|
void |
Light.setShadowColor(Vector3 value)
Sets the shadow's color.
|
void |
PhongMaterial.setSpecularColor(Vector3 value)
Sets the specular color.
|
void |
Transform.setTranslation(Vector3 value)
Sets the translation
|
void |
LambertMaterial.setTransparentColor(Vector3 value)
Sets the transparent color.
|
void |
Matrix4.setTRS(Vector3 translation,
Vector3 rotation,
Vector3 scale)
Initializes the matrix with translation/rotation/scale
|
void |
Frustum.setUp(Vector3 value)
Sets the up direction of the camera
|
void |
TextureBase.setUVRotation(Vector3 value)
Sets the rotation of the texture
|
static Vector3 |
Vector3.sub(Vector3 lhs,
Vector3 rhs)
Operator overloading for - (minus)
|
void |
Quaternion.toAngleAxis(double[] angle,
Vector3 axis)
Decompose the quaternion to angle and axis
|
static Vector3 |
MathUtils.toDegree(Vector3 radian)
Convert a
Vector3 from radian to degree. |
static Vector3 |
MathUtils.toRadian(Vector3 degree)
Convert a
Vector3 from degree to radian |
TransformBuilder |
TransformBuilder.translate(Vector3 v)
Chain a translation transform
|
static Matrix4 |
Matrix4.translate(Vector3 t)
Creates a matrix that translates along the x-axis, the y-axis and the z-axis
|
static int[][] |
PolygonModifier.triangulate(List<Vector4> controlPoints,
List<int[]> polygons,
boolean generateNormals,
Vector3[][] nor_out)
Convert a polygon-based mesh into full triangle mesh
|
Modifier and Type | Method and Description |
---|---|
void |
VertexElementUV.addData2(Iterable<Vector3> data)
Add a set of
Vector3 to VertexElementUV.Data. |
Constructor and Description |
---|
BoundingBox(Vector3 minimum,
Vector3 maximum)
Initialize a finite bounding box with given minimum and maximum corner
|
FVector3(Vector3 vec)
Initializes a new instance of the
FVector3 . |
FVector4(Vector3 vec)
Initializes a new instance of the
FVector4 . |
FVector4(Vector3 vec,
float w)
Initializes a new instance of the
FVector4 . |
Vector4(Vector3 vec)
Initializes a new instance of the
Vector4 struct. |
Vector4(Vector3 vec,
double w)
Initializes a new instance of the
Vector4 struct. |
Copyright © 2019. All rights reserved.