SKTexture.FromRectangle(CGRect, SKTexture) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("textureWithRect:inTexture:")]
public static SpriteKit.SKTexture FromRectangle (CoreGraphics.CGRect rect, SpriteKit.SKTexture texture);
static member FromRectangle : CoreGraphics.CGRect * SpriteKit.SKTexture -> SpriteKit.SKTexture
Parameters
- rect
- CGRect
- texture
- SKTexture
Returns
- Attributes