class FlameChannelParser::Key

Represents a keyframe

Attributes

break_slope[RW]

Whether the tangents are broken at this keyframe

curve_mode[RW]

Curve order (relevant for 2012 only)

curve_order[RW]

Curve order (relevant for 2012 only)

frame[RW]

Frame on which the keyframe is set

interpolation[RW]

Inteprolation type from this key onwards

l_handle_x[RW]

Coordinates of the handles for 2012 setups

l_handle_y[RW]

Coordinates of the handles for 2012 setups

left_slope[RW]

Left and right slope (will return raw slope values for pre-2012, and computed ones for 2012)

r_handle_x[RW]

Coordinates of the handles for 2012 setups

r_handle_y[RW]

Coordinates of the handles for 2012 setups

right_slope[RW]

Left and right slope (will return raw slope values for pre-2012, and computed ones for 2012)

value[RW]

Value at this keyframe

Public Instance Methods

has_2012_tangents?() click to toggle source

Tells if this keyframe has 2012 tangents in it

# File lib/key.rb, line 60
def has_2012_tangents?
  @has_tangents ||= !!(l_handle_x && l_handle_y)
end