DecalProjector
Projects a decal into a volume in world space.
- Creatable
Instance.new("DecalProjector")- Inherits
- Instance
- Replication
- Standard
Behavior
DecalProjector projects a decal into a volume in world space.
Summary
The fade applied to projected decals at oblique surface angles.
The position and orientation of the volume in world space.
The color applied when rendering this instance.
Compatibility spelling of CFrame.
Whether this decal projector is enabled.
The content identifier of the surface's normal texture.
The dimensions of the volume, in studs.
The rule used to order children in the layout.
The content identifier of the projected surface texture.
The content identifier of the texture used by this instance.
The rendering transparency, from 0 for opaque to 1 for invisible.
Returns this instance if it is an ExecutionGroup.
Properties
AngleFade
DecalProjector.AngleFade: number = 0.5The fade applied to projected decals at oblique surface angles.
CFrame
DecalProjector.CFrame: CFrame = CFrame.new(0, 0, 0)The position and orientation of the volume in world space.
Color
DecalProjector.Color: Color3 = Color3.new(1, 1, 1)The color applied when rendering this instance.
CoordinateFrame
DecalProjector.CoordinateFrame: CFrameCompatibility spelling of CFrame. Use CFrame in new code.
Enabled
DecalProjector.Enabled: boolean = trueWhether this decal projector is enabled.
NormalMap
DecalProjector.NormalMap: Content = ""The content identifier of the surface's normal texture.
Size
DecalProjector.Size: Vector3 = Vector3.new(8, 4, 8)The dimensions of the volume, in studs.
SortOrder
DecalProjector.SortOrder: number = 0The rule used to order children in the layout.
SurfaceMap
DecalProjector.SurfaceMap: Content = ""The content identifier of the projected surface texture.
Texture
DecalProjector.Texture: Content = "astasset://decals/puddle"The content identifier of the texture used by this instance.
Transparency
DecalProjector.Transparency: number = 0The rendering transparency, from 0 for opaque to 1 for invisible.
Methods
GetExecutionGroup
DecalProjector: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
- 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