Click or drag to resize
DigitalRuneMaterialInstanceClone Method
Creates a new MaterialInstance that is a clone of the current instance.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public MaterialInstance Clone()

Return Value

Type: MaterialInstance
A new MaterialInstance that is a clone of the current instance.
Remarks
Notes to Inheritors: The method Clone calls CreateInstanceCore which is responsible for creating a new instance of the MaterialInstance derived class and CloneCore(MaterialInstance) to create a copy of the current instance. Classes that derive from MaterialInstance need to implement CreateInstanceCore and CloneCore(MaterialInstance).
See Also