Compartilhar via


SKView.TextureFromNode Método

Definição

Sobrecargas

TextureFromNode(SKNode)

Renderiza uma textura de um SKNode.

TextureFromNode(SKNode, CGRect)

Renderiza uma textura de um retângulo dentro SKNodede .

TextureFromNode(SKNode)

Renderiza uma textura de um SKNode.

[Foundation.Export("textureFromNode:")]
public virtual SpriteKit.SKTexture TextureFromNode (SpriteKit.SKNode node);
abstract member TextureFromNode : SpriteKit.SKNode -> SpriteKit.SKTexture
override this.TextureFromNode : SpriteKit.SKNode -> SpriteKit.SKTexture

Parâmetros

node
SKNode

Retornos

Atributos

Aplica-se a

TextureFromNode(SKNode, CGRect)

Renderiza uma textura de um retângulo dentro SKNodede .

[Foundation.Export("textureFromNode:crop:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual SpriteKit.SKTexture TextureFromNode (SpriteKit.SKNode node, CoreGraphics.CGRect crop);
abstract member TextureFromNode : SpriteKit.SKNode * CoreGraphics.CGRect -> SpriteKit.SKTexture
override this.TextureFromNode : SpriteKit.SKNode * CoreGraphics.CGRect -> SpriteKit.SKTexture

Parâmetros

node
SKNode
crop
CGRect

Retornos

Atributos

Aplica-se a