nuke.OutputContext
- class nuke.OutputContext
Bases:
object
Describes a context in which expressions can be evaluated.
Methods
Return frame value.
Set frame value.
Set view number.
Return view number.
Returns the index of the view with name matching the argument name or -1 if there is no match.
Return number of views.
Return name of the view.
Return short name of the view.
- 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.