Class ModelCreator.Face

java.lang.Object
gaiasky.util.gdx.ModelCreator.Face
All Implemented Interfaces:
ModelCreator.IFace
Enclosing class:
ModelCreator

public class ModelCreator.Face extends Object implements ModelCreator.IFace
Contains the index info for a face.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int[]
    This stores the indices for the binormals
    int[]
    This stores the indices for the normals
    int[]
    This stores the indices for the tangents
    int[]
    This stores the indices for both the vertices and the UV coordinates
  • Constructor Summary

    Constructors
    Constructor
    Description
    Face(int... v)
    Constructs a face with the indices of the vertices.
  • Method Summary

    Modifier and Type
    Method
    Description
    int[]
    b()
     
    int[]
    n()
     
    void
    setBinormals(int... n)
    Sets the binormal indices.
    void
    setNormals(int... n)
    Sets the normal indices.
    void
    setTangents(int... n)
    Sets the tangent indices.
    int[]
    t()
     
    int[]
    v()
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • v

      public int[] v
      This stores the indices for both the vertices and the UV coordinates
    • n

      public int[] n
      This stores the indices for the normals
    • t

      public int[] t
      This stores the indices for the tangents
    • b

      public int[] b
      This stores the indices for the binormals
  • Constructor Details

    • Face

      public Face(int... v)
      Constructs a face with the indices of the vertices.
      Parameters:
      v - Indices of the vertices.
  • Method Details