declare namespace feng3d.war3 { /** * war3模型数据 * @author warden_feng 2014-6-28 */ class War3Model { /** 版本号 */ _version: number; /** 模型数据统计结果 */ model: Model; /** 动作序列 */ sequences: AnimInfo[]; /** 全局序列 */ globalsequences: Globalsequences; /** 纹理列表 */ textures: FBitmap[]; /** 材质列表 */ materials: Material[]; /** 几何设置列表 */ geosets: Geoset[]; /** 几何动画列表 */ geosetAnims: GeosetAnim[]; /** 骨骼动画列表 */ bones: BoneObject[]; /** 骨骼轴心坐标 */ pivotPoints: Vector3D[]; /** 顶点最大关节关联数 */ _maxJointCount: number; root: string; constructor(); private meshs; private container; getMesh(): GameObject; /** * 获取某时间的网格信息 * @param time * @return */ updateAnim(m_animTime: number): GameObject[]; private getFBitmap(material); private BuildAnimatedMesh(m_animTime, geoset); private UpdateAllNodeMatrix(m_animTime); private BuildMatrix(bone, m_animTime); } }