nuke.FrameRange

class nuke.FrameRange

Bases: object

A frame range, with an upper and lower bound and an increment.

Methods

first

return the first frame of the range.

frames

return the numbers of frames defined in the range.

getFrame

return the frame according to the index, parameter n must be between 0 and frames().

increment

return the increment between two frames.

isInRange

return if the frame is inside the range.

last

return the last frame of the range.

maxFrame

return the maximun frame define in the range.

minFrame

return the minimun frame define in the range.

setFirst

set the first frame of the range.

setIncrement

set the increment between two frames.

setLast

set the last frame of the range.

stepFrame

return the absolute increment between two frames.

first() → int

return the first frame of the range.

frames() → int

return the numbers of frames defined in the range.

getFrame(n) → int

return the frame according to the index, parameter n must be between 0 and frames().

increment() → int

return the increment between two frames.

isInRange(n) → int

return if the frame is inside the range.

last() → int

return the last frame of the range.

maxFrame() → int

return the maximun frame define in the range.

minFrame() → int

return the minimun frame define in the range.

setFirst(n) → None

set the first frame of the range.

setIncrement(n) → None

set the increment between two frames.

setLast(n) → None

set the last frame of the range.

stepFrame() → int

return the absolute increment between two frames.