Get a number property from a group of properties.
You can use SDL_GetPropertyType() to query whether the property exists and is a number property.
the properties to query.
the name of the property to query.
the default value of the property.
The value of the property, or default_value if it is not set or not a number property.
Threadsafety: It is safe to call this function from any thread.
SDL_GetPropertyType SDL_HasProperty SDL_SetNumberProperty
See Implementation
Get a number property from a group of properties.
You can use SDL_GetPropertyType() to query whether the property exists and is a number property.