Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro Scripting 3D track motion

  • Dr. nagy Ferenc

    December 7, 2007 at 9:13 pm

    I’ve uploaded this picture for a different topic but it shows quite well what this script does (look at the left picture):
    Free Image Hosting at www.ImageShack.us

  • Andre Mattera

    August 9, 2010 at 6:45 pm

    Hi,

    Sorry if you just answered this here but I guess I’m missing something obvious. I’m trying to simply add some video tracks to a project and change the composite mode to SourceAlpha3D as well.

    The following C# code is part of a nested loop to create a video wall and set the size, and it gets the tracks in but then I am simply, afte all tracks are added, trying to change the composite mode for specific tracks.

    VideoTrack track = new VideoTrack(trackIndex++,”Track”+trackIndex);
    vegas.Project.Tracks.Add(track);
    TrackMotionKeyframe mkf = track.TrackMotion.MotionKeyframes[0];
    mkf.Width = TrackWidth;
    mkf.Height = TrackHeight;

    I’ve tried to reference the compositemode property of a “VideoTrack” but keep getting a message indicating it’s a type not a variable. Please help me see what I am obviously missing.

    Thank you,

    Andre

Page 2 of 2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy