Sdílet prostřednictvím


MaterialContent.GetReferenceTypeProperty Generic Method

Gets a reference 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 T GetReferenceTypeProperty<T> (
         string key
)

Type Parameters

  • T

Parameters

  • key
    Key of the property being retrieved.

Return Value

Type of the related opaque data.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista