SF
Constants
Instance methods
Shorthand for FloatRect.new
Converts arguments to Float32
Shorthand for IntRect.new
Converts arguments to Int32
Construct a time value from a number of microseconds
- amount - Number of microseconds
Returns: Time value constructed from the amount of microseconds
See also: seconds, milliseconds
Construct a time value from a number of milliseconds
- amount - Number of milliseconds
Returns: Time value constructed from the amount of milliseconds
See also: seconds, microseconds
Construct a time value from a number of seconds
- amount - Number of seconds
Returns: Time value constructed from the amount of seconds
See also: milliseconds, microseconds
Make the current thread sleep for a given duration
SF.sleep is the best way to block a program or one of its
threads, as it doesn't consume any CPU power.
- duration - Time to sleep
Shorthand for Vector2.new
If arguments are mixed between Int32 and Float,
they are converted to match Vector2f
Shorthand for Vector3f.new
Converts arguments to Float32
Nested types
- SF::AlResource
- SF::BlendMode
- SF::CircleShape
- SF::Clipboard
- SF::Clock
- SF::Color
- SF::Context
- SF::ContextSettings
- SF::ConvexShape
- SF::Cursor
- SF::Drawable
- SF::Event
- SF::FileInputStream
- SF::FloatRect
- SF::Font
- SF::Ftp
- SF::GlResource
- SF::Glyph
- SF::Http
- SF::Image
- SF::InitError
- SF::InputStream
- SF::IntRect
- SF::IpAddress
- SF::Joystick
- SF::Keyboard
- SF::Listener
- SF::MemoryInputStream
- SF::Mouse
- SF::Music
- SF::Mutex
- SF::NonCopyable
- SF::Packet
- SF::PrimitiveType
- SF::Rect(T)
- SF::RectangleShape
- SF::RenderStates
- SF::RenderTarget
- SF::RenderTexture
- SF::RenderWindow
- SF::Sensor
- SF::Shader
- SF::Shape
- SF::Socket
- SF::SocketSelector
- SF::Sound
- SF::SoundBuffer
- SF::SoundBufferRecorder
- SF::SoundRecorder
- SF::SoundSource
- SF::SoundStream
- SF::Sprite
- SF::Style
- SF::TcpListener
- SF::TcpSocket
- SF::Text
- SF::Texture
- SF::Thread
- SF::Time
- SF::Touch
- SF::Transform
- SF::Transformable
- SF::UdpSocket
- SF::Vector2(T)
- SF::Vector2f
- SF::Vector2i
- SF::Vector2u
- SF::Vector3(T)
- SF::Vector3f
- SF::Vertex
- SF::VertexArray
- SF::VertexBuffer
- SF::VideoMode
- SF::View
- SF::Window
- SF::WindowHandle