Decal
Displays a texture on one face of a BasePart.
- Creatable
Instance.new("Decal")- Inherits
- FaceInstanceInstance
- Replication
- Standard
Behavior
Decal displays a texture on one face of a BasePart.
Summary
Members4
Properties3
The Part face on which the surface texture, light, or interface is placed.
The content identifier of the texture used by this instance.
The rendering transparency, from 0 for opaque to 1 for invisible.
Methods1
Returns this instance if it is an ExecutionGroup.
Properties
Face
Decal.Face: Enum.NormalId = Enum.NormalId.FrontThe Part face on which the surface texture, light, or interface is placed.
Texture
Decal.Texture: Content = ""The content identifier of the texture used by this instance.
Transparency
Decal.Transparency: number = 0The rendering transparency, from 0 for opaque to 1 for invisible.
Methods
GetExecutionGroup
Decal:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
Inherited members
Inherited47
Instance47
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying