Chunks
Moddable voxel sandbox for room-scale VR.
|
Contains a dictionary of resources of a specific type loaded from a plugin. More...
Public Member Functions | |
bool | Contains (ResourceName name) |
Tests to see if the collection contains a named resource. More... | |
IEnumerator< TResource > | GetEnumerator () |
Returns an enumerator that iterates through the collection. More... | |
Properties | |
TResource | this[ResourceName name] [get] |
Attempts to retrieve a named resource, returning null if it isn't found. More... | |
Properties inherited from Chunks.Plugins.IResourceCollection | |
PluginResource | this[ResourceName name] [get] |
Contains a dictionary of resources of a specific type loaded from a plugin.
TResource | Type of resource contained within the collection. |
TResource | : | PluginResource | |
TResource | : | new() |
bool Chunks.Plugins.ResourceCollection< TResource >.Contains | ( | ResourceName | name | ) |
Tests to see if the collection contains a named resource.
name | Name of the resource to retrieve. |
Implements Chunks.Plugins.IResourceCollection.
IEnumerator<TResource> Chunks.Plugins.ResourceCollection< TResource >.GetEnumerator | ( | ) |
Returns an enumerator that iterates through the collection.
<filterpriority>1</filterpriority>
|
get |
Attempts to retrieve a named resource, returning null if it isn't found.
name | Name of the resource to retrieve. |