Example #1
0
 public CParticleEmitter(CR2WFile cr2w) : base(cr2w)
 {
     Emitters = new CArray("array:2,0,ptr:CParticleEmitter", "CParticleEmitter", true, cr2w)
     {
         Name = "Emitters"
     };
 }
Example #2
0
 public CMaterialGraph(CR2WFile cr2w) :
     base(cr2w)
 {
     pixelParameters       = new CArray("array:0,0,CMaterialGraphParameter", "CMaterialGraphParameter", true, cr2w);
     pixelParameters.Name  = "pixelParameters";
     vertexParameters      = new CArray("array:0,0,CMaterialGraphParameter", "CMaterialGraphParameter", true, cr2w);
     vertexParameters.Name = "vertexParameters";
 }
Example #3
0
        public CEntity(CR2WFile cr2w) :
            base(cr2w)
        {
            unk1      = new CUInt32(cr2w);
            unk1.Name = "unk1";
            unk2      = new CUInt32(cr2w);
            unk2.Name = "unk2";

            components      = new CArray("[]handle:Component", "handle:Component", true, cr2w);
            components.Name = "components";
        }
Example #4
0
 public CMeshComponent(CR2WFile cr2w) :
     base(cr2w)
 {
     attachments      = new CArray("[]handle:attachment", "handle:attachment", true, cr2w);
     attachments.Name = "attachments";
 }