Sprite Constructor (Texture)

SFML.Net

Sprite Constructor (Texture)
Construct the sprite from a source texture

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public Sprite(
	Texture texture
)
Public Sub New ( 
	texture As Texture
)
public:
Sprite(
	Texture^ texture
)
new : 
        texture : Texture -> Sprite

Parameters

texture
Type: SFML.GraphicsTexture
Source texture to assign to the sprite
See Also