Click or drag to resize
DigitalRuneTextBillboardClone Method
Creates a new Sprite that is a clone (deep copy) of the current instance.

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

Return Value

Type: TextBillboard
A new Sprite that is a clone (deep copy) of the current instance.
Remarks

See class documentation of Sprite (Section "Cloning") for more information about cloning.

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

See Also