| DRSubmeshContentExternalMaterial Property |
Gets or sets the external material of this submesh.
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 public ExternalReference<DRMaterialContent> ExternalMaterial { get; set; }
Public Property ExternalMaterial As ExternalReference(Of DRMaterialContent)
Get
Set
public:
property ExternalReference<DRMaterialContent^>^ ExternalMaterial {
ExternalReference<DRMaterialContent^>^ get ();
void set (ExternalReference<DRMaterialContent^>^ value);
}
member ExternalMaterial : ExternalReference<DRMaterialContent> with get, set
Property Value
Type:
ExternalReferenceDRMaterialContentThe external material of this submesh.
Remarks
The material is assigned to the submesh using the model description (XML file). The material
is defined in an external material definition (XML file). Materials can be shared between
models. If
ExternalMaterial is set, the property
LocalMaterial
can be ignored.
See Also