nuke.OutputContext
- class nuke.OutputContext
Bases:
pybind11_objectDescribes a context in which expressions can be evaluated.
Construct with a frame number. Construct with a frame number and view.
Methods
frame() -> float
setFrame(f) -> True
setView(n) -> True
view() -> int
viewFromName(name) -> int
viewcount() -> int
viewname(n) -> string
viewshort(n) -> string
- frame() float
Return frame value.
- setFrame(f) True
Set frame value. The f argument is a float.
- setView(n) True
Set view number. The n argument is an integer in the range of 0 to number of views.
- view() int
Return view number.
- viewFromName(name) int
Returns the index of the view with name matching the argument name or -1 if there is no match.
- viewcount() int
Return number of views.
- viewname(n) string
Return name of the view. The n argument is an integer in the range of 0 to number of views.
- viewshort(n) string
Return short name of the view. The n argument is an integer in the range of 0 to number of views.