0

I'm looking to load a Curve file in XNA but not through the content manager process e.g. Load("").

Is there any way to do this?

For example:

Curve curve = new Curve("filename"); or Curve curve = Curve.FromFile("filename"); // similar to loading texture2d and song.

Simon Jefferies
  • 415
  • 4
  • 16
  • Why wouldn't you want to do it through the content pipeline? Without using it, you would simply have to create & write functionality that the content processor already has/does. – Steve H May 28 '12 at 00:19
  • I'm trying to avoid the additional work of maintaining content pipeline projects across several platforms. It appears other content types can be loaded from a stream, just seemed odd that curve doesn't support this. – Simon Jefferies May 28 '12 at 07:53

1 Answers1

1

Creating curve data in xml form and building/importing it using the content processor will work (and the easiest way to go) for PC, win7phone, & xb360. If you are planning more platforms than that, then yes, you would have to write your own.

Steve H
  • 5,479
  • 4
  • 20
  • 26