Export (0) Print
Expand All

Game Asset Properties

Describes property settings indicating which actions the project system should perform on a game asset file of a supported type.

For example, you can set file properties to indicate the importer and processor to be used for the game asset file.

Bb199633.note(en-us,XNAGameStudio.31).gifNote
When adding a game asset of a type not recognized by XNA Game Studio, you need to modify the Content Processor and Content Importer properties (by specifying a custom processor and custom importer that build assets of this type) before the asset is built by the Content Pipeline.

To examine the properties of a game asset, right-click on the file in Solution Explorer and choose Properties on the context menu. The Properties window then appears.

Bb199633.XNA_Using_AssetProps(en-us,XNAGameStudio.31).png

In addition to the standard properties, XNA Game Studio content files have additional custom properties: Asset Name, Content Importer, and Content Processor.

Asset Name

The name of the managed object, generated by the Content Pipeline from the game asset. This name is used at run time to load the managed asset, using the ContentManager.Load method. The default name is the original file name without the file extension.

Content Importer

The name of the importer for the related game asset. The list contains both custom importers referenced by the content project and standard importers provided by XNA Game Studio.

Content Processor

The name of the processor for the related game asset. The list contains both custom processors referenced by the content project and standard processors provided by XNA Game Studio. Processors that have modifiable parameters are indicated with a small plus sign next to the Content Processor row. Clicking this expands the Content Processor row to display any supported parameters. Modify these paramter values as you would other properties in this pane. For more information on parameterized processors, see Parameterized Processors.

Community Additions

ADD
Show:
© 2014 Microsoft