Sdílet prostřednictvím


DxtBitmapContent.TryCopyTo Method

Attempts to copy the specified region to another.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

protected override bool TryCopyTo (
         BitmapContent destinationBitmap,
         Rectangle sourceRegion,
         Rectangle destinationRegion
)

Parameters

  • destinationBitmap
    Bitmap being copied to.
  • sourceRegion
    Region of source bitmap being copied from.
  • destinationRegion
    Region of destination bitmap.

Return Value

trueif successful; false otherwise.

See Also

Reference

DxtBitmapContent Class
DxtBitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista