Table of Contents

 
GetNumLayers
 

Purpose

Gets the number of layers in the current scene

 

Protoype

int CSceneMngr::GetNumLayers ()
 

Description

This function returns the number of layers in the current scene.

NOTE: If no scene is loaded this function will exit after reporting a warning in the event log

 

Use

CSceneMngr scene;
int i_num_layers = scene.GetNumLayers();
 

Prev: Assign
Next: InScene