templateVideoClip

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
templateVideoClip
Summary

Used with the set command to set the properties of newly created video clips.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the scale of the templateVideoClip to 2.0 -- double size
RelatedProperty: properties, ID, dontRefresh
Control Structure: function
Keyword: templateScrollbar, default
Object: videoClip
Glossary: object, keyword, property, command, video clip, expression
Command: reset, set
Function: functionNames
Description

Use the templateVideoClip keyword to set up default properties to be used for any new video clips you create.

The templateVideoClip can be thought of as a special, abstract object. It is not a actual video clip, but it has all the properties of a video clip. The ID property of the templateVideoClip is zero.

You can use the set command to set the properties of the templateVideoClip before creating a video clip. The new video clip has the properties of the templateVideoClip, by default. Changing the properties of the templateVideoClip does not affect existing video clips.

The properties of the templateVideoClip can be returned to the default settings using the reset command.

You can refer to the templateVideoClip using any of the following forms:

templateVideoClip
the templateVideoClip
templateVideoClip()

Note: The templateVideoClip keyword is implemented internally as a function and appears in the functionNames. However, it cannot be used as a function in an expression.