Structures
The following structures are available globally.
-
An annotation that indicates the result of scene analysis to determine the number of people present and the shot and stabilization types.
See moreDeclaration
Swift
public struct AnalysisMarker : XMLRepresentable
-
A reference to a media file managed by a library.
See also
FCPXML Resources DocumentationSome asset properties are optional because their values can be derived from the respective media file. However, the asset file may be offline when Final Cut Pro X tries to access it, therefore, it is recommended that you specify the following properties for all assets:
hasAudio
,hasVideo
,audioSources
,audioChannels
, andaudioRate
.Third party tools can assign a unique identifier with the
uid
property of the asset. This allows you to reference the same asset in a subsequent XML import, even if the URL specified by thesourceURL
is different. Final Cut Pro X locates the asset using theuid
property value and relinks the media. The asset now uses the media file at the new URL.This enables a workflow where the initial XML import uses the proxy media that is currently available to allow the editor to start working. Then, when the respective high resolution media becomes available, a second XML import can be used to replace the proxy media with the high resolution media. For this to work, the proxy and the high resolution media must be compatible, meaning their frame rates match and the high resolution media covers the time range of the proxy media. If desired, you can also go back from the high resolution media to the proxy media, as long as the two medias are compatible. There can be a situation where an importing XML includes a media asset with its unique identifier assigned by a third party tool, yet the media asset has already been imported manually into Final Cut Pro X by the user. In such a case, Final Cut Pro X finds the asset through the URL specified by the
See moresourceURL
property and assigns the unique identifier from the importing XML to the asset already imported into Final Cut Pro X overriding the unique identifier generated by Final Cut Pro X. This is only possible when the media asset imported has a unique identifier assigned by Final Cut Pro X.Declaration
Swift
public struct Asset : Resource
-
A clip referencing a single media asset.
See moreDeclaration
Swift
public struct AssetClip : XMLRepresentable, Offsettable
-
Declaration
Swift
public struct Audio : XMLRepresentable, Offsettable
-
Defines an audio component by its source channels.
See moreDeclaration
Swift
public struct AudioChannelSource : XMLRepresentable
-
A reference to an audio effect.
See moreDeclaration
Swift
public struct AudioFilter : XMLRepresentable
-
Defines an audio component by its role.
See moreDeclaration
Swift
public struct AudioRoleSource : XMLRepresentable
-
A container of alternative elements, exactly one of which is currently active.
See moreDeclaration
Swift
public struct Audition : XMLRepresentable, Offsettable
-
Modifies the compositing blend mode and opacity percentage of the visible image.
See moreDeclaration
Swift
public struct Blend : XMLRepresentable
-
A caption or subtitle with custom text elements.
See moreDeclaration
Swift
public struct Caption : XMLRepresentable
-
An annotation that applies to a range of time and indicates a chapter.
See moreDeclaration
Swift
public struct ChapterMarker : XMLRepresentable
-
An annotation that applies to a range of time and indicates a chapter.
See moreDeclaration
Swift
public struct Clip : XMLRepresentable, Offsettable
-
A container to group other collection elements.
See moreDeclaration
Swift
public struct CollectionFolder : XMLRepresentable
-
Modifies the image size of a clip to fill, fit, or remain unchanged within its container’s frame size. The type property specifies the conform method to apply, which defaults to fit. With the absence of this adjustment, the clip is fit into the frame size.
See also
FCPXML Adjustments And EffectsDeclaration
Swift
public struct Conform : XMLRepresentable
-
Used to indicate rate conforming. When the timeline frame rate and the media frame rate are certain combinations, Final Cut Pro X automatically applies rate conforming by converting the media frame rate to match the timeline frame rate. As a result, the duration is also adjusted.
See also
FCPXML Story ElementsDeclaration
Swift
public struct ConformRate : XMLRepresentable
-
Modifies the corners of the visible image, adding a distort (or skew) effect using the
bottomLeft
,topLeft
,topRight
, andbottomRight
properties. These attributes are two-dimensional point values expressed as a percentage of frame height.See also
FCPXML Adjustments And EffectsDeclaration
Swift
public struct Corners : XMLRepresentable
-
Modifies the visible image width and height by cropping, trimming, or panning.
See moreDeclaration
Swift
public struct Crop : XMLRepresentable
-
Defines the crop values of a crop adjustment.
See moreDeclaration
Swift
public struct CropRect : XMLRepresentable
-
A reference to an effect plug-in (for example, FxPlug, Motion document, or Audio Unit). The
sourceURL
property specifies the location of a Motion template, when templates are managed in the library or another external location.See also
FCPXML Resources DocumentationDeclaration
Swift
public struct Effect : Resource
-
Specifies the equalization applied to a clip.
See moreDeclaration
Swift
public struct Equalization : XMLRepresentable
-
Use a Final Cut Pro X event to store and organize clips and projects. You can import media files into a new or existing event. You can copy these files into an event’s own media folder, or reference them in their original locations. Final Cut Pro X tracks each imported file as an asset and ensures your event contains at least one clip per asset.
See also
FCPXML ConceptsDeclaration
Swift
public struct Event : XMLRepresentable
-
A container for the possible event items that can be included in a FCPXML document. See
See moreFCPXMLDocument.Configuration
for possible document configurations.Declaration
Swift
public struct EventItems : Equatable
-
Undocumented
See moreDeclaration
Swift
public struct FCPXMLConverter
-
An FCPXML document represents a Final Cut Pro X object. There are three supported object types, enumerated in
See moreFCPXMLDocument.Configuration
.Declaration
Swift
@dynamicMemberLookup public struct FCPXMLDocument : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct FadeIn : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct FadeOut : XMLRepresentable
-
A reference to a Final Cut Pro X video format definition.
See also
FCPXML Resources DocumentationDeclaration
Swift
public struct Format : Resource
-
Undocumented
See moreDeclaration
Swift
public struct Gap : XMLRepresentable, Offsettable
-
Undocumented
See moreDeclaration
Swift
public struct HumReduction : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct ImportOption : XMLRepresentable
-
A container for a set of import options.
See moreDeclaration
Swift
public struct ImportOptions : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct KeyedData : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Keyframe : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct KeyframeAnimation : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Keyword : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct KeywordCollection : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct KeywordName : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Library : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Loudness : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Marker : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct MaskIsolation : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct MaskShape : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct MatchClip : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct MatchEqualization : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct MatchKeywords : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct MatchMedia : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct MatchProperty : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct MatchRatings : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct MatchRoles : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct MatchShot : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct MatchStabilization : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct MatchText : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct MatchTime : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct MatchTimeRange : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Metadatum : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Multicam : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct MulticamAngle : XMLRepresentable, ClipItemOrdering
-
Undocumented
See moreDeclaration
Swift
public struct MulticamClip : XMLRepresentable, Offsettable
-
Undocumented
See moreDeclaration
Swift
public struct MulticamSource : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Mute : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct NoiseReduction : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Orientation : XMLRepresentable
-
/// Defines the pan values of a crop adjustment.
See moreDeclaration
Swift
public struct PanRect : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Panner : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Parameter : XMLRepresentable
-
A structure that contains a point in a two-dimensional coordinate system.
See moreDeclaration
Swift
public struct Point : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Project : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Rating : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct ReferenceClip : XMLRepresentable, Offsettable
-
Undocumented
See moreDeclaration
Swift
public struct Reorient : XMLRepresentable
-
A container for the resources contained in a FCPXML document.
See moreDeclaration
Swift
public struct Resources : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Role : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct RollingShutter : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Sequence : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct ShotType : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct SmartCollection : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Spine : XMLRepresentable, ClipItemOrdering, Offsettable
-
Undocumented
See moreDeclaration
Swift
public struct Stabilization : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct StabilizationType : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct SyncClip : XMLRepresentable, Offsettable
-
Undocumented
See moreDeclaration
Swift
public struct SyncSource : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Text : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct TextStyle : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct TextStyleDefinition : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct TimeMap : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct TimePoint : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Title : XMLRepresentable, Offsettable
-
Undocumented
See moreDeclaration
Swift
public struct Transform : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Transform360 : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Transition : XMLRepresentable, Offsettable
-
/// Defines the trim values of a crop adjustment.
See moreDeclaration
Swift
public struct TrimRect : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Video : XMLRepresentable, Offsettable
-
Undocumented
See moreDeclaration
Swift
public struct VideoFilter : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct VideoFilterMask : XMLRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Volume : XMLRepresentable