Amazon VERSION 2.0V1 Podręcznik Użytkownika Strona 142

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 264
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 141
142
Widget Type Widget Hint Values Description and Example
Script Button scriptButton A button executing a Python script when clicked.
<param scriptText="print 'Hello'"
name="btn"
buttonText="Run Script"
widget="scriptButton"/>
Dynamic Array dynamicArray A number or string array of dynamic size. Not available
through the UI wrench menu.
<numberarray_parameter hints="
{&apos;widget&apos;:&apos;
dynamicArray&apos;}" name="testNumArray"
size="3"
tupleSize="1">
<number_parameter name="i0"
value="0"/>
<number_parameter name="i1"
value="0"/>
<number_parameter name="i2"
value="0"/>
</numberarray_parameter>
String Only
CEL Statement cel Specify a CEL Statement. For more information on CEL
Statements, consult the Katana User Guide.
<param name="loc" widget="cel"/>
Multi-line Text text Enables a string field to support multiple lines of text. For
example, you can set KatanaBlinn.args with the following
line:
<param name="BumpMap" widget="text"/>
to set BumpMap to take multiple lines of text and display the
expected UI.
NOTE: See Parameter Hints for more on setting hint strings on User Parameters.
NOTE: See Parameter Types for a full list of the User Parameter types accessible through the UI.
20 ARGS FILES IN SHADERS | EDIT SHADER INTERFACE INTERACTIVELY IN THE UI
Przeglądanie stron 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 263 264

Komentarze do niniejszej Instrukcji

Brak uwag