MaterialContent.GetValueTypeProperty<T> Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)
Gets a value type from the OpaqueDataDictionary collection.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
protected Nullable<T> GetValueTypeProperty<T>( string key ) where T : ValueType, new()
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- key
-
Type: System.String
Key of the value type being retrieved.
Return Value
Type: Nullable<T>Index of the value type beng retrieved.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop