Sha256: 467f171ff2cae56ef039681ebe3ee10be2bbee91babc7453908135c3159de79f

Contents?: true

Size: 550 Bytes

Versions: 2

Compression:

Stored size: 550 Bytes

Contents

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.5 lib/edl/transition.rb
edl-0.1.4 lib/edl/transition.rb