ContentManager.ReadAsset<T> Method (Microsoft.Xna.Framework.Content)
Namespace: Microsoft.Xna.Framework.Content
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
- C#
- VB
- F#
protected T ReadAsset<T>( string assetName, Action<IDisposable> recordDisposableObject )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- assetName
-
Type: System.String
- recordDisposableObject
-
Type: Action<System.IDisposable>
Return Value
Type: T
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web