Layer Effects

Layers can have post-processing effects applied to them.

Effects

Attribute Type Description
nm string

Name, as seen from editors and the like

mn string

Match name, used in expressions

ef array of Effect No Value or Effect Value Angle or Effect Value Checkbox or Effect Value Color or Effect Value Drop Down or Ignored Value or Effect Value Layer or Effect Value Point or Effect Value Slider

Array of effect values. Each effect below shows a table with the values it expects.

np integer

Number of values in ef

ix integer

Effect Index

ty integer

Effect type

en 0-1 integer

Enabled

Many effects have unused values which are labeled with a number.

Effect types:

ty Effect Type
5 Misc Effect
20 Tint
21 Fill
22 Stroke
23 Tritone
24 Pro Levels
25 Drop Shadow
26 Radial Wipe
27 Displacement Map
28 Matte3
29 Gaussian Blur
30 Twirl
31 Mesh Warp
32 Wavy
33 Spherize
34 Puppet

All the examples will use this as their base:

Fill Effect

Fill all opaque areas with a solid color

Attribute Type Description
ty integer = 21

Type

ef array

Effect values

Name Type
00 Effect Value Point
01 Effect Value Drop Down
color Effect Value Color
03 Effect Value Drop Down
04 Effect Value Slider
05 Effect Value Slider
opacity Effect Value Slider
1
Color
1
0.9
0

Stroke Effect

Attribute Type Description
ty integer = 22

Type

ef array

Effect values

Name Type
00 Effect Value Color
01 Effect Value Checkbox
02 Effect Value Checkbox
color Effect Value Color
04 Effect Value Slider
05 Effect Value Slider
06 Effect Value Slider
07 Effect Value Slider
08 Effect Value Slider
09 Effect Value Drop Down
type Effect Value Drop Down

Tritone Effect

Converts the layer to greyscale, then applies the gradient based on bright/mid/dark.

Attribute Type Description
ty integer = 23

Type

ef array

Effect values

Name Type
bright Effect Value Color
mid Effect Value Color
dark Effect Value Color
Bright
1
1
1
Mid
0.3
0.8
0.3
Dark
0
0
0

Pro Levels Effect

Color correction levels. For more information refer to the After Effects Documentation.

Attribute Type Description
ty integer = 24

Type

ef array

Effect values

Name Type
00 Effect Value Drop Down
01 Effect No Value
02 Effect No Value
comp_inblack Effect Value Slider
comp_inwhite Effect Value Slider
comp_gamma Effect Value Slider
comp_outblack Effect Value Slider
comp_outwhite Effect No Value
08 Effect No Value
09 Effect Value Slider
r_inblack Effect Value Slider
r_inwhite Effect Value Slider
r_gamma Effect Value Slider
r_outblack Effect Value Slider
r_outwhite Effect Value Slider
15 Effect Value Slider
16 Effect Value Slider
g_inblack Effect Value Slider
g_inwhite Effect Value Slider
g_gamma Effect Value Slider
g_outblack Effect Value Slider
g_outwhite Effect Value Slider
22 Effect Value Slider
23 Effect Value Slider
b_inblack Effect Value Slider
b_inwhite Effect Value Slider
b_gamma Effect Value Slider
b_outblack Effect Value Slider
b_outwhite Effect Value Slider
29 Effect Value Slider
a_inblack Effect Value Slider
a_inwhite Effect Value Slider
a_gamma Effect Value Slider
a_outblack Effect Value Slider
a_outwhite Effect No Value
Composite
0
1
1
0
1
Red
0
1
1
0
1
Green
0
1
1
0
1
Blue
0
1
1
0
1

Tint Effect

The layer is converted to grayscale, then black to white is mapped to the given color.

The result is merged back with the original based on the intensity.

Attribute Type Description
ty integer = 20

Type

ef array

Effect values

Name Type
Black Color Effect Value Color
White Color Effect Value Color
Intensity Effect Value Slider
Black
0
0
0
White
0
1
0
Intensity
90

Matte3 Effect

Uses a layer as a mask

Attribute Type Description
ty integer = 28

Type

ef array

Effect values

Name Type
Layer Effect Value Layer
Channel Effect Value Drop Down
Invert Effect Value Drop Down
Stretch To Fit Effect Value Drop Down
Show Mask Effect Value Drop Down
Premultiply Mask Effect Value Drop Down

Gaussian Blur Effect

Attribute Type Description
ty integer = 29

Type

ef array

Effect values

Name Type
sigma Effect Value Slider
direction Effect Value Slider
wrap Effect Value Checkbox
25

Drop Shadow Effect

Attribute Type Description
ty integer = 25

Type

ef array

Effect values

Name Type
color Effect Value Color
opacity Effect Value Slider
angle Effect Value Angle
distance Effect Value Slider
blur Effect Value Slider
0
0
0
128
135
10
7

Radial Wipe Effect

Attribute Type Description
ty integer = 26

Type

ef array

Effect values

Name Type
Completion Effect Value Slider
Start Angle Effect Value Angle
Wipe Center Effect Value Point
Wipe Effect Value Slider
Feather Effect Value Slider

Displacement Map Effect

Attribute Type Description
ty integer = 27

Type

ef array

Effect values

Name Type
Displacement Map Layer Effect Value Layer
Use For Horizontal Displacement Effect Value Drop Down
Max Horizontal Displacement Effect Value Slider
Use For Vertical Displacement Effect Value Drop Down
Max Vertical Displacement Effect Value Slider
Displacement Map Behavior Effect Value Drop Down
Edge Behavior Effect Value Drop Down
Expand Output Effect Value Drop Down

Mesh Warp Effect

Attribute Type Description
ty integer = 31

Type

ef array

Effect values

Name Type
Rows Effect Value Slider
Columns Effect Value Slider
Quality Effect Value Slider
03 Effect No Value

Puppet Effect

Attribute Type Description
ty integer = 34

Type

ef array

Effect values

Name Type
Puppet Engine Effect Value Drop Down
Mesh Rotation Refinement Effect Value Slider
On Transparent Effect Value Drop Down
03 Effect No Value

Spherize Effect

Attribute Type Description
ty integer = 33

Type

ef array

Effect values

Name Type
radius Effect Value Slider
center Effect Value Point

Wavy Effect

Attribute Type Description
ty integer = 32

Type

ef array

Effect values

Name Type
Radius Effect Value Slider
Center Effect Value Point
Conversion type Effect Value Drop Down
Speed Effect Value Drop Down
Width Effect Value Slider
Height Effect Value Slider
Phase Effect Value Slider

Twirl Effect

Attribute Type Description
ty integer = 30

Type

ef array

Effect values

Name Type
Angle Effect Value Angle
Radius Effect Value Slider
Center Effect Value Point

Custom Effect

You might find various different effects all with ty = 5.

Sometimes these are used together with expressions.

Attribute Type Description
ty integer = 5

Type

Effect Values

Attribute Type Description
nm string

Name

mn string

Match Name

ix integer

Effect Index

ty integer

Type

ty Control Type
0 Slider
1 Angle
2 Color
3 Point
4 Checkbox
6 Ignored
7 Dropdown
10 Layer

No Value

Slider

Attribute Type Description
ty integer = 0

Type

v Animated number

Value

Angle

Attribute Type Description
ty integer = 1

Type

v Animated number

Value

Color

Attribute Type Description
ty integer = 2

Type

v Animated Color

Value

Point

Attribute Type Description
ty integer = 3

Type

v Animated Vector

Value

Checkbox

Attribute Type Description
ty integer = 4

Type

v Animated number

Value

Ignored

Attribute Type Description
ty integer = 6

Type

v number

Value

Attribute Type Description
ty integer = 7

Type

v Animated number

Value

Layer

Attribute Type Description
ty integer = 10

Type

v Animated number

Value

Layer Style

A layer can also have a list of styles applied to it

Attribute Type Description
nm string

Name, as seen from editors and the like

mn string

Match name, used in expressions

ty integer

Style Type

Style types:

ty Style Type
0 Stroke
1 Drop Shadow
2 Inner Shadow
3 Outer Glow
4 Inner Glow
5 Bevel / Emboss
6 Satin
7 Color Overlay
8 Gradient Overlay

Stroke Style

Attribute Type Description
ty integer = 0

Layer Type

s Animated number

Size

c Animated Color

Color

Drop Shadow Style

Attribute Type Description
ty integer = 1

Layer Type

c Animated Color

Color

o Animated number

Opacity

a Animated number

Local light angle

s Animated number

Blur size

d Animated number

Distance

ch Animated number

Choke Spread

bm Animated number

Blend Mode

no Animated number

Noise

lc Animated number

Layer knowck out drop shadow

Inner Shadow Style

Attribute Type Description
ty integer = 2

Layer Type

c Animated Color

Color

o Animated number

Opacity

a Animated number

Local light angle

s Animated number

Blur size

d Animated number

Distance

ch Animated number

Choke Spread

bm Animated number

Blend Mode

no Animated number

Noise

Outer Glow Style

Attribute Type Description
ty integer = 3

Layer Type

c Animated Color

Color

o Animated number

Opacity

r Animated number

Range

ch Animated number

Choke Spread

bm Animated number

Blend Mode

no Animated number

Noise

j Animated number

Jitter

Inner Glow Style

Attribute Type Description
ty integer = 4

Layer Type

c Animated Color

Color

o Animated number

Opacity

r Animated number

Range

sr Animated number

Source

ch Animated number

Choke Spread

bm Animated number

Blend Mode

no Animated number

Noise

j Animated number

Jitter

Bevel / Emboss Style

Attribute Type Description
ty integer = 5

Layer Type

bs Animated number

Bevel Style

bt Animated number

Technique

sr Animated number

Strength

s Animated number

Size

sf Animated number

Soften

ga Animated number

Use global light

a Animated number

Local lighting angle

ll Animated number

Local lighting altitude

hm Animated number

Highlight Mode

hc Animated Color

Highlight Color

ho Animated number

Highlight Opacity

sm Animated number

Shadow Mode

sc Animated Color

Shadow Color

so Animated number

Shadow Opacity

Satin Style

Attribute Type Description
ty integer = 6

Layer Type

bm Animated number

Blend Mode

c Animated Color

Color

o Animated number

Opacity

a Animated number

Angle

d Animated number

Distance

s Animated number

Size

in Animated number

Invert

Color Overlay Style

Attribute Type Description
ty integer = 7

Layer Type

bm Animated number

Blend Mode

c Animated Color

Color

so Animated number

Opacity

Gradient Overlay Style

Attribute Type Description
ty integer = 8

Layer Type

bm Animated number

Blend Mode

o Animated number

Opacity

gf Gradient Colors

Gradient

gs Animated number

Smoothness

a Animated number

Angle

gt Gradient Type

Gradient Type

re Animated number

Reverse

al Animated number

Align with layer

s Animated number

Scale

of Animated number

Offset