OnSGWorld

This event occurs when a specifiedTerraExplorer event takes place (e.g. application closes or save process finishes).

 

JavaScript

 

OnSGWorld(

       EventID,

       EventParam)

 

C#

 

void OnSGWorld(

       int EventID,

       object EventParam)

 

C++

 

HRESULT OnSGWorld(

        long EventID,

        VARIANT EventParam)

Parameters

EventID

The event’s ID. This parameter can be either of the following values:

·          TEE_APP_CLOSING         = 6

·          TEE_SAVE_FINISHED      = 9

EventParam

This parameter is interpreted based on the EventID. For TEE_APP_CLOSING and TEE_SAVE_FINISHED, it is not used.