Roblox Wiki
Advertisement
Roblox Wiki

The Decal class describes a texture of an image that is placed on one of the sides of a part it is parented to. It was released on May 14, 2008.[1] There is another class similar to Decal, Texture light iconTexture dark iconTexture, that does the same thing as Decal, but instead of making the image bigger as the part gets bigger, it repeats the image as the part gets bigger.

There is a Creator Marketplace category containing decal assets that represent decals with a linked image. On the Creator Marketplace, the category is labeled "images".

Properties

Color3: Color3

The color of the decal. This property will be applied as a filter on top of the Decal's pre-existing colors.

  • Category: Appearance.
  • Serialization: can save and load.
  • Thread safety: read safe

LocalTransparencyModifier: float

  • HiddenThis property is not shown in the object browser and properties window.
  • Not replicatedThis member is not replicated across the network boundary.
This class member is missing documentation. Create or add to its subpage at Class:Decal/LocalTransparencyModifier.
  • Category: Appearance.
  • Serialization: cannot load or save.
  • Thread safety: read safe

Shiny: float

  • Not replicatedThis member is not replicated across the network boundary.
  • DeprecatedThis member will be phased out and should be avoided while it is still available.
This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:Decal/Shiny.
  • Category: Appearance.
  • Serialization: can load only.
  • Thread safety: read safe

Specular: float

  • Not replicatedThis member is not replicated across the network boundary.
  • DeprecatedThis member will be phased out and should be avoided while it is still available.
This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:Decal/Specular.
  • Category: Appearance.
  • Serialization: can load only.
  • Thread safety: read safe

Texture: ContentId

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:Decal/Texture.
  • Category: Appearance.
  • Serialization: can save and load.
  • Thread safety: read safe

Transparency: float

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:Decal/Transparency.
  • Category: Appearance.
  • Serialization: can save and load.
  • Thread safety: read safe

ZIndex: int

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:Decal/ZIndex.
  • Category: Appearance.
  • Serialization: can save and load.
  • Thread safety: read safe

History[]

Before May 2008, users could only see their decals in solo mode. To use their own images, they had to create Classic T-shirts and use the image created by it.

On May 14, 2008,[1] Matt Dusek announced support for creating decal assets through the Decal Builder which allows uploading an image file. This provides an easy way for users to use their own images in decals.

On February 8, 2017, the Color3 property was added to decals.[2]

On July 8, 2021, the ZIndex property was added to decals.[3]

External links[]

References[]

  1. 1.0 1.1 Dusek, Matt (2008, May 14). "More Fun, Less Frustration". From Roblox Blog. Accessed January 20, 2023. Archived from the original on August 14, 2022.
  2. TheGamer101 (2017, February 8). "New Property: Decal.Color3". From DevForum. Archived from the original on January 20, 2023.
  3. hyperhumanist (2021, July 8). "New ZIndex Property on Decals and Textures". From DevForum. Archived from the original on January 20, 2023.
Advertisement