c# - SFML C++ getSize() and sprite.move() in SFML.net -


my first question if c++:

ptexture.getsize().x 

equals c# (because no result me using this):

ptexture.size().x 

second question c++ code (how write in sfml.net line).

pimage.move(0,-1) 

pimage sprite , ptexture texture of course.

in sfml.net there no getter/setter methods properties, in order get/set size have :

texture.size = // ... myfunction(texture.size); 

as there no setter method, have use += on position property simulate move method.


Comments

Popular posts from this blog

How to run C# code using mono without Xamarin in Android? -

html - grunt SVG to webfont -

c# - SharpSsh Command Execution -