public void Clear() { meshGeometry = null; meshTexture = null; meshVBlendBone = null; meshMaterial = null; }
/// <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); }