Init (ICE Nodes)

Description

Use this callback to instantiate the ICENode and register your custom ICENode. Although user data is stored in the ICENode context during the BeginEvaluate callback, it can also be set during the Init callback and then accessed later in the Evaluate callback.

| The user data stored in BeginEvaluate or Init is always accessible from the Evaluate callback. However, unless the custom node threading mode is single-threading, the Context::PutUserData property cannot be used from the Evaluate callback.

Applies To

Custom ICENodes

Syntax

    // C++
    CStatus <icenode_name>_Init( CRef& in_context )
    {
       ...
    }

<icenode_name> is the name specified in the call to RegisterICENode with any spaces removed.

Parameters

Parameter | Language | Type | Description
in_context | C++ | CRef & | A reference to the ICENodeContext object. Context::GetSource returns the ICENode .

See Also

• BeginEvaluate

• Evaluate

• EndEvaluate

• ICENode Callbacks

Autodesk Softimage v7.5