The XSprite class is the base class for all other sprites in the SGPRTL library. Sprites is an object in space that the displaying engine can render.
The XSprite..::.XSpriteCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | XSprite..::.XSpriteCollection | Overloaded. |
Methods
Name | Description | |
---|---|---|
![]() | Add |
Adds the XSprite sprite to the collection.
|
![]() | Clear |
Removes all sprites from the collection.
|
![]() | Clone |
Creates an object that is a copy of this instance.
|
![]() | Contains | Overloaded. |
![]() | CopyTo | Overloaded. |
![]() | DeepClone |
Creates an object that is a deep copy of this instance.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Find | Overloaded. |
![]() | FindModelSprite | Overloaded. |
![]() | GetEnumerator |
Gets the enumerator to iterate through all collection items.
|
![]() | GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
![]() | GetType | Gets the Type of the current instance. |
![]() | IndexOf | Overloaded. |
![]() | Insert |
Adds sprite to the sprite collection.
|
![]() | LastFind | Overloaded. |
![]() | LastFindModelSprite | Overloaded. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. |
![]() | OnClear |
The method is called by the collection when removing all items from it.
|
![]() | OnClearComplete |
The method is called by the collection after finishing removing all items.
|
![]() | OnInsert |
The method is called by the collection after adding a new item.
|
![]() | OnInsertComplete |
The method is called by the collection after adding a new item.
|
![]() | OnRemove |
The method is called by the collection when removing an item.
|
![]() | OnRemoveComplete |
The method is called by the collection after removing an item.
|
![]() | OnSet |
The method is called by the collection when setting an item.
|
![]() | OnSetComplete |
The method is called by the collection after setting an item.
|
![]() | OnValidate |
This method is called by the collection to validate the item.
|
![]() | Remove |
Removes the XSprite sprite from the sprite collection.
|
![]() | RemoveAt |
Removes the collection item at the position index.
|
![]() | ToArray |
Creates an array from the collection.
|
![]() | ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() | Count |
Gets collection items count.
|
![]() | IsFixedSize |
Determines whether the collection has fixed size.
|
![]() | IsReadOnly |
Determines whether the collection is read-only.
|
![]() | IsSynchronized |
Determines whether the access to this collection is synchronized and thus the time-dependent errors cannot occure in the multi-thread programming (is thread-safe).
|
![]() | Item |
Gets or sets the XSprite sprite at the given position.
|
![]() | SyncRoot |
Returns the object that can be used for synchronizing access to this instance.
|