ufoEditorGetRasterViewed

    ufoRasterufoEditorGetRasterViewed(
       ufoEditor editor_instance);

ufoEditorGetRasterViewed returns handle to raster instance for the currently displayed raster during editing. The raster handle can be passed in calls to raster functions which take a ufoRaster handle as the first argument.

All returned raster handles should be tested against null, as under certain circumstances such as prior to processing or getting from
unconnected UFO process inputs, the raster may not be available. If a returned handle is null then there is no raster available to get.

ufoEditorGetRasterViewed may be called within ufoEditorMouseDown(), ufoEditorMouseUp(), ufoEditorMouseDrag(), ufoEditorMousePosition(), ufoEditorKeyEvent(), or from within any event function in the editor GUI.

Autodesk Softimage v7.5