o0hamish0o
09-01-2009 14:49:18
Hi,
Does anyone have a good example on how to use BillboardSets with Mogre?
Specifically, I'm having a problem creating and passing a FloatRect* into SetTextureCoords as in:
(assume sceneMgr is valid)
BillboardSet bbset = sceneMgr.CreateBillboardSet("bbSet", 4);
bbset.SetTextureCoords(textCoords, (ushort)4);
How do I create textCoords as a FloatRect* in C#?
Thanks,
-Hamish
Does anyone have a good example on how to use BillboardSets with Mogre?
Specifically, I'm having a problem creating and passing a FloatRect* into SetTextureCoords as in:
(assume sceneMgr is valid)
BillboardSet bbset = sceneMgr.CreateBillboardSet("bbSet", 4);
bbset.SetTextureCoords(textCoords, (ushort)4);
How do I create textCoords as a FloatRect* in C#?
Thanks,
-Hamish