The XLight..::.XLightCollection type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| XLight..::.XLightCollection |
Creates new XLight..::.XLightCollection class instance with the given XSprite sprite as the collection owner.
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Adds the XLight light to the collection.
| |
| AddDirectionalLight | Overloaded. | |
| AddPointLight | Overloaded. | |
| AddSpotLight | Overloaded. | |
| Clear |
Removes all lights XLight from the collection.
| |
| Contains |
Returns trueTruetruetrue (True in Visual Basic) if the collection contains the given light.
| |
| CopyTo | ||
| 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. | |
| 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 |
Returns the XLight light position in the collection.
| |
| Insert |
Adds the light to the light collection.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. | |
| Remove |
Removes the XLight light from the light collection.
| |
| RemoveAt |
Removes the XLight light at the given position.
| |
| ToArray |
Creates an array from the collection.
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Count |
Gets collection lights 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 XLight light at the given position.
| |
| SyncRoot |
Returns the object that can be used for synchronizing access to this instance.
|