## Init (Graphic Sequencer)

### Description

Use this callback to instantiate the GraphicSequencer and register your custom viewport mode or callback.

### Applies To

Graphic Sequencer

### Syntax

    void <xgs_plugin-item_name>_Init(
            CRef& in_context,
            LPVOID *in_pUserData
    ) {
            ...
    }

<xgs_plugin-item_name> is the name specified in the call to RegisterViewportCallback or RegisterViewportMode, with any spaces converted to underscores.

### Parameters

Parameter | Type | Description
--- | --- | ---
in_context | CRef& | A reference to the GraphicSequencerContext object.
in_pUserData | LPVOID | Pointer to user data.

### See Also

- Graphic Sequencer Callbacks
- Execute (Graphic Sequencer)
- Term (Graphic Sequencer)