Sha256: dca5c72e62dfa78ec43fdd4f23ad4cbe4fc571ed997a6a7019a270964aeaa89c

Contents?: true

Size: 568 Bytes

Versions: 2

Compression:

Stored size: 568 Bytes

Contents

# frozen_string_literal: true

module EDL
  # Represents a transition. We currently only support dissolves and SMPTE wipes
  # Will be avilable as EDL::Clip#transition
  class Transition
    # Length of the transition in frames
    attr_accessor :duration

    # Which effect is used (like CROSS DISSOLVE)
    attr_accessor :effect
  end

  # Represents a dissolve
  class Dissolve < Transition
  end

  # Represents an SMPTE wipe
  class Wipe < Transition
    # Which SMPTE wipe is needed
    attr_accessor :smpte_wipe_index
  end

  class Key < Transition
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
edl-0.1.7 lib/edl/transition.rb
edl-0.1.6 lib/edl/transition.rb