/// public メソッド ///--------------------------------------------------------------------------- /// 初期化 public bool Init() { objParamList = new List <GameCtrlDrawParam>(); if (objParamList == null) { return(false); } cullingShape = new ShapeFrustum(); cullingShape.Init(1); return(true); }
/// 破棄 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; }
/// 破棄 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; }
/// public メソッド ///--------------------------------------------------------------------------- /// 初期化 public bool Init() { objParamList = new List< GameCtrlDrawParam >(); if( objParamList == null ){ return false; } cullingShape = new ShapeFrustum(); cullingShape.Init(1); return true; }