Amazon VERSION 2.0V1 Guia do Utilizador Página 58

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 264
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 57
58
_numberOfCubes = numberOfCubesAttr.getValue(20, false);
// Update the rotation flag
FnKat::IntAttribute rotateCubesAttr = \
args.getChildByName("rotateCubes");
_rotateCubes = \
bool(rotateCubesAttr.getValue(0, false));
return true;
}
NOTE: Versions of Katana prior to 2.0v1 provided you with default values for all SGG arguments if they
had not been specified locally. In versions 2.0v1 and later, this is no longer the case and you must now
specify the default value yourself. This can be achieved using the FnAttribute library, for example:
FnKat::IntAttribute attr = args.getChildbyName("attr");
int value = attr.getValue(20, //DEFAULT VALUE
false); //THROW ERROR IF DEFAULT VALUE NOT
//AVAILABLE OTHERWISE RETURN DEFAULT
//VALUE
FnKat::ScenegraphContext* getRoot()
Returns an instance of a class derived from ScenegraphContext that represents the root location of the tree of scene
graph locations that are generated by the SGG plug-in.
This is the first step of traversing the contexts in order to create a scene graph structure where the subsequent steps
involve retrieving the child and sibling nodes.
FnKat::ScenegraphContext* CubeMaker::getRoot()
{
return new CubeRootContext(_numberOfCubes,
_rotateCubes);
}
Registering an SGG Plug-in
In the implementation of a custom ScenegraphGenerator-derived class you also need to add some data structures
and functions that make the plug-in known to Katana. These are easy to add using two predefined macros, as shown
in the following code example:
DEFINE_SGG_PLUGIN(CubeMaker)
8 SCENE GRAPH GENERATOR PLUG-INS | SGG PLUG-IN API CLASSES
Vista de página 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 263 264

Comentários a estes Manuais

Sem comentários

LG LW2412HR manuales

Manuales del propietario y guías del usuario para Accesorios de refrigeración de hardware LG LW2412HR.
Ofrecemos 1 manuales en pdf LG LW2412HR para descargar gratis por tipos de documentos: Hoja de especificaciones


Tabla de contenidos





Más productos y manuales para Accesorios de refrigeración de hardware LG

Modelos Tipo de documento
LW2511ER Hoja de especificaciones   LG LW2511ER Specification Sheet, 2 paginas
LW1814ER Hoja de especificaciones   LG LW1814ER Specification Sheet, 2 paginas
LP1414SHR Manual   LG LP1414SHR Product manual, 2 paginas
LW1013ER Hoja de especificaciones   LG LW1013ER Specification Sheet, 2 paginas
LW1812ER Hoja de especificaciones   LG LW1812ER Specification Sheet, 2 paginas
LW1210HR Hoja de especificaciones   LG LW1210HR Specification Sheet, 2 paginas
LW1213HR Hoja de especificaciones   LG LW1213HR Specification Sheet, 2 paginas
LW1011CR Hoja de especificaciones   LG LW1011CR Specification Sheet, 2 paginas
LT1034HNR Especificaciones   LG LT1034HNR Specifications, 2 paginas
LW2512ER Guia Energética   LG LW2512ER Energy Guide, 2 paginas
LW1512ER Hoja de especificaciones   LG LW1512ER Specification Sheet, 2 paginas
LT0814CNR Especificaciones   LG LT0814CNR Specifications, 2 paginas
LW1810HR Hoja de especificaciones   LG LW1810HR Specification Sheet, 2 paginas
LW1012CR Hoja de especificaciones   LG LW1012CR Specification Sheet, 2 paginas
LW2414HR Hoja de especificaciones   LG LW2414HR Specification Sheet, 2 paginas
LW1514ER Hoja de especificaciones   LG LW1514ER Specification Sheet, 2 paginas
LW1813ER Hoja de especificaciones   LG LW1813ER Specification Sheet, 2 paginas
LW2513ER Hoja de especificaciones   LG LW2513ER Specification Sheet, 2 paginas
LW5013 Hoja de especificaciones   LG LW5013 Specification Sheet, 2 paginas
ESA-PUAC10 Ficha de datos   LG ESA-FAN50 hardware cooling accessory, 2 paginas