int GetInt( string name )

robot_2Generated
code_blocksInput

Description

The GetInt method retrieves an integer value associated with a specified parameter name from the SceneModel. This method is useful for accessing integer parameters that may be used in animations or other model-related configurations.

Usage

To use the GetInt method, call it on an instance of SceneModel and pass the name of the parameter you wish to retrieve as a string. The method will return the integer value associated with that parameter name.

Example

// Example of using GetInt method
SceneModel model = new SceneModel();
int value = model.GetInt("parameterName");

// Use the retrieved integer value
if (value > 0)
{
    // Perform some action
}