MaterialContent.GetValueTypeProperty Generic Method

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

Parameters

  • key
    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 XP SP2, Windows Vista