Vegas Scripting API Summary
Copyright (c) 2005 Sony Pictures Digital Networks
Revision Date: May23, 2005.
This document provides a summary of all public classes, properties, and methods exposed by the Vegas scripting API. It is intended as a reference for script writers. For an overview on how to run scripts in Vegas, please refer to the Vegas Online Help manual. We encourage you to post questions, comments, ideas, and solutions to the Vegas - Scripting discussion forum.
Class Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
| Table of Contents |
|---|
| MediaType Enum | Enumeration of media types. |
| ChannelRemapping Enum | Enumeration of audio channel remapping modes. |
| VideoResampleMode Enum | Enumeration of video resampling modes. |
| EnvelopeType Enum | Enumeration of envelope types. |
| CurveType Enum | Enumeration of envelope curve types. |
| RulerFormat Enum | Enumeration of ruler formats. |
| BeatValue Enum | Enumeration of beat values. |
| AudioBusMode Enum | Enumeration of audio bus modes. |
| AudioChannelFlags Enum | Enumeration of audio channel flags (speaker positions). |
| AudioResampleQuality Enum | Enumeration of audio resample quality modes. |
| VideoFieldOrder Enum | Enumeration of video field orderings. |
| VideoRenderQuality Enum | Enumeration of video render quality modes. |
| VideoDeinterlaceMethod Enum | Enumeration of video deinterlace methods. |
| MotionBlurType Enum | Enumeration of motion blur types. |
| ImageFileFormat Enum | Enumeration of image file formats. |
| RenderStatus Enum | Enumeration of return values for render commands. |
| VideoAlphaType Enum | Enumeration of video alpha modes. |
| PanType Enum | Enumeration of audio pan settings. |
| LowPassFilterQuality Enum | Enumeration of low-pass filter qualities |
| VideoKeyframeType Enum | Enumeration of video key frame interpolation types. |
| AppChangeFlag Enum | Enumeration of application change flags |
| ProjectChangeFlag Enum | Enumeration of project change flags |
| CompositeMode Enum | Video track composite modes. |
| VideoColor Class | Represents a color used in various video properties |
| BaseList Class | Base class for most collections in the Vegas object model. |
| BaseListEnumerator Class | Base class for enumerators of Vegas collections. |
| Timecode Class | Represents a time or length in Vegas. |
| EffectPreset Class | Represents a set of predefined parameter values for an effect key frame. |
| EffectPresets Class | Collection of parameter presets for an effect. |
| PlugInNode Class | Represents a node in the hierarchy of plug-in effects, transitions, and generators. |
| RenderTemplate Class | Represents a render template. |
| RenderTemplates Class | Collection of templates for a render plug-in. |
| Renderer Class | Represents a render plug-in. |
| Renderers Class | Collection of render plug-ins. |
| EnvelopePoint Class | Represents an envelope point. |
| EnvelopePoints Class | Collection of points in an envelope. |
| Envelope Class | Represents an envelope. |
| Envelopes Class | Collection of envelopes. |
| Keyframe Class | Represents a video effect key frame. |
| Keyframes Class | Collection of effect key frames. |
| Effect Class | Represents an instance of an effect, transitions, or generator. |
| Effects Class | Collection of plug-in effects. |
| MediaStream Class | Represents a media stream. |
| AudioStream Class | Represents an audio stream. |
| VideoStream Class | Represents a video stream. |
| MediaStreams Class | Collection of media streams. |
| Media Class | Represents a media file referenced by a Vegas project. |
| Subclip Class | Represents a subclip of a media file. |
| MediaPool Class | Collection of media used in a project. |
| MediaPoolEnumerator Class | Enumerator of media referenced by a project. |
| MediaBin Class | Represents a node in the hierarchy of media bins. |
| Take Class | Represents a take for an event. |
| Takes Class | Collection of takes associated with an event. |
| Fade Class | Represents the fade (in or out) of an event. |
| VideoMotion Class | Represents the motion of a video event. |
| VideoMotionVertex Class | Represents a vertex used in video motion key frames. |
| VideoMotionBounds Class | Represents a 4 sided bounds polygon used in video motion key frames. |
| VideoMotionKeyframe Class | Represents a key frame for video event motion parameters. |
| VideoMotionKeyframes Class | Collection of video motion key frames for a video event. |
| TrackEvent Class | Represents a track event. |
| AudioEvent Class | Represents an audio event. |
| VideoEvent Class | Represents an video event. |
| TrackEvents Class | Collection of track events. |
| Track Class | Represents an audio or video track. |
| AudioTrack Class | Represents an audio track. |
| VideoTrack Class | Represents a video track. |
| Tracks Class | Collection of tracks in a project. |
| BusTracks Class | Collection of bus tracks. |
| BusTrack Class | Represents a bus track. |
| AudioBusTrack Class | Represents an audio bus track. |
| VideoBusTrack Class | Represents a video bus track. |
| TrackEventGroup Class | Represents a group of track events. |
| TrackEventGroups Class | Collection of track event groups. |
| Marker Class | Represents a marker on the project's time line. |
| CDMarker Class | Represents a CD track index marker. |
| MarkerCommandType Class | Command marker types |
| CommandMarker Class | Represents a command marker. |
| Region Class | Represents a region marker on the project time line. |
| CDRegion Class | Represents a CD track region marker. |
| Markers Class | Collection of time line markers. |
| VideoProperties Class | Base class for objects that represent video properties. |
| ProjectVideoProperties Class | Represents a project's video properties. |
| PreviewVideoProperties Class | Represents a project's preview video properties. |
| AudioProperties Class | Base class for objects that represent audio properties. |
| ProjectAudioProperties Class | Represents a project's audio properties. |
| RulerProperties Class | Represents a project's ruler properties. |
| SummaryProperties Class | Represents a project's summary properties. |
| AudioCDProperties Class | Represents a project's audio CD properties. |
| Project Class | Represents the currently opened project. |
| RenderArgs Class | Arguments for a render operation |
| Vegas Class | Represents the Vegas application. |
| ScriptArg Class | Script argment name/value pair. |
| ScriptArgs Class | Represents a list of script argments. |
enum MediaType
|
Enumeration of media types.
System.Enum
| Fields: | Summary: |
|---|---|
MediaType.Unknown
|
unknown media type |
MediaType.Audio
|
audio media type |
MediaType.Video
|
video media type |
enum ChannelRemapping
|
Enumeration of audio channel remapping modes.
System.Enum
| Fields: | Summary: |
|---|---|
ChannelRemapping.None
|
no channel remapping |
ChannelRemapping.DisableLeft
|
disable left channel |
ChannelRemapping.DisableRight
|
disable right channel |
ChannelRemapping.MuteLeft
|
mute left channel |
ChannelRemapping.MuteRight
|
mute right channel |
ChannelRemapping.Mono
|
mono |
ChannelRemapping.Swap
|
swap channels |
enum VideoResampleMode
|
Enumeration of video resampling modes.
System.Enum
| Fields: | Summary: |
|---|---|
VideoResampleMode.Smart
|
resample if needed |
VideoResampleMode.Force
|
force resample |
VideoResampleMode.Disable
|
don't resample |
enum EnvelopeType
|
Enumeration of envelope types.
System.Enum
| Fields: | Summary: |
|---|---|
EnvelopeType.Volume
|
audio track volume |
EnvelopeType.Pan
|
audio track pan / surround pan x position |
EnvelopeType.BusA
|
send audio bus A |
EnvelopeType.BusB
|
send audio bus B |
EnvelopeType.BusC
|
send audio bus C |
EnvelopeType.BusD
|
send audio bus D |
EnvelopeType.BusE
|
send audio bus E |
EnvelopeType.BusF
|
send audio bus F |
EnvelopeType.BusG
|
send audio bus G |
EnvelopeType.BusH
|
send audio bus H |
EnvelopeType.BusI
|
send audio bus I |
EnvelopeType.BusJ
|
send audio bus J |
EnvelopeType.BusK
|
send audio bus K |
EnvelopeType.BusL
|
send audio bus L |
EnvelopeType.BusM
|
send audio bus M |
EnvelopeType.BusN
|
send audio bus N |
EnvelopeType.BusO
|
send audio bus O |
EnvelopeType.BusP
|
send audio bus P |
EnvelopeType.BusQ
|
send audio bus Q |
EnvelopeType.BusR
|
send audio bus R |
EnvelopeType.BusS
|
send audio bus S |
EnvelopeType.BusT
|
send audio bus T |
EnvelopeType.BusU
|
send audio bus U |
EnvelopeType.BusV
|
send audio bus V |
EnvelopeType.BusW
|
send audio bus W |
EnvelopeType.BusX
|
send audio bus X |
EnvelopeType.BusY
|
send audio bus Y |
EnvelopeType.BusZ
|
send audio bus Z |
EnvelopeType.Composite
|
video track composite level |
EnvelopeType.FadeToColor
|
video track fade to color |
EnvelopeType.Mute
|
audio track mute |
EnvelopeType.MotionBlurLength
|
video bus track motion blur length |
EnvelopeType.VideoSupersampling
|
video bus track video super-sampling |
EnvelopeType.PanY
|
surround pan y position |
EnvelopeType.PanSmoothness
|
surround pan smoothness |
EnvelopeType.PanCenter
|
surround pan center level |
EnvelopeType.TransitionProgress
|
transition progress |
EnvelopeType.Fade
|
not used |
EnvelopeType.Velocity
|
video event velocity |
EnvelopeType.AutomationMin
|
minimum id for audio effect automation |
EnvelopeType.AutomationMax
|
maximum id for audio effect automation |
enum CurveType
|
Enumeration of envelope curve types.
System.Enum
| Fields: | Summary: |
|---|---|
CurveType.Invalid
|
invalid envelope curve type |
CurveType.Sharp
|
cubic sharp fade |
CurveType.Slow
|
logarithmic slow fade |
CurveType.None
|
no fade (hold) |
CurveType.Linear
|
linear fade |
CurveType.Fast
|
logarithmic fast fade |
CurveType.Smooth
|
cubic smooth fade |
enum RulerFormat
|
Enumeration of ruler formats.
System.Enum
| Fields: | Summary: |
|---|---|
RulerFormat.Samples
|
samples |
RulerFormat.Time
|
time |
RulerFormat.Seconds
|
seconds |
RulerFormat.TimeAndFrames
|
time and frames |
RulerFormat.AbsoluteFrames
|
absolute frames |
RulerFormat.MeasuresAndBeats
|
measures and beats |
RulerFormat.SmpteNonDrop
|
SMPTE non-drop |
RulerFormat.Smpte30
|
SMPTE 30 frames per second |
RulerFormat.SmpteDrop
|
SMPTE drop frame |
RulerFormat.SmpteEBU
|
SMPTE EBU |
RulerFormat.SmpteFilmSync
|
SMPTE 24 frames per second |
RulerFormat.Nanoseconds
|
units of 100 nanoseconds |
RulerFormat.Microseconds
|
microseconds |
RulerFormat.FeetAndFrames16mm
|
Feet and Frames (16mm) |
RulerFormat.FeetAndFrames35mm
|
Feet and Frames (35mm) |
RulerFormat.AudioCDTime
|
Audio CD time |
RulerFormat.SmpteFilmSyncIVTC
|
Inverse telecine NTSC |
enum BeatValue
|
Enumeration of beat values.
System.Enum
| Fields: | Summary: |
|---|---|
BeatValue.Whole
|
Whole Note |
BeatValue.Half
|
Half Note |
BeatValue.Quarter
|
Quarter Note |
BeatValue.Eighth
|
Eighth Note |
BeatValue.Sixteenth
|
16th Note |
BeatValue.ThirtySecond
|
32nd Note |
enum AudioBusMode
|
Enumeration of audio bus modes.
System.Enum
| Fields: | Summary: |
|---|---|
AudioBusMode.Stereo
|
Stereo (2 channels) |
AudioBusMode.Surround
|
Surround (5.1) |
enum AudioChannelFlags
|
Enumeration of audio channel flags (speaker positions).
System.Enum
| Fields: | Summary: |
|---|---|
AudioChannelFlags.SpeakerFrontLeft
|
left front speaker (also used to indicate mono) |
AudioChannelFlags.SpeakerFrontRight
|
right front speaker |
AudioChannelFlags.SpeakerFrontCenter
|
center front speaker |
AudioChannelFlags.SpeakerLowFrequency
|
low frequecy speaker (subwoofer) |
AudioChannelFlags.SpeakerBackLeft
|
left back speaker |
AudioChannelFlags.SpeakerBackRight
|
right back speaker |
AudioChannelFlags.SpeakerFrontLeftOfCenter
|
center left front speaker |
AudioChannelFlags.SpeakerFrontRightOfCenter
|
center right front speaker |
AudioChannelFlags.SpeakerBackCenter
|
back-center speaker |
AudioChannelFlags.SpeakerSideLeft
|
left side speaker |
AudioChannelFlags.SpeakerSideRight
|
right side speaker |
AudioChannelFlags.SpeakerTopCenter
|
center top speaker |
AudioChannelFlags.SpeakerTopFrontLeft
|
left front top speaker |
AudioChannelFlags.SpeakerTopFrontCenter
|
center front top speaker |
AudioChannelFlags.SpeakerTopFrontRight
|
right front top speaker |
AudioChannelFlags.SpeakerTopBackLeft
|
left back top speaker |
AudioChannelFlags.SpeakerTopBackCenter
|
center back top speaker |
AudioChannelFlags.SpeakerTopBackRight
|
right back top speaker |
enum AudioResampleQuality
|
Enumeration of audio resample quality modes.
System.Enum
| Fields: | Summary: |
|---|---|
AudioResampleQuality.Preview
|
preview (lower) quality |
AudioResampleQuality.Good
|
good quality |
AudioResampleQuality.Best
|
best quality |
enum VideoFieldOrder
|
Enumeration of video field orderings.
System.Enum
| Fields: | Summary: |
|---|---|
VideoFieldOrder.ProgressiveScan
|
progressive scan (multimedia) |
VideoFieldOrder.UpperFieldFirst
|
interlaced (upper field first) |
VideoFieldOrder.LowerFieldFirst
|
interlaced (lower field first) |
enum VideoRenderQuality
|
Enumeration of video render quality modes.
System.Enum
| Fields: | Summary: |
|---|---|
VideoRenderQuality.Draft
|
draft quality |
VideoRenderQuality.Preview
|
preview quality |
VideoRenderQuality.Good
|
good quality |
VideoRenderQuality.Best
|
best quality |
enum VideoDeinterlaceMethod
|
Enumeration of video deinterlace methods.
System.Enum
| Fields: | Summary: |
|---|---|
VideoDeinterlaceMethod.None
|
no deinterlacing |
VideoDeinterlaceMethod.BlendFields
|
deinterlace by blend fields |
VideoDeinterlaceMethod.InterpolateFields
|
deinterlace by interpolation |
enum MotionBlurType
|
Enumeration of motion blur types.
System.Enum
| Fields: | Summary: |
|---|---|
MotionBlurType.Gaussian
|
gaussian |
MotionBlurType.Pyramid
|
pyramid |
MotionBlurType.Box
|
box |
MotionBlurType.AsymmetricGaussian
|
asymmetric gaussian |
MotionBlurType.AsymmetricPyramid
|
asymmetric pyramid |
MotionBlurType.AsymmetricBox
|
asymmetric box |
enum ImageFileFormat
|
Enumeration of image file formats.
System.Enum
| Fields: | Summary: |
|---|---|
ImageFileFormat.PNG
|
PNG format |
ImageFileFormat.JPEG
|
JPEG format |
enum RenderStatus
|
Enumeration of return values for render commands.
System.Enum
| Fields: | Summary: |
|---|---|
RenderStatus.Unknown
|
unknown render status |
RenderStatus.Queued
|
render queued |
RenderStatus.NothingToDo
|
given the arguments, there was nothing to render |
RenderStatus.Rendering
|
render in progress |
RenderStatus.Stitching
|
stitching segments |
RenderStatus.Complete
|
render completed |
RenderStatus.Canceled
|
render canceled |
RenderStatus.Failed
|
render failed |
RenderStatus.Quit
|
application was quit mid-render |
enum VideoAlphaType
|
Enumeration of video alpha modes.
System.Enum
| Fields: | Summary: |
|---|---|
VideoAlphaType.Undefined
|
undefined alpha mode |
VideoAlphaType.None
|
no alpha channel |
VideoAlphaType.Straight
|
straight alpha channel |
VideoAlphaType.Premultiplied
|
premultiplied alpha |
VideoAlphaType.PremultipliedDirty
|
premultiplied (dirty) |
enum PanType
|
Enumeration of audio pan settings.
System.Enum
| Fields: | Summary: |
|---|---|
PanType.Add
|
add |
PanType.ConstantPower
|
constant power |
PanType.Balance
|
balance |
PanType.Notch3Db
|
notched at 3 Db |
PanType.Notch6Db
|
Notched at 6Db |
PanType.Film
|
film |
PanType.Unknown
|
unknown/invalid pan type |
enum LowPassFilterQuality
|
Enumeration of low-pass filter qualities
System.Enum
| Fields: | Summary: |
|---|---|
LowPassFilterQuality.Preview
|
Preview quality |
LowPassFilterQuality.Good
|
good quality |
LowPassFilterQuality.Best
|
best quality |
enum VideoKeyframeType
|
Enumeration of video key frame interpolation types.
System.Enum
| Fields: | Summary: |
|---|---|
VideoKeyframeType.Linear
|
linear interpolation |
VideoKeyframeType.Hold
|
hold first value |
VideoKeyframeType.Slow
|
slow (accelerating) interpolation |
VideoKeyframeType.Fast
|
fast (decelerating) interpolation |
VideoKeyframeType.Smooth
|
smooth interpolation |
VideoKeyframeType.Sharp
|
sharp interpolation |
enum AppChangeFlag
|
Enumeration of application change flags
System.Enum
enum ProjectChangeFlag
|
Enumeration of project change flags
System.Enum
enum CompositeMode
|
Video track composite modes.
System.Enum
| Fields: | Summary: |
|---|---|
CompositeMode.Invalid
|
Invalid composite mode. |
CompositeMode.Custom
|
Use compositing effect. |
CompositeMode.SrcAlpha
|
Source alpha composite mode. |
CompositeMode.SrcAlpha3D
|
3D source alpha composite mode. |
CompositeMode.Add
|
Add composite mode. |
CompositeMode.Subtract
|
Subtract composite mode. |
CompositeMode.Multiply
|
Multiply composite mode. |
CompositeMode.Cut
|
Cut composite mode. |
CompositeMode.Screen
|
Screen composite mode. |
CompositeMode.Overlay
|
Overlay composite mode. |
CompositeMode.HardLight
|
Hard light composite mode. |
CompositeMode.Dodge
|
Dodge composite mode. |
CompositeMode.Burn
|
Burn composite mode. |
CompositeMode.Darken
|
Darken composite mode. |
CompositeMode.Lighten
|
Lighten composite mode. |
CompositeMode.Difference
|
Difference composite mode. |
CompositeMode.DifferenceSquared
|
Difference squared composite mode. |
class VideoColor
|
Represents a color used in various video properties
System.Object
| Public Constructors: | Summary: |
|---|---|
VideoColor(UInt32 argb)
|
Construct a new video color from a combined color value. Parameters: argb: a combined color value |
VideoColor(Byte r, Byte g, Byte b, Byte a)
|
Construct a new video color from separate color values. Parameters: r: the red componentg: the green componentb: the blue componenta: the alpha component |
VideoColor(Byte r, Byte g, Byte b)
|
Construct a new video color (with full alpha) from separate color values. Parameters: r: the red componentg: the green componentb: the blue component |
| Public Properties: | Summary: |
|---|---|
Byte A
|
Get or set the alpha component of the color. |
Byte R
|
Get or set the red component of the color. |
Byte G
|
Get or set the green component of the color. |
Byte B
|
Get or set the blue component of the color. |
| Public Methods: | Summary: |
|---|---|
virtual String ToString()
|
Returns a string representation of the color. |
UInt32 ToArgb()
|
Returns the 32-bit unsigned integer representation of the color (0xAARRGGBB). |
abstract class BaseList
|
Base class for most collections in the Vegas object model.
System.Object
| Public Properties: | Summary: |
|---|---|
Int32 Count
|
Get the number of items in the collection. |
Boolean IsSynchronized
|
Indicates whether access to the collection is thread safe. |
Object SyncRoot
|
Get the object that can be used to to synchronize access to the collection. |
Boolean IsFixedSize
|
Indicates whether the collection has a fixed size. |
Boolean IsReadOnly
|
Indicates whether the collection is read only. |
Object Item
|
Get the nth item in the collection. |
| Public Methods: | Summary: |
|---|---|
virtual Void CopyTo(Array array, Int32 index)
|
Copies the items in the collection to an array. Parameters: array: destination arrayindex: start index in the array |
virtual IEnumerator GetEnumerator()
|
Get a new enumerator for the collection. |
virtual Int32 Add(Object item)
|
Add an item to the collection. Parameters: item: object to add |
virtual Void Clear()
|
Removes all items from the collection. |
virtual Boolean Contains(Object item)
|
Indicates whether the given object is a member of the collection. Parameters: item: object whose membership is determined |
virtual Int32 IndexOf(Object item)
|
Get the index of the given object in the collection. Parameters: item: object whose index is determined |
virtual Void Insert(Int32 index, Object item)
|
Inserts the object at the given index. Parameters: index: zero-based indexitem: object to insert |
virtual Void Remove(Object item)
|
Removes the given object from the collection. Parameters: item: object to be removed |
virtual Void RemoveAt(Int32 index)
|
Removes the object at the given index. Parameters: index: index of item to be removed |
class BaseListEnumerator
|
Base class for enumerators of Vegas collections.
System.Object
| Public Properties: | Summary: |
|---|---|
Object Current
|
Get the current object in the enumeration. |
| Public Methods: | Summary: |
|---|---|
virtual Boolean MoveNext()
|
Move to the next object in the enumeration. |
virtual Void Reset()
|
Reset the enumeration. |
class Timecode
|
Represents a time or length in Vegas.
System.Object
| Public Constructors: | Summary: |
|---|---|
Timecode()
|
Create a new time code representing zero time. |
Timecode(Double milliseconds)
|
Create a new time code from a number of milliseconds. (Depricated in version 5.0) Parameters: milliseconds: number of milliseconds |
Timecode(String timestamp)
|
Create a new time code from a time stamp string. Parameters: timestamp: a string representation of the new time code |
| Public Properties: | Summary: |
|---|---|
Int64 Nanos
|
Get or set the time code's internal representation in hundred nanosecond units. |
Int64 FrameCount
|
Get or set the number of frames represented by the time code. |
| Public Methods: | Summary: |
|---|---|
static Timecode FromString(String timestamp)
|
Create a new Timecode from a string representation using the current project's ruler format. Parameters: timestamp: a string representation of the new time code |
static Timecode FromString(String timestamp, RulerFormat format)
|
Create a new Timecode from a string representation using the provided ruler format. Parameters: timestamp: a string representation of the new time codeformat: ruler format to use for conversion |
static Timecode FromMilliseconds(Double milliseconds)
|
Create a new Timecode from a number of milliseconds. Parameters: milliseconds: number of milliseconds. |
static Timecode FromSeconds(Double seconds)
|
Create a new Timecode from a number of seconds. Parameters: seconds: number of seconds. |
static Timecode FromNanos(Int64 nanos)
|
Create a new Timecode from a number of hundred nanosecond units. Parameters: nanos: number of hundred nanosecond time units. |
static Timecode FromFrames(Int64 frames)
|
Create a new Timecode from a number of frames. Parameters: frames: number of frames (frame length depends on current project's ruler format). |
virtual Boolean Equals(Object )
|
Determines whether the specified object is equal to
the current Timecode. Parameters: : |
static Boolean op_Equality(Timecode a, Timecode b)
|
Determines whether the specified Timecode objects are
equal. Parameters: a: left hand side of operatorb: right hand side of operator |
static Boolean op_Inequality(Timecode a, Timecode b)
|
Determines whether the specified Timecode objects are
not equal. Parameters: a: left hand side of operatorb: right hand side of operator |
virtual Int32 GetHashCode()
|
Serves as a hash function for Timecode objects, suitable for use in hashing algorithms and data structures like a hash table. |
static Boolean operator <(Timecode a, Timecode b)
|
Indicates whether one time code is less than another. Parameters: a: left hand side of operatorb: right hand side of operator |
static Boolean operator >(Timecode a, Timecode b)
|
Indicates whether one time code is greater than another. Parameters: a: left hand side of operatorb: right hand side of operator |
static Boolean operator <=(Timecode a, Timecode b)
|
Indicates whether one time code is less than or equal to another. Parameters: a: left hand side of operatorb: right hand side of operator |
static Boolean op_GreaterThanOrEqual(Timecode a, Timecode b)
|
Indicates whether one time code is greater than or equal to another. Parameters: a: left hand side of operatorb: right hand side of operator |
static Timecode operator +(Timecode a, Timecode b)
|
Add one time code to another. Parameters: a: left hand side of operatorb: right hand side of operator |
static Timecode operator -(Timecode a, Timecode b)
|
Subtract one time code to another. Parameters: a: left hand side of operatorb: right hand side of operator |
static Timecode operator ++(Timecode value)
|
Increment a time code by one frame. Parameters: value: Timecode value to increment |
static Timecode operator --(Timecode value)
|
Decrement a time code by one frame. Parameters: value: Timecode value to increment |
virtual Int32 CompareTo(Object other)
|
Compares this time code to another. Parameters: other: Timecode object which is compared to this instance. |
virtual String ToString()
|
Get the time code's string representation using the current project's ruler format. |
String ToString(RulerFormat format)
|
Get the time code's string representation using the provided ruler format. Parameters: format: ruler format to use for conversion |
Double ToMilliseconds()
|
Convert the time code to a number of milliseconds. |
class EffectPreset
|
Represents a set of predefined parameter values for an effect key frame.
System.Object
| Public Properties: | Summary: |
|---|---|
String Name
|
Get the name of the preset. |
| Public Methods: | Summary: |
|---|---|
virtual String ToString()
|
Describe the preset as a string. |
class EffectPresets
|
Collection of parameter presets for an effect.
Sony.Vegas.BaseList
| Public Properties: | Summary: |
|---|---|
Boolean IsFixedSize
|
Indicates whether the collection has a fixed size. |
Boolean IsReadOnly
|
Indicates whether the collection is read only. |
class PlugInNode
|
Represents a node in the hierarchy of plug-in effects, transitions, and generators.
Sony.Vegas.BaseList
| Public Properties: | Summary: |
|---|---|
Boolean IsFixedSize
|
Indicates whether the collection has a fixed size. |
String Name
|
Get the name of the plug-in. |
Boolean IsVideo
|
Indicates whether or the the plug-in operates on video data. |
Boolean IsAudio
|
Indicates whether or the the plug-in operates on audio data. |
Boolean IsContainer
|
Indicates whether or the the node contains children. |
Boolean IsReadOnly
|
Indicates whether or the the node is read only. |
Boolean CanCreateSubnodes
|
Indicates whether or the the node can add child nodes. |
Boolean IsDisabled
|
Indicates whether or the the plug-in is disabled. |
Boolean IsPackage
|
Indicates whether or the the plug-in node is a package of other plug-ins. |
Boolean IsAutomatable
|
Indicates whether or the the plug-in is automatable. |
EffectPresets Presets
|
Get the collection of effect presets for this plug-in node. |
| Public Methods: | Summary: |
|---|---|
PlugInNode GetChild(Int32 index)
|
Get the nth child of this node. Parameters: index: index of child node |
PlugInNode GetChildByName(String name)
|
Get a child node by name. Parameters: name: name of child node |
PlugInNode GetChildByClassID(Guid classID)
|
Get a child node by class id Guid. Parameters: classID: Class ID Guid of child node |
class RenderTemplate
|
Represents a render template.
System.Object
| Public Properties: | Summary: |
|---|---|
String Name
|
Get the name of the render template. |
Int32 AudioStreamCount
|
Get the number of audio streams produced by the render template. |
Int32 VideoStreamCount
|
Get the number of video streams produced by the render template. |
AudioChannelFlags AudioChannelFlags
|
Get the audio channel flags (speaker positions) produced by the render template. |
| Public Methods: | Summary: |
|---|---|
Boolean IsValid()
|
Indicates whether the render template is valid. |
virtual String ToString()
|
Returns a string representation the render template (same as Name property). |
class RenderTemplates
|
Collection of templates for a render plug-in.
Sony.Vegas.BaseList
| Public Properties: | Summary: |
|---|---|
Boolean IsFixedSize
|
Indicates whether the collection has a fixed size. |
Boolean IsReadOnly
|
Indicates whether the collection is read only. |
| Public Methods: | Summary: |
|---|---|
RenderTemplate FindByName(String )
|
Finds a render template by name. Parameters: : |
class Renderer
|
Represents a render plug-in.
System.Object
| Public Properties: | Summary: |
|---|---|
String Name
|
Get the name of the render plug-in (same as FileTypeName). |
String FileTypeName
|
Get the name of the file type created by the render plug-in. |
String FileExtension
|
Get the file extension associated with the render plug-in. |
RenderTemplates Templates
|
Get the collection of render templates for the render plug-in. |
| Public Methods: | Summary: |
|---|---|
virtual String ToString()
|
Combines the FileTypeName and FileExtension strings. |
class Renderers
|
Collection of render plug-ins.
Sony.Vegas.BaseList
| Public Properties: | Summary: |
|---|---|
Boolean IsFixedSize
|
Indicates whether the collection has a fixed size. |
Boolean IsReadOnly
|
Indicates whether the collection is read only. |
| Public Methods: | Summary: |
|---|---|
Renderer FindByName(String rendererName)
|
Finds a renderer by name. Parameters: rendererName: the name of the renderer |
Renderer FindByClassID(Guid classID)
|
Finds a renderer by class id. Parameters: classID: the class id of the renderer |
class EnvelopePoint
|
Represents an envelope point.
System.Object
| Public Constructors: | Summary: |
|---|---|
EnvelopePoint(Timecode x, Double y, CurveType curveType)
|
Create a new envelope point. Parameters: x: position of envelope pointy: value of envelope pointcurveType: type of curve |
EnvelopePoint(Timecode x, Double y)
|
Create a new envelope point. Parameters: x: position of envelope pointy: value of envelope point |
| Public Properties: | Summary: |
|---|---|
Timecode X
|
Get or set the time-wise position of the envelope point. |
Double Y
|
Get or set the value of the envelope point. |
CurveType Curve
|
Get or set the type of curve following the envelope point. |
Timecode MaxTransitionProgress
|
Get the maximum X value for a transition progress envelope point. |
| Public Methods: | Summary: |
|---|---|
virtual Boolean Equals(Object obj)
|
Determines whether the specified object is equal to
this EnvelopePoint. Parameters: obj: Object to compare with this EnvelopePoint. |
static Boolean op_Equality(EnvelopePoint a, EnvelopePoint b)
|
Determines whether the specified EnvelopePoint
objects are equal. Parameters: a: left hand side of operatorb: right hand side of operator |
static Boolean op_Inequality(EnvelopePoint a, EnvelopePoint b)
|
Determines whether the specified EnvelopePoint
objects are not equal. Parameters: a: left hand side of operatorb: right hand side of operator |
virtual Int32 GetHashCode()
|
Serves as a hash function for EnvelopePoint objects, suitable for use in hashing algorithms and data structures like a hash table. |
Boolean IsValid()
|
Indicates whether the envelope point has been added. |
class EnvelopePoints
|
Collection of points in an envelope.
Sony.Vegas.BaseList
| Public Methods: | Summary: |
|---|---|
virtual Int32 Add(Object item)
|
Add a point to an envelope. Parameters: item: EnvelopePoint object to add |
virtual Void Remove(Object item)
|
Remove a point from an envelope. Parameters: item: EnvelopePoint object to remove |
virtual Void Clear()
|
Removes all envelope points from the collection except the first. |
virtual Boolean Contains(Object item)
|
Indicates if a point is contained in the collection. Parameters: item: EnvelopePoint or Timecode to test for membership. |
EnvelopePoint GetPointAtX(Timecode x)
|
Get the point (if any) at the given time code. Parameters: x: position of envelope point |
class Envelope
|
Represents an envelope.
System.Object
| Public Constructors: | Summary: |
|---|---|
Envelope(EnvelopeType type)
|
Create a new envelope. Parameters: type: type of envelope |
| Public Properties: | Summary: |
|---|---|
EnvelopeType Type
|
Get the type of envelope. |
String Name
|
Get the name of the envelope. |
Int32 Index
|
Get the index of the envelope. |
Double Min
|
Get the minimum value for points in the envelope. |
Double Max
|
Get the maximum value for points in the envelope. |
Double Neutral
|
Get the neutral value for points in the envelope. |
EnvelopePoints Points
|
Get the envelope's collection of points. |