예제 #1
0
        internal List <LODGroupGUI.LODInfo> GetLODInfoArray(Rect area)
        {
            int lodCount = m_LODSettings.arraySize;

            return(LODGroupGUI.CreateLODInfos(
                       lodCount, area,
                       i => i == lodCount - 1 && (target as SpeedTreeImporter).hasBillboard ? "Billboard" : String.Format("LOD {0}", i),
                       i => m_LODSettings.GetArrayElementAtIndex(i).FindPropertyRelative("height").floatValue));
        }
 internal List <LODGroupGUI.LODInfo> GetLODInfoArray(Rect area)
 {
     // ISSUE: object of a compiler-generated type is created
     // ISSUE: variable of a compiler-generated type
     SpeedTreeImporterInspector.\u003CGetLODInfoArray\u003Ec__AnonStorey7F arrayCAnonStorey7F = new SpeedTreeImporterInspector.\u003CGetLODInfoArray\u003Ec__AnonStorey7F();
     // ISSUE: reference to a compiler-generated field
     arrayCAnonStorey7F.\u003C\u003Ef__this = this;
     // ISSUE: reference to a compiler-generated field
     arrayCAnonStorey7F.lodCount = this.m_LODSettings.arraySize;
     // ISSUE: reference to a compiler-generated field
     // ISSUE: reference to a compiler-generated method
     // ISSUE: reference to a compiler-generated method
     return(LODGroupGUI.CreateLODInfos(arrayCAnonStorey7F.lodCount, area, new Func <int, string>(arrayCAnonStorey7F.\u003C\u003Em__12E), new Func <int, float>(arrayCAnonStorey7F.\u003C\u003Em__12F)));
 }
        internal List <LODGroupGUI.LODInfo> GetLODInfoArray(Rect area)
        {
            int lodCount = this.m_LODSettings.arraySize;

            return(LODGroupGUI.CreateLODInfos(lodCount, area, (int i) => (i != lodCount - 1 || !(this.target as SpeedTreeImporter).hasBillboard) ? string.Format("LOD {0}", i) : "Billboard", (int i) => this.m_LODSettings.GetArrayElementAtIndex(i).FindPropertyRelative("height").floatValue));
        }