Difference between revisions of "Source"

From Silhouette Wiki
Jump to navigation Jump to search
(Created page with "The Source object represents a media file. === Attributes === ''Attributes are read-only except where noted.'' {| class="wikitable" ! scope="col" | Name ! scope="col" class=...")
 
Line 22: Line 22:
 
|key
 
|key
 
|the source's ''image cache key''
 
|the source's ''image cache key''
 +
|-
 +
|streamMask
 +
|the [[Silhouette Module Reference#Stream Mask Constants|streams]] the source produces
 
|-
 
|-
 
|video
 
|video

Revision as of 22:18, 20 November 2012

The Source object represents a media file.

Attributes

Attributes are read-only except where noted.

Name Description
audio True if the source has audio
defaultStream the default stream
fieldDominance the field dominance setting
fieldHandling the field handling setting
key the source's image cache key
streamMask the streams the source produces
video True if the source has video

Methods

Name Description
path(frame) generate the path to the desired frame of media