Click or drag to resize
DigitalRunePointLightCloneCore Method
Makes the instance a clone (deep copy) of the specified Light.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
protected override void CloneCore(
	Light source
)

Parameters

source
Type: DigitalRune.GraphicsLight
The object to clone.
Remarks

Notes to Inheritors: Every Light 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.

Note that the base class Light does not copy or clone the Shape property. The derived class needs to take care of the Shape property.

See Also