Click or drag to resize

Sprite

2DManual / Base Types / 2D / SpriteSprite Animation Controller

Sprite

Sprite in the scene.

Contents
Overview

The object displays a 2D rectangle with the assigned material.

Learn more about 2D game engine.

Screenshot999999999874.png
How to create

The sprite is created like other objects. The usual way to do this is to drag and drop it from the Resources Window.

Screenshot999999999871 2.png

Material is specified in the Replace Material property. Other features are supported, for example, support for using prepared meshes instead of a rectangle.

Screenshot999999999872 2.png
Properties
Name Description
Mesh The mesh used by the mesh object.
Replace Material Replaces all geometries of the mesh by another material.
Replace Material Selectively Replaces selected geometries of the mesh by another material.
Color The base color and opacity multiplier.
Visibility Distance Maximum visibility range of the object.
Cast Shadows Whether to cast shadows on the other surfaces.
Receive Decals Whether is it possible to apply decals on the surface.
Name Description
UV UV texture coordinates.
See also
2DSprite Animation Controller