Exemple #1
0
 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;
        }
Exemple #4
0
        /// <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;
        }
Exemple #5
0
        /// <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;
        }
Exemple #6
0
 protected virtual void CloneCore(Billboard source)
 {
     Name = source.Name;
       Orientation = source.Orientation;
       Color = source.Color;
       Alpha = source.Alpha;
 }