Class Model
Inheritance
java.lang.Object
Model
Syntax
Constructors
Model(ArrayList<Vector3f> positions, ArrayList<Vector3f> normals, ArrayList<Vector2f> texCoords, ArrayList<Vector3f> tangents, ArrayList<Integer> indices)
Declaration
public Model(ArrayList<Vector3f> positions, ArrayList<Vector3f> normals, ArrayList<Vector2f> texCoords, ArrayList<Vector3f> tangents, ArrayList<Integer> indices)
Parameters
Type |
Name |
Description |
ArrayList<Vector3f> |
positions |
|
ArrayList<Vector3f> |
normals |
|
ArrayList<Vector2f> |
texCoords |
|
ArrayList<Vector3f> |
tangents |
|
ArrayList<Integer> |
indices |
|
Model(ArrayList<Vector3f> positions, ArrayList<Vector3f> normals, ArrayList<Vector2f> texCoords, ArrayList<Vector3f> tangents, ArrayList<Integer> indices, ArrayList<Vector3f> vBCC)
Declaration
public Model(ArrayList<Vector3f> positions, ArrayList<Vector3f> normals, ArrayList<Vector2f> texCoords, ArrayList<Vector3f> tangents, ArrayList<Integer> indices, ArrayList<Vector3f> vBCC)
Parameters
Type |
Name |
Description |
ArrayList<Vector3f> |
positions |
|
ArrayList<Vector3f> |
normals |
|
ArrayList<Vector2f> |
texCoords |
|
ArrayList<Vector3f> |
tangents |
|
ArrayList<Integer> |
indices |
|
ArrayList<Vector3f> |
vBCC |
Bary Centric Coordinates.
|
Methods
getIndices()
Declaration
public ArrayList<Integer> getIndices()
Returns
Type |
Description |
ArrayList<Integer> |
|
getNormals()
Declaration
public ArrayList<Vector3f> getNormals()
Returns
getPositions()
Declaration
public ArrayList<Vector3f> getPositions()
Returns
getTangents()
Declaration
public ArrayList<Vector3f> getTangents()
Returns
getTexCoords()
Declaration
public ArrayList<Vector2f> getTexCoords()
Returns
getvBCC()
Declaration
public ArrayList<Vector3f> getvBCC()
Returns
isValid()
Declaration
Returns