ParametricMeshLayer Object
app.project.item(index).layer(index)
This functionality was added in After Effects 26.3.
Description
The ParametricMeshLayer object represents a Parametric Mesh layer within a composition.
ParametricMeshLayer is a subclass of AVLayer object. It inherits the following properties and property groups from AVLayer object:
- Marker
- Time Remap
- Transform
- Anchor Point
- Position
- Scale
- Orientation
- X Rotation
- Y Rotation
- Rotation
- Opacity
- Layer Styles
- Audio
- AudioLevels
Example
If the first item in the project is a CompItem, and the first layer of that CompItem is a ParametricMeshLayer, the following checks its type.
var layer = app.project.item(1).layer(1);
if (layer instanceof ParametricMeshLayer) {
// do something
}Attributes
ParametricMeshLayer.parametricMeshType
app.project.item(index).layer(index).parametricMeshType
This functionality was added in After Effects 26.3.
Description
For a parametric mesh layer, its mesh type. Trying to set this attribute for a non-parametric mesh layer produces an error.
Type
A ParametricMeshType enumerated value; read/write. One of:
ParametricMeshType.SPHEREParametricMeshType.PLANEParametricMeshType.CYLINDERParametricMeshType.CONEParametricMeshType.TORUSParametricMeshType.CUBE
ParametricMeshLayer.parametricMeshOptions
app.project.item(index).layer(index).parametricMeshOptions
This functionality was added in After Effects 26.3.
Description
Gets/sets details about the structure of the parametric mesh.
Type
ParametricMeshOptions based on the ParametricMeshType of the layer, as follows.
For ParametricMeshType.CUBE
parametricMeshOptions.widthparametricMeshOptions.heightparametricMeshOptions.depthparametricMeshOptions.smoothingAngle
For ParametricMeshType.SPHERE
parametricMeshOptions.radiusparametricMeshOptions.sidesparametricMeshOptions.sliceCapsparametricMeshOptions.sliceStartparametricMeshOptions.sliceEndparametricMeshOptions.smoothingAngle
For ParametricMeshType.PLANE
parametricMeshOptions.widthparametricMeshOptions.lengthparametricMeshOptions.cornerRadiusparametricMeshOptions.cornerSides
For ParametricMeshType.TORUS
parametricMeshOptions.ringRadiusparametricMeshOptions.pipeRadiusparametricMeshOptions.ringSidesparametricMeshOptions.pipeSidesparametricMeshOptions.capsparametricMeshOptions.sliceStartparametricMeshOptions.sliceEndparametricMeshOptions.smoothingAngle
For ParametricMeshType.CONE
parametricMeshOptions.topRadiusparametricMeshOptions.bottomRadiusparametricMeshOptions.heightparametricMeshOptions.sidesparametricMeshOptions.topCapparametricMeshOptions.bottomCapparametricMeshOptions.sliceCapsparametricMeshOptions.sliceStartparametricMeshOptions.sliceEndparametricMeshOptions.smoothingAngle
For ParametricMeshType.CYLINDER
parametricMeshOptions.radiusparametricMeshOptions.heightparametricMeshOptions.sidesparametricMeshOptions.topCapparametricMeshOptions.bottomCapparametricMeshOptions.sliceCapsparametricMeshOptions.sliceStartparametricMeshOptions.sliceEndparametricMeshOptions.smoothingAngle
ParametricMeshLayer.parametricBevelOptions
app.project.item(index).layer(index).parametricBevelOptions
This functionality was added in After Effects 26.3.
Description
Gets/sets details about the beveling of the parametric mesh.
Only Parametric Mesh Layers with ParametricMeshType.CUBE, ParametricMeshType.CONE, and ParametricMeshType.CYLINDER have parametricBevelOptions.
Type
ParametricBevelOptions based on the ParametricMeshType of the layer, as follows.
For ParametricMeshType.CUBE
parametricBevelOptions.radiusparametricBevelOptions.sides
For ParametricMeshType.CONE
parametricBevelOptions.topRadiusparametricBevelOptions.topSidesparametricBevelOptions.bottomRadiusparametricBevelOptions.bottomSides
For ParametricMeshType.CYLINDER
parametricBevelOptions.radiusparametricBevelOptions.sides
Last updated on Jul 2, 2026