C# Класс XNAConverter.XNBBuilder

Наследование: BuildContent
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
BuildAudioAsSongs bool
BuildAudioAsSoundEffects bool
buildEngine XNAConverter.BuildEngine

Открытые методы

Метод Описание
GetErrors ( ) : List

Returns a list of the errors recorded while processing files.

PackageContent ( Array fileNames, string outputDirectory, bool shouldLog, string rootDirectory, List &errorArray, List &outputFiles, bool &buildStatus ) : string[]

Package content to a specified directory

XNBBuilder ( ) : System

Create a new XNBBuilder. Will default to uncompressed content, compiled to the "Windows" platform, and the "Reach" profile.

XNBBuilder ( bool CompressContent ) : System

Create a new XNBBuilder. Will default to being compiled to the "Windows" platform, and the "Reach" profile.

XNBBuilder ( string targetPlatform, string targetProfile, bool CompressContent ) : System

Create a new XNBBuilder with platform, profile, and compression left to the programmer.

Описание методов

GetErrors() публичный Метод

Returns a list of the errors recorded while processing files.
public GetErrors ( ) : List
Результат List

PackageContent() публичный Метод

Package content to a specified directory
public PackageContent ( Array fileNames, string outputDirectory, bool shouldLog, string rootDirectory, List &errorArray, List &outputFiles, bool &buildStatus ) : string[]
fileNames Array A list of file names to be processed.
outputDirectory string The location to output the processed files.
shouldLog bool Whether or not the program should log the build.
rootDirectory string The root directory of the content to be built.
errorArray List
outputFiles List
buildStatus bool The final status of the build.
Результат string[]

XNBBuilder() публичный Метод

Create a new XNBBuilder. Will default to uncompressed content, compiled to the "Windows" platform, and the "Reach" profile.
public XNBBuilder ( ) : System
Результат System

XNBBuilder() публичный Метод

Create a new XNBBuilder. Will default to being compiled to the "Windows" platform, and the "Reach" profile.
public XNBBuilder ( bool CompressContent ) : System
CompressContent bool True for compressed content, false for uncompressed content
Результат System

XNBBuilder() публичный Метод

Create a new XNBBuilder with platform, profile, and compression left to the programmer.
public XNBBuilder ( string targetPlatform, string targetProfile, bool CompressContent ) : System
targetPlatform string The target platform: Windows, XBox360, or WindowsPhone
targetProfile string The target profile: Reach, or HiDef
CompressContent bool True for compressed content, false for uncompressed content
Результат System

Описание свойств

BuildAudioAsSongs публичное свойство

public bool BuildAudioAsSongs
Результат bool

BuildAudioAsSoundEffects публичное свойство

public bool BuildAudioAsSoundEffects
Результат bool

buildEngine публичное свойство

public BuildEngine,XNAConverter buildEngine
Результат XNAConverter.BuildEngine