示例#1
0
        public string getLogContent(MeshDetails item)
        {
            string returnValue = null;

            returnValue = item.objectName + "    ";

            string sizeLabel = null;

            sizeLabel += "vertexCount " + item.verticesCount;

            returnValue += sizeLabel;

            return(returnValue);
        }
示例#2
0
        public Dictionary <int, MeshDetails> GetNewObjectInstanceIdList(IEnumerable <Mesh> scanedAllObject)
        {
            Dictionary <int, MeshDetails> returnValues = new Dictionary <int, MeshDetails>(); //새로 스캔된 녀석의 Dictionary

            foreach (var newItem in scanedAllObject)
            {
                Mesh        tMesh        = newItem as Mesh;
                MeshDetails tMeshDetails = new MeshDetails();

                tMeshDetails.objectName    = tMesh.name;
                tMeshDetails.verticesCount = tMesh.vertexCount;

                returnValues.Add(tMesh.GetInstanceID(), tMeshDetails);
            }
            return(returnValues);
        }