Class
ShirtGraphic
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#
Color3Color3 | Determines the colorization to be applied to the ShirtGraphic
texture.ReadSafe |
GraphicContentId | The content ID link pointing to the ShirtGraphic texture hosted on
the Roblox website. This property sets the texture associated with a
t-shirt.ReadSafe |
TextureContentContent | Specifies 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:
Clothing.Color3which determines the colorization to be applied to theClothingtexture
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
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild