Click or drag to resize
Ab4d.SharpEngine logo

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.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public T GetMetadata<T>(
	string key
)

Parameters

key  String
key as string

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Ab4d.SharpEngine.Meshes.Mesh.GetMetadata``1(System.String)"]

Return Value

T
object that was stored to the specified key or null if key is not found
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Meshes.Mesh.GetMetadata``1(System.String)"]

See Also