Astra Unity 2.6.6
Astra Unity Plugin
Astra.FileFormats.ObjFile.ObjData Class Reference

Public Member Functions

void Weld ()
 
void AddFace (string materialName, List< int > vertexIndices, List< int > normalIndices, List< int > uvIndices)
 

Public Attributes

Mesh mesh
 
List< string > materials = new List<string>()
 
List< Vector3 > verticesSrc = new List<Vector3>()
 
List< Vector3 > normalsSrc = new List<Vector3>()
 
List< Vector2 > uvsSrc = new List<Vector2>()
 
List< Color > colorsSrc = new List<Color>()
 
bool weldVertices = true
 
bool weldNormals = true
 
bool weldUVs = true
 
List< Vector3 > verticesWelded = new List<Vector3>()
 
List< Vector3 > normalsWelded = new List<Vector3>()
 
List< Vector2 > uvsWelded = new List<Vector2>()
 
List< Vector3 > vertices = new List<Vector3>()
 
List< Vector3 > normals = new List<Vector3>()
 
List< Vector2 > uvs = new List<Vector2>()
 
List< int > tris = new List<int>()
 
List< Color > colors = new List<Color>()
 
Dictionary< int, List< int > > submeshToTris = new Dictionary<int, List<int>>()
 
List< string > submeshes = new List<string>()
 

Protected Attributes

bool _welded = false
 
Dictionary< int, int > mapWeldVertSrcToDst = new Dictionary<int, int>()
 
Dictionary< int, int > mapWeldNormalSrcToDst = new Dictionary<int, int>()
 
Dictionary< int, int > mapWeldUVSrcToDst = new Dictionary<int, int>()
 
Dictionary< string, int > mapSrcKeyToDstVert = new Dictionary<string, int>()
 
Dictionary< int, int > mapDstVertToSrcVert = new Dictionary<int, int>()
 

The documentation for this class was generated from the following file: