コード例 #1
0
        public int GetTriangleCount(int nObjectID)
        {
            StoredCommands sc  = new StoredCommands();
            uint           key = sc.AppendSceneCommand_GetTriangleCount(nObjectID);

            ExecuteCommands(sc);
            any_result r   = new any_result();
            bool       bOK = sc.GetSceneCommandResult_GetTriangleCount(key, r);

            return((bOK) ? r.i : -1);
        }