Open Asterune
DecalProjector

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

Members12
Properties11
Methods1

Properties

AngleFade

DecalProjector.AngleFade: number = 0.5

The 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: CFrame

Compatibility spelling of CFrame. Use CFrame in new code.

Enabled

DecalProjector.Enabled: boolean = true

Whether 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 = 0

The 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 = 0

The 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

Inherited47

Instance