nuke.FrameRange

Package nuke :: Class FrameRange |
[hide private]
[frames] | no frames]

# Class FrameRange

    object --+
             |
            nuke.FrameRange

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

Instance Methods | [hide private]
__init__(...) x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
__iter__(x) iter(x) |
a new object with type S, a subtype of T |
__new__(T, S, ...) |
__str__(x) str(x) |
int |
first(self) return the first frame of the range. |
int |
frames(self) return the numbers of frames defined in the range. |
int |
getFrame(self, n) return the frame according to the index, parameter n must be between 0 and frames(). |
int |
increment(self) return the increment between two frames. |
int |
isInRange(self, n) return if the frame is inside the range. |
int |
last(self) return the last frame of the range. |
int |
maxFrame(self) return the maximun frame define in the range. |
int |
minFrame(self) return the minimun frame define in the range. |
the next value, or raise StopIteration |
next(x) |
None |
setFirst(self, n) set the first frame of the range. |
None |
setIncrement(self, n) set the increment between two frames. |
None |
setLast(self, n) set the last frame of the range. |
int |
stepFrame(self) return the absolute increment between two frames. |
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(...) (Constructor) |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: object.__init__

### __new__(T, S, ...) |
Returns: a new object with type S, a subtype of T Overrides: object.__new__

### __str__(x) (Informal representation operator) |
str(x) Overrides: object.__str__