Skip to content
CrSFML
TimeSpan
Initializing search
GitHub
API
Tutorials
CrSFML
GitHub
API
API
System module
System module
Clock
FileInputStream
InputStream
MemoryBuffer
MemoryInputStream
Mutex
NonCopyable
Thread
Time
Vector2
Vector2f
Vector2i
Vector2u
Vector3
Vector3f
Window module
Window module
Clipboard
Context
ContextSettings
ContextSettings
Attribute
Cursor
Cursor
Type
Event
Event
Closed
GainedFocus
JoystickButtonEvent
JoystickButtonPressed
JoystickButtonReleased
JoystickConnected
JoystickConnectEvent
JoystickDisconnected
JoystickMoved
JoystickMoveEvent
KeyEvent
KeyPressed
KeyReleased
LostFocus
MouseButtonEvent
MouseButtonPressed
MouseButtonReleased
MouseEntered
MouseLeft
MouseMoved
MouseMoveEvent
MouseWheelEvent
MouseWheelMoved
MouseWheelScrolled
MouseWheelScrollEvent
Resized
SensorChanged
SensorEvent
SizeEvent
TextEntered
TextEvent
TouchBegan
TouchEnded
TouchEvent
TouchMoved
GlResource
Joystick
Joystick
Axis
Identification
Keyboard
Keyboard
Key
Scan
Scan
Scancode
Mouse
Mouse
Button
Wheel
Sensor
Sensor
Type
Style
Touch
VideoMode
Vulkan
Window
WindowBase
WindowHandle
Graphics module
Graphics module
BlendMode
BlendMode
Equation
Factor
CircleShape
Color
ConvexShape
Drawable
FloatRect
Font
Font
Info
Glyph
Image
IntRect
PrimitiveType
Rect
RectangleShape
RenderStates
RenderTarget
RenderTexture
RenderWindow
Shader
Shader
CurrentTextureType
Type
Shape
Sprite
Text
Text
Style
Texture
Texture
CoordinateType
Transform
Transformable
Vertex
VertexArray
VertexBuffer
VertexBuffer
Usage
View
Audio module
Audio module
AlResource
Listener
Music
Music
Span
TimeSpan
Sound
SoundBuffer
SoundBufferRecorder
SoundRecorder
SoundSource
SoundSource
Status
SoundStream
Network module
Network module
Ftp
Ftp
DirectoryResponse
ListingResponse
Response
Response
Status
TransferMode
Http
Http
Request
Request
Method
Response
Response
Status
IpAddress
Packet
Socket
Socket
Status
Type
SocketSelector
TcpListener
TcpSocket
UdpSocket
InitError
Tutorials
Tutorials
System module
System module
Handling time
Threads
User data streams
Window module
Window module
Opening and managing an SFML window
Events explained
Keyboard, mouse and joysticks
Using OpenGL in an SFML window
Graphics module
Graphics module
Drawing 2D stuff
Sprites and textures
Text and fonts
Shapes
Designing your own entities with vertex arrays
Position, rotation, scale: transforming entities
Adding special effects with shaders
Controlling the 2D camera with views
Audio module
Audio module
Playing sounds and music
Recording audio
Custom audio streams
Spatialization: Sounds in 3D
Network module
Network module
Communication using sockets
Using packets
Web requests with HTTP
File transfers with FTP
alias
SF::Music::TimeSpan
#
Alias definition
SF::Music::Span
(
SF::Time
)