When true, the layer’s audio is enabled. This value corresponds to the audio toggle switch in the Timelinepanel.Boolean; read/write.
Tag Archives: layer
activeCamera
The active camera, which is the front-most camera layer that is enabled. The value is null if the composition contains no enabled camera layers.CameraLayer
keyInSpatialTangent()
Returns the incoming spatial tangent for the specified keyframe, if the named property is spatial that is, the value type is TwoD _SPATIAL or ThreeD_SPATIAL
enabled
When true, this property is enabled. It corresponds to the setting of the eyeball icon, if there is one; otherwise, the default is true.Boolean; read/write
strokeWidth
The text layerメs stroke thickness in pixels. NOTE: If the text layer has different stroke width settings for each character, this attribute returns the sett
addText()
Creates a new point text layer and adds the new TextLayer object to this collection.To create a paragraph box text layer, use the addBoxText method. For mor
parent
The parent of this layer; can be null.Offset values are calculated to counterbalance any transforms above this layer in the hierarchy, so that when you set
hasAudio
True if the layer contains an audio component, regardless of whether it is audio-enabled or soloed.Boolean; read-only.
expressionError
Contains the error, if any, generated by evaluation of the string most recently set in expression.If no expression string has been specified, or if the last
keyTime()
Finds the specified keyframe or marker and returns the time at which it occurs. If no keyframe or marker can be found that matches the argument, this method