| DRMaterialProcessorDefaultEffectType Property |
Gets or sets the type of the default effect.
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(DREffectType.BasicEffect)]
public virtual DREffectType DefaultEffectType { get; set; }
<DefaultValueAttribute(DREffectType.BasicEffect)>
Public Overridable Property DefaultEffectType As DREffectType
Get
Set
public:
[DefaultValueAttribute(DREffectType::BasicEffect)]
virtual property DREffectType DefaultEffectType {
DREffectType get ();
void set (DREffectType value);
}
[<DefaultValueAttribute(DREffectType.BasicEffect)>]
abstract DefaultEffectType : DREffectType with get, set
[<DefaultValueAttribute(DREffectType.BasicEffect)>]
override DefaultEffectType : DREffectType with get, set
Property Value
Type:
DREffectTypeThe type of the default effect.
Remarks
If the model does not contain effect code or reference a effect file, then the default
effect file will be used. If the type is
CustomEffect, then
DefaultEffectFile must be set.
See Also