Пример #1
0
/// public メソッド
///---------------------------------------------------------------------------

        /// 初期化
        public bool Init()
        {
            objParamList = new List <GameCtrlDrawParam>();
            if (objParamList == null)
            {
                return(false);
            }

            cullingShape = new ShapeFrustum();
            cullingShape.Init(1);

            return(true);
        }
Пример #2
0
        /// 破棄
        public void Term()
        {
            clear();

            if (objParamList != null)
            {
                for (int i = 0; i < objParamList.Count; i++)
                {
                    objParamList[i].Clear();
                    objParamList[i] = null;
                }
                objParamList.Clear();
            }

            if (cullingShape != null)
            {
                cullingShape.Term();
            }

            cullingShape = null;
            objParamList = null;
            cullingDis   = null;
        }
Пример #3
0
        /// 破棄
        public void Term()
        {
            clear();

            if( objParamList != null ){
            for( int i=0; i<objParamList.Count; i++ ){
                objParamList[i].Clear();
                objParamList[i] = null;
            }
            objParamList.Clear();
            }

            if( cullingShape != null ){
            cullingShape.Term();
            }

            cullingShape     = null;
            objParamList     = null;
            cullingDis       = null;
        }
Пример #4
0
        /// public メソッド
        ///---------------------------------------------------------------------------
        /// 初期化
        public bool Init()
        {
            objParamList = new List< GameCtrlDrawParam >();
            if( objParamList == null ){
            return false;
            }

            cullingShape = new ShapeFrustum();
            cullingShape.Init(1);

            return true;
        }