MaterialContent.GetValueTypeProperty Generic Method

Note

This generic method is available only when developing for Windows.

Gets a value type from the OpaqueDataDictionary collection.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

protected Nullable<T> GetValueTypeProperty<T> (
         string key
) where T : ValueType

Type Parameters

  • T
    Type of the value being retrieved.

Parameters

  • key
    Type: String
    Key of the value type being retrieved.

Return Value

Index of the value type beng retrieved.

See Also

Reference

MaterialContent Class
MaterialContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows 7, Windows Vista, Windows XP