PropertyCollection
Introduction
Using PropertyCollections
Sprite sprite = SpriteManager.AddSprite("redball.bmp");
PropertyCollection propertyCollection = new PropertyCollection();
propertyCollection.Add("ScaleX", 5.0f);
propertyCollection.Add("RotationZ", (float)Math.PI / 8.0f);
propertyCollection.ApplyTo(sprite);
Lack of Type Conversion in PropertyCollections
Last updated
Was this helpful?