Modifier and Type | Method and Description |
---|---|
static Vector4 |
Vector4.add(Vector4 lhs,
Vector4 rhs)
Operator overloading for +
|
Vector4 |
Vector4.clone() |
Vector4[] |
NurbsCurve.evaluate()
Evaluate the nurbs curve
|
Vector4[] |
NurbsCurve.evaluate(int steps)
Evaluate the nurbs curve
|
Vector4 |
NurbsCurve.evaluateAt(double u)
Evaluate the curve's point at specified position
|
Vector4 |
Vector4List.get(int index)
Gets the element at the specified index.
|
Vector4 |
AssetInfo.getAmbient()
Gets or Sets the default ambient color of this asset
|
static Vector4 |
Matrix4.mul(Matrix4 lhs,
Vector4 v)
Multiply the matrix and vector4
|
static Vector4 |
Vector4.mul(Vector4 lhs,
double rhs)
Operator overloading for *
|
static Vector4 |
Vector4.mul(Vector4 lhs,
Vector4 rhs)
Operator overloading for *
|
Vector4 |
Vector4List.remove(int index) |
Vector4 |
Vector4List.set(int index,
Vector4 value)
Sets the element at the specified index.
|
static Vector4 |
Vector4.sub(Vector4 lhs,
Vector4 rhs)
Operator overloading for - (minus)
|
Vector4[] |
Vector4List.toNativeArray() |
Modifier and Type | Method and Description |
---|---|
List<Vector4> |
Geometry.getControlPoints()
Gets all control points
|
List<Vector4> |
VertexElementVector4.getData()
Gets the vertex data
|
Iterator<Vector4> |
Vector4List.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
Vector4List.add(int index,
Vector4 item) |
boolean |
Vector4List.add(Vector4 item)
Adds an item to the
Vector4List . |
static Vector4 |
Vector4.add(Vector4 lhs,
Vector4 rhs)
Operator overloading for +
|
void |
Vector4.copyFrom(Vector4 src) |
void |
Vector4List.copyTo(Vector4[] array,
int arrayIndex)
Copies the elements of the
Vector4List to an array, starting at a particular array index. |
protected static ArrayList<int[]> |
Primitive.merge(Mesh mesh,
Vector4[][] positions,
Vector4[][] normals,
Vector2[][] uvs)
Merge the specified mesh, positions, normals and uvs.
|
protected static ArrayList<int[]> |
Primitive.merge(Mesh mesh,
Vector4[][] positions,
Vector4[][] normals,
Vector2[][] uvs)
Merge the specified mesh, positions, normals and uvs.
|
static Vector4 |
Matrix4.mul(Matrix4 lhs,
Vector4 v)
Multiply the matrix and vector4
|
static Vector4 |
Vector4.mul(Vector4 lhs,
double rhs)
Operator overloading for *
|
static Vector4 |
Vector4.mul(Vector4 lhs,
Vector4 rhs)
Operator overloading for *
|
Vector4 |
Vector4List.set(int index,
Vector4 value)
Sets the element at the specified index.
|
void |
AssetInfo.setAmbient(Vector4 value)
Gets or Sets the default ambient color of this asset
|
void |
VertexElementVector4.setData(Vector4[] data)
Load data
|
protected static void |
Primitive.setup(Mesh mesh,
Vector4[] positions,
Vector4[] normals,
Vector4[] uvs)
Build the mesh from given positions/normals/uvs.
|
protected static void |
Primitive.setup(Mesh mesh,
Vector4[] positions,
Vector4[] normals,
Vector4[] uvs)
Build the mesh from given positions/normals/uvs.
|
protected static void |
Primitive.setup(Mesh mesh,
Vector4[] positions,
Vector4[] normals,
Vector4[] uvs)
Build the mesh from given positions/normals/uvs.
|
static Vector4 |
Vector4.sub(Vector4 lhs,
Vector4 rhs)
Operator overloading for - (minus)
|
Modifier and Type | Method and Description |
---|---|
void |
Vector4List.addRange(List<Vector4> vectors)
Add a range of vectors into current list
|
static int[][] |
PolygonModifier.triangulate(List<Vector4> controlPoints)
Convert a polygon into triangles, the order of the polygon is defined by the
controlPoints |
static int[][] |
PolygonModifier.triangulate(List<Vector4> controlPoints,
int[] polygon)
Convert a polygon into triangles
|
static int[][] |
PolygonModifier.triangulate(List<Vector4> controlPoints,
List<int[]> polygons)
Convert a polygon-based mesh into triangles
|
static int[][] |
PolygonModifier.triangulate(List<Vector4> controlPoints,
List<int[]> polygons,
boolean generateNormals,
Vector3[][] nor_out)
Convert a polygon-based mesh into full triangle mesh
|
Constructor and Description |
---|
FVector3(Vector4 vec)
Initializes a new instance of the
FVector4 . |
FVector4(Vector4 vec)
Initializes a new instance of the
FVector4 . |
Matrix4(Vector4 r0,
Vector4 r1,
Vector4 r2,
Vector4 r3)
Constructs matrix from 4 rows.
|
Vector3(Vector4 vec4)
Initializes a new instance of the
Vector3 struct. |
Constructor and Description |
---|
Vector4List(List<Vector4> vectors)
Construct a new
Vector4List with default elements |
Copyright © 2019. All rights reserved.