示例#1
0
 public void Clear()
 {
     meshGeometry   = null;
     meshTexture    = null;
     meshVBlendBone = null;
     meshMaterial   = null;
 }
示例#2
0
 /// <summary>
 /// メッシュの頂点(MCMeshGeometry)を取得する
 /// </summary>
 /// <param name="meshGeometry"></param>
 /// <returns>meshGeometry がnullまたはMCMeshGeometryが存在しない場合は、falseを返す。</returns>
 public bool GetMeshGeometry(out MCMeshGeometry meshGeometry)
 {
     meshGeometry = null;
     if (m_meshGroup == null)
     {
         return(false);
     }
     if (m_meshGroup.meshGeometry != null)
     {
         meshGeometry = m_meshGroup.meshGeometry;
     }
     else
     {
         return(false);
     }
     return(true);
 }