Shumate.VectorSpriteFallbackFunc
Description: Reference for Shumate.VectorSpriteFallbackFunc

### Function

# ShumateVectorSpriteFallbackFunc

#### Declaration

    ShumateVectorSprite*
    (* ShumateVectorSpriteFallbackFunc) (
      ShumateVectorSpriteSheet* sprite_sheet,
      const char* name,
      double scale,
      gpointer user_data
    )

#### Description [src]

A function to generate sprites for a `ShumateVectorSpriteSheet`.

See `shumate_vector_sprite_sheet_set_fallback()`.

Available since: | 1.1

#### Parameters

`sprite_sheet` | `ShumateVectorSpriteSheet`
| The `ShumateVectorSpriteSheet`
| The data is owned by the caller of the function.
`name` | `const char*`
| The name of the sprite to generate.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`scale` | `double`
| The scale factor of the sprite.
`user_data` | `gpointer`
| User data passed to `shumate_vector_sprite_sheet_set_fallback()`
| The argument can be `NULL`.
| The data is owned by the caller of the function.

#### Return value

Returns: | `ShumateVectorSprite`
| A `ShumateVectorSprite` or `NULL`.
| The caller of the function takes ownership of the data, and is responsible for freeing it.
| The return value can be `NULL`.