hi, how can i create a sky entity?

I'm using this Lite-C code...
Code:
ENTITY* skycube =
{
  type = "t_day_sky+6.tga"; // the image for a backdrop scene
  flags2 = SKY | CUBE | SHOW; // sky cube, visible
}



...how can i do this in C#. The ENTITY doesn't have a SKY property. Also if i set ENTITY.type = "t_day_sky+6.tga";, it results in a Marshalling Exception.

Thanks.

Last edited by DJBMASTER; 07/28/09 11:24.