Clip
Defined in: packages/sdk/src/composition.ts:74
Fluent handle for a Project Item.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Clip(
id,layer,builder):Clip
Defined in: packages/sdk/src/composition.ts:75
Parameters
Section titled “Parameters”string
builder
Section titled “builder”Returns
Section titled “Returns”Clip
Properties
Section titled “Properties”
readonlyid:string
Defined in: packages/sdk/src/composition.ts:76
readonlylayer:Layer
Defined in: packages/sdk/src/composition.ts:77
Methods
Section titled “Methods”effect()
Section titled “effect()”effect(
material,options):this
Defined in: packages/sdk/src/composition.ts:81
Parameters
Section titled “Parameters”material
Section titled “material”options
Section titled “options”ApplyMaterialOptions = {}
Returns
Section titled “Returns”this
keyframes()
Section titled “keyframes()”keyframes<
T>(property,values):this
Defined in: packages/sdk/src/composition.ts:91
Type Parameters
Section titled “Type Parameters”T extends JsonValue
Parameters
Section titled “Parameters”property
Section titled “property”values
Section titled “values”readonly Keyframe<T>[]
Returns
Section titled “Returns”this
mask()
Section titled “mask()”mask(
source,options):this
Defined in: packages/sdk/src/composition.ts:86
Parameters
Section titled “Parameters”source
Section titled “source”Clip
options
Section titled “options”Omit<SetMaskOptions, "sourceItemId"> = {}
Returns
Section titled “Returns”this
visual()
Section titled “visual()”visual(
options):this
Defined in: packages/sdk/src/composition.ts:99
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”this