| ProjectorLightCloneCore Method |
Makes the instance a clone (deep copy) of the specified
Light.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax protected override void CloneCore(
Light source
)
Protected Overrides Sub CloneCore (
source As Light
)
protected:
virtual void CloneCore(
Light^ source
) override
abstract CloneCore :
source : Light -> unit
override CloneCore :
source : Light -> unit
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