Roblox UtilitiesDevlHub Roblox Documentation

Class

ShirtGraphic

Memory category
Instances

Applies a texture to the front surface of a character's torso, used to display t-shirts.

The ShirtGraphic object applies a texture to the front surface of a character's torso. It is used to display t-shirts.

Properties 3#

Color3Color3Determines the colorization to be applied to the ShirtGraphic texture.ReadSafe
GraphicContentIdThe content ID link pointing to the ShirtGraphic texture hosted on the Roblox website. This property sets the texture associated with a t-shirt.ReadSafe
TextureContentContentSpecifies the asset URI of the t-shirt texture.ReadSafe

Color3: Color3#

ReadSafe

This property determines the colorization to be applied to the ShirtGraphic texture. It functions similarly to ImageLabel.ImageColor3 except that it is applied to ShirtGraphic textures. This is useful for creating shirt graphics that have many different color variations but share the same basic look.

See also:

Graphic: ContentId#

ReadSafe

The content ID link pointing to the ShirtGraphic texture hosted on the Roblox website. This property sets the texture associated with a t-shirt.

Finding the ID#

This content ID is different than the website URL of the t-shirt. It can be found by pasting the website URL of the t-shirt into the Graphic property of the ShirtGraphic in Roblox Studio, as Studio will correct it. Alternatively InsertService:LoadAsset() can be used to insert the t-shirt into the workspace, for example:

TextureContent: Content#

ReadSafe

Specifies the t-shirt texture using an asset URI. Although this property uses Datatype.Content, it does not support EditableImage objects.

Setting either TextureContent or ShirtGraphic.Graphic updates the other; both share the same texture data.

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed