[.net] DirectX3D Sprite

Started by
1 comment, last by p997 18 years ago
Hi, Im trying to use DirectX with my C# code and i've added DirectX and DirectX.Direct3D as references, but i cant seem to use the Sprite class. for example: ... private Texture spriteTexture; private Sprite sprite; ... then i would receive an error message saying: The type or namespace name "Sprite" could not be found. it seems that whenever i try to use Mesh or Sprite i will get error messages. could someone pls tell me what's the problem?
Advertisement
Add the reference "Microsoft.DirectX.Direct3DX".
Great! Thx!

This topic is closed to new replies.

Advertisement