Table of Contents

Class ProcessorParameter

Namespace
Microsoft.Xna.Framework.Content.Pipeline
Assembly
MonoGame.Framework.Content.Pipeline.dll

Represents a processor parameter. Processor parameters are automatically discovered by the content pipeline. Therefore, only custom processor developers should use this class directly.

[Serializable]
public sealed class ProcessorParameter
Inheritance
ProcessorParameter
Inherited Members

Properties

DefaultValue

Default value of the processor parameter.

public object DefaultValue { get; set; }

Property Value

object

Description

Description of the parameter, as specified by the [Description] attribute.

public string Description { get; set; }

Property Value

string

DisplayName

Name of the parameter displayed in the designer, as specified by the [DisplayName] attribute.

public string DisplayName { get; set; }

Property Value

string

IsEnum

Gets a value indicating whether the parameter is an enumeration.

public bool IsEnum { get; }

Property Value

bool

PossibleEnumValues

Available options for enumerated type parameters. For parameters of other types, this value is null.

public ReadOnlyCollection<string> PossibleEnumValues { get; }

Property Value

ReadOnlyCollection<string>

PropertyName

Name of the property, as defined in the C# code.

public string PropertyName { get; }

Property Value

string

PropertyType

Type of the parameter.

public string PropertyType { get; }

Property Value

string