Skip to content
Roblox API Reference

Decal

Applies an image texture to a face of a parent BasePart.
Memory category
GraphicsTexture
Own members
28
Inherited members
76
Subclasses
1
Siblings
1

Properties52

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Inherited fromFaceInstance1

Property categoryData

Defined byDecal28

Property categoryAppearance

  • Decal.Color3: Color3 = Color3.new(1, 1, 1)
    The Color3 tint of the Decal.
    • Read capabilities: Basic
  • Decal.ColorMap: string = ""
    Content ID that determines the color and opacity of the surface.
    • Not replicated
    • Read capabilities: Basic
  • Decal.ColorMapContent: Content
    Content object that determines the color and opacity of the surface.
    • Not replicated
    • Read capabilities: Basic
  • Decal.EmissiveMaskContent: Content
    • Write: Plugin security
    • Read capabilities: Basic
  • Decal.EmissiveStrength: number = 1
    • Read capabilities: Basic
  • Decal.EmissiveTint: Color3 = Color3.new(1, 1, 1)
    • Read capabilities: Basic
  • Decal.LocalizedTextureContent: Content
    • Not replicated
    • Read: Roblox script security
    • Write: Not accessible
    • Read capabilities: Basic
  • Decal.LocalTransparencyModifier: number = 0
    Acts as a multiplier for the decal's Transparency property. The effects are only visible to the local player.
    • Hidden
    • Not replicated
    • Read capabilities: Basic
  • Decal.MetalnessMap: string = ""
    Content ID that determines the metalness map of the surface.
    • Hidden
    • Plugin security
    • Read capabilities: Basic
  • Decal.MetalnessMapContent: Content
    Content object that determines the metalness map of the surface.
    • Write: Plugin security
    • Read capabilities: Basic
  • Decal.NormalMap: string = ""
    Content ID that determines the normal map of the surface.
    • Hidden
    • Plugin security
    • Read capabilities: Basic
  • Decal.NormalMapContent: Content
    Content object that determines the normal map of the surface.
    • Write: Plugin security
    • Read capabilities: Basic
    • Read capabilities: Basic
  • Decal.Rotation: number = 0
    Rotates the decal texture.
    • Read capabilities: Basic
  • Decal.RoughnessMap: string = ""
    Content ID that determines the roughness map of the surface.
    • Hidden
    • Plugin security
    • Read capabilities: Basic
  • Decal.RoughnessMapContent: Content
    Content object that determines the roughness map of the surface.
    • Write: Plugin security
    • Read capabilities: Basic
  • Decal.Texture: string = ""
    The content ID of the image to be applied by the Decal.
    • Read capabilities: Basic
  • Decal.TextureContent: Content
    The texture content displayed by the Decal.
    • Read capabilities: Basic
  • Decal.TexturePack: string = ""
    • Roblox engine security
    • Read capabilities: Basic
  • Decal.TexturePackContent: Content
    Engine-managed Content that stores the compressed runtime texture-pack data for PBR decals.
    • Roblox engine security
    • Read capabilities: Basic
  • Decal.TexturePackMetadata: string = ""
    • Hidden
    • Not scriptable
    • Roblox engine security
    • Read capabilities: Basic
  • Decal.Transparency: number = 0
    Determines the transparency of the Decal.
    • Read capabilities: Basic
  • Decal.UVOffset: Vector2 = Vector2.zero
    Shifts the UV coordinates by adding an offset before texture mapping.
    • Read capabilities: Basic
  • Decal.UVScale: Vector2 = Vector2.one
    Stretches or compresses the UV coordinates by multiplying a scale factor.
    • Read capabilities: Basic
  • Decal.ZIndex: number = 1
    Determines the rendering order when multiple decals are assigned the same face.
    • Read capabilities: Basic
  • Decal.Shiny: number = 20
    Deprecated: This non-functional property is deprecated and should not be used in new work.
    Deprecated property that previously set the shininess of the decal.
    • Deprecated
    • Not replicated
    • Read capabilities: Basic
    • Load only
  • Decal.Specular: number = 0
    Deprecated: This property no longer functions correctly and is deprecated. It should not be used in new work.
    Deprecated property that previously set the specularity of the decal.
    • Deprecated
    • Not replicated
    • Read capabilities: Basic
    • Load only

Property categoryLocalization

  • Decal.AutoLocalize: boolean = true
    When set to true, the decal's image asset is eligible for automatic localization capture.
    • Read capabilities: Basic

Methods42

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39

Events10

Inherited fromObject1
Inherited fromInstance9