Пример #1
0
 public SkinnedIObject(GraphicFactory factory, String modelName, IPhysicObject phyobj)
 {
     this.Modelo          = SkinnedModel = new SkinnedModel(factory, modelName);
     ForwardSkinnedShader = new ForwardSkinnedShader();
     this.Material        = new ForwardMaterial(ForwardSkinnedShader);
     this.PhysicObject    = phyobj;
     IObjectAttachment    = new List <IObjectAttachment>();
     Name = modelName;
 }
 public SkinnedIObject(GraphicFactory factory,String modelName, IPhysicObject phyobj)         
 {
     this.Modelo = SkinnedModel = new SkinnedModel(factory,modelName);
     ForwardSkinnedShader = new ForwardSkinnedShader();
     this.Material = new ForwardMaterial(ForwardSkinnedShader);
     this.PhysicObject = phyobj;
     IObjectAttachment = new List<IObjectAttachment>();
     Name = modelName;            
 }