MaterialContent.SetProperty<T> Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)
Sets a value in the contained OpaqueDataDictionary object.
If null is passed, the value is removed.
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 void SetProperty<T>( string key, T value )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop