nuke.FrameRange
- class nuke.FrameRange
Bases:
pybind11_objectA frame range, with an upper and lower bound and an increment.
Construct from a frame range string, e.g. ‘1-10x2’.
Methods
self.first() -> int
self.frames() -> int
self.getFrame(n) -> int
self.increment() -> int
self.isInRange(n) -> int
self.last() -> int
self.maxFrame() -> int
self.minFrame() -> int
self.setFirst(n) -> None
self.setIncrement(n) -> None
self.setLast(n) -> None
self.stepFrame() -> int
- 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 maximum frame define in the range.
- minFrame() int
return the minimum 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.