| DRMaterialProcessorDefaultEffectFile Property |
Gets or sets the path of the default DirectX effect file.
Namespace: DigitalRune.Graphics.Content.PipelineAssembly: DigitalRune.Graphics.Content.Pipeline (in DigitalRune.Graphics.Content.Pipeline.dll) Version: 1.2.0.0 (1.2.0.14454)
Syntax [DefaultValueAttribute("")]
public virtual string DefaultEffectFile { get; set; }
<DefaultValueAttribute("")>
Public Overridable Property DefaultEffectFile As String
Get
Set
public:
[DefaultValueAttribute(L"")]
virtual property String^ DefaultEffectFile {
String^ get ();
void set (String^ value);
}
[<DefaultValueAttribute("")>]
abstract DefaultEffectFile : string with get, set
[<DefaultValueAttribute("")>]
override DefaultEffectFile : string with get, set
Property Value
Type:
StringThe path of the default DirectX effect file.
Remarks
If the model does not contain effect code or reference a effect file, then the default
effect file will be used. If
DefaultEffectType is set to
CustomEffect, then this property must specify a DirectX effect
file. (The path of the filename is relative to the content root directory.)
See Also