trigger.actions.look

Look action saves and loads shaders

Attributes

ACTION_DATA

log

Classes

Look

Module Contents

class Look(**kwargs)

Bases: trigger.core.action.ActionCore

action()

Mandatory Method - Execute Action

static assign_sg_data(sg_data)
static collect_sg_data()
static export_sgs(sg_list, root_folder)
feed(action_data, *args, **kwargs)

Mandatory Method - Feeds the instance with the action data stored in actions session

static import_sgs(file_path)
save_action(file_path=None, *args, **kwargs)

Mandatory Method - Save Action

ui(ctrl, layout, handler, *args, **kwargs)

Mandatory Method - UI setting definitions

Args:

ctrl: (model_ctrl) ctrl object instance of /ui/model_ctrl. Updates UI and Model layout: (QLayout) The layout object from the main ui. All setting widgets should be added to this layout handler: (actions_session) An instance of the actions_session. TRY NOT TO USE HANDLER UNLESS ABSOLUTELY NECESSARY *args: **kwargs:

Returns: None

action_data
ACTION_DATA
log