次の方法で共有


SpriteBatch.Tag Property

Gets or sets an object that uniquely identifies this sprite batch.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public Object Tag { get; set; }

Property Value

An object that uniquely identifies this sprite batch.

See Also

Reference

SpriteBatch Class
SpriteBatch Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista