| MaterialCloneCore Method |
Makes the instance a clone (deep copy) of the specified
Material.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax protected virtual void CloneCore(
Material source
)
Protected Overridable Sub CloneCore (
source As Material
)
protected:
virtual void CloneCore(
Material^ source
)
abstract CloneCore :
source : Material -> unit
override CloneCore :
source : Material -> unit
Parameters
- source
- Type: DigitalRune.GraphicsMaterial
The object to clone.
Remarks Notes to Inheritors: Every
Material derived class must
implement this method. A typical implementation is to call
base.CloneCore(this) to
copy all properties of the base class and then copy all properties of the derived class.
See Also