Exemple #1
0
 public void FromM2SceneNode(M2SceneNode node)
 {
     BaseName       = node.GetRegionTextureFileName(ECharRegions.CR_BASE);
     ArmUpperName   = node.GetRegionTextureFileName(ECharRegions.CR_ARM_UPPER);
     ArmLowerName   = node.GetRegionTextureFileName(ECharRegions.CR_ARM_LOWER);
     HandName       = node.GetRegionTextureFileName(ECharRegions.CR_HAND);
     FaceUpperName  = node.GetRegionTextureFileName(ECharRegions.CR_FACE_UPPER);
     FaceLowerName  = node.GetRegionTextureFileName(ECharRegions.CR_FACE_LOWER);
     TorsoUpperName = node.GetRegionTextureFileName(ECharRegions.CR_TORSO_UPPER);
     TorsoLowerName = node.GetRegionTextureFileName(ECharRegions.CR_TORSO_LOWER);
     LegUpperName   = node.GetRegionTextureFileName(ECharRegions.CR_LEG_UPPER);
     LegLowerName   = node.GetRegionTextureFileName(ECharRegions.CR_LEG_LOWER);
     FootName       = node.GetRegionTextureFileName(ECharRegions.CR_FOOT);
 }