 |
MeshGetMetadataT(String) Method |
Gets the object that was stored to the specified key by the
SetMetadata(String, Object) method.
When the key is not found then ArgumentException is thrown.
When the metadata with that key cannot be converted to the target type T, then FormatException is thrown.
If you are not sure if the key exist or what type its data is, then use the non-generic
GetMetadata(String) that returns object or null.
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic T GetMetadata<T>(
string key
)
Parameters
- key String
- key as string
Type Parameters
- T
Return Value
Tobject that was stored to the specified key or null if key is not found
See Also