This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-libzt/integrations/Unity3D/Assets/OBJ-IO/Plugins/Mesh/OBJ/OBJGroup.cs

27 lines
1.0 KiB
C#
Raw Normal View History


using System.Collections.Generic;
public class OBJGroup
{
//------------------------------------------------------------------------------------------------------------
private readonly List<OBJFace> m_Faces = new List<OBJFace>();
//------------------------------------------------------------------------------------------------------------
public OBJGroup(string lName)
{
m_Name = lName;
}
//------------------------------------------------------------------------------------------------------------
public string m_Name { get; private set; }
public OBJMaterial m_Material { get; set; }
//------------------------------------------------------------------------------------------------------------
public IList<OBJFace> Faces { get { return m_Faces; } }
//------------------------------------------------------------------------------------------------------------
public void AddFace(OBJFace lFace)
{
m_Faces.Add(lFace);
}
}