nuke.FrameRange¶
-
class
nuke.
FrameRange
¶ Bases:
object
A frame range, with an upper and lower bound and an increment.
Methods
return the first frame of the range.
return the numbers of frames defined in the range.
return the frame according to the index, parameter n must be between 0 and frames().
return the increment between two frames.
return if the frame is inside the range.
return the last frame of the range.
return the maximun frame define in the range.
return the minimun frame define in the range.
set the first frame of the range.
set the increment between two frames.
set the last frame of the range.
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.
-