QMedia Movie track commands


QM_GetTrackMatrix(movieRef; trackID; trackMatrix):error
movieRef Longint Movie reference
trackID Longint Track ID
trackMatrix Array real Track matrix
error Longint Error result

Returns the transormation matrix of a track.

Parameter movieRef is the reference to the movie instance. The movie reference must have been previously obtained with a call to QM_NewMovieFromFile or QM_NewMovieFromURL.

Parameter trackID is the ID of the track.

Parameter trackMatrix receives the track's transormation matrix. The track matrix parameter must be declared as a 3 x 3 array of reals.


  `Get the transformationmatrix of track ID $trackID of movie $movie
ARRAY REAL($matrix;3;3)
$err:=QM_GetTrackMatrix ($movie;$trackID;$matrix)

Related commands

QM_SetTrackMatrix Changes the track's transormation matrix.
QM_SetIdentityMatrix Sets the contents of a matrix record to the identity matrix.
QM_TranslateMatrix Adds a translation transformation to a matrix record.
QM_ScaleMatrix Adds a scaling transformation to a matrix record.
QM_RotateMatrix Adds a rotation transformation to a matrix record.
QM_SkewMatrix Adds a skew transformation to a matrix record.
QM_ConcatMatrix Concatenates two matrices.

QMedia © Escape OE
Generated by QDoc 2.8 on Thu, Nov 24, 2011 18:41:19