Amazon VERSION 2.0V1 Guia do Utilizador Página 149

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 264
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 148
149
{
++i;
if (i < tokens.size())
{
radius = atof(tokens[i]);
}
}
}
//free the copied parameter string
free(inputParamStr);
}
};
NOTE: Parameters are passed from .args file to procedural as either serialized key-value pairs, or typed
arguments. If the Args file does not specify an output style, it defaults to serialized key-value pairs. The
example shown in Example Args File uses typed arguments.
For procedurals, the type and default value of a parameter have to be declared. This is in contrast to the
use of .args files in shaders, where the type can be interrogated directly from the shader.
UI Hints for Plug-ins Using Argument Templates
Instead of using .args files, Scene Graph Generators (SGG) and Attribute Modifier Plug-ins (AMP) must declare UI
hints directly in their source code as part of the Argument Template. The Argument Template is used to declare what
arguments need to be passed to the plug-in.
The syntax used for these is the same as you would use in an .args file, just that you're handing the values as
attributes instead of declaring them inside an XML file.
Usage in Python Nodes
In Python, additional UI hints such as widget or help text are specified by defining them in a dictionary. The
dictionary is passed to Katana in the NodegraphAPI addParameterHints( ) function.
For example, set extra hints on an Alembic_In node:
_ExtraHints = {
"Alembic_In.name" : {
"widget" :"newScenegraphLocation",
},
20 ARGS FILES IN SHADERS | UI HINTS FOR PLUG-INS USING ARGUMENT TEMPLATES
Vista de página 148
1 2 ... 144 145 146 147 148 149 150 151 152 153 154 ... 263 264

Comentários a estes Manuais

Sem comentários

Salton-inc MEPE123BT Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Kaffeemaschinen Salton-inc MEPE123BT.
Wir stellen 1 PDF-Handbücher Salton-inc MEPE123BT zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Bedienungsanleitung






Weitere Produkte und Handbücher für Kaffeemaschinen Salton-inc

Modelle Dokumententyp
FC-1205 Bedienungsanleitung   Salton, Inc FC-1205 User Manual, 3 Seiten
JVPM1B Bedienungsanleitung   Salton, Inc JVPM1B User Manual, 16 Seiten
MEVA10DB Bedienungsanleitung    Salton, Inc MEVA10DB Manuel d'utilisation, 18 Seiten
MEFB4W Bedienungsanleitung    Salton, Inc MEFB4W Manuel d'utilisation, 22 Seiten
MESC10 Bedienungsanleitung   Salton, Inc MESC10 User Manual, 8 Seiten
MEFB1W Bedienungsanleitung   Salton, Inc MEFB1W User Manual, 8 Seiten
MEPE123W Bedienungsanleitung    Salton, Inc MEPE123W Manuel d'utilisation, 42 Seiten
ME5B Bedienungsanleitung   Salton, Inc ME5B User Manual, 8 Seiten
MEMB1W Bedienungsanleitung   Salton, Inc MEMB1W User Manual, 12 Seiten