protected virtual void CloneCore(Billboard source) { Name = source.Name; Orientation = source.Orientation; Color = source.Color; Alpha = source.Alpha; }
/// <inheritdoc/> protected override void CloneCore(Billboard source) { // Clone Billboard properties. base.CloneCore(source); // Clone TextBillboard properties. var sourceTyped = (TextBillboard)source; _text = sourceTyped.Text; Font = sourceTyped.Font; }
/// <inheritdoc/> protected override void CloneCore(Billboard source) { // Clone Billboard properties. base.CloneCore(source); // Clone ImageBillboard properties. var sourceTyped = (ImageBillboard)source; Texture = sourceTyped.Texture; Size = sourceTyped.Size; _animationTime = sourceTyped.AnimationTime; _alphaTest = sourceTyped._alphaTest; _blendMode = sourceTyped._blendMode; Softness = sourceTyped.Softness; }