Package starlight.taliis.core.binary.skin

Examples of starlight.taliis.core.binary.skin.Submesh


 
  public skin(){
    iscreated=true;
    header=new Header();
    submeshes=new Submesh[1];
    submeshes[0]=new Submesh();
    texunits=new TexUnits[1];
    texunits[0]=new TexUnits();
  }
View Full Code Here


  public skin(int nSubmesh, int nTexUnit){
    iscreated=true;
    header=new Header();
    submeshes=new Submesh[nSubmesh];
    for(int k=0;k<nSubmesh;k++)
    submeshes[k]=new Submesh();
    texunits=new TexUnits[nTexUnit];
    for(int k=0;k<nTexUnit;k++)
    texunits[k]=new TexUnits();
  }
View Full Code Here

      properties[i]=buff.getInt();
   
    submeshes=new Submesh[header.getnSubmeshes()];
    buff.position(header.getofsSubmeshes());
    for(int i=0;i<header.getnSubmeshes();i++)
      submeshes[i]=new Submesh(buff);
   
    texunits=new TexUnits[header.getnTextureUnits()];
    buff.position(header.getofsTextureUnits());
    for(int i=0;i<header.getnTextureUnits();i++)
      texunits[i]=new TexUnits(buff);
View Full Code Here

  }
 
  public void setnSubmeshes(int val){
    submeshes=new Submesh[val];
    for(int i=0;i<val;i++){
      submeshes[i]=new Submesh();
    }
  }
View Full Code Here

TOP

Related Classes of starlight.taliis.core.binary.skin.Submesh

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.