Effect

public struct Effect : Resource

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.

  • id

    The identifier of the effect. This identifier is unique within the context of a FCPXML document and refers to the resource identifier (e.g. r1).

    Declaration

    Swift

    public let id: String
  • The name of the effect.

    Declaration

    Swift

    public var name: String?
  • uid

    The unique identifier of the effect.

    Declaration

    Swift

    public var uid: String
  • The source URL of the effect.

    Declaration

    Swift

    public var sourceURL: String?
  • Initializes a new effect.

    Declaration

    Swift

    public init(id: String, name: String? = nil, uid: String)

    Parameters

    id

    The identifier of the effect.

    name

    The name of the effect.

    uid

    The unique identifier of the effect.