MATLAB SIMULINK 3D ANIMATION - S Guia do Utilizador Página 429

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 490
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 428
vrnode/setfield
10-89
vrnode/setfield
Change field value of vrnode object
Syntax
x = setfield(vrnode_object,'fieldname','fieldvalue')
Arguments
vrnode_object Name of a vrnode object representing the node to be changed.
fieldname Name of the vrnode object VRML field whose values you want
to set.
fieldvalue Value of fieldname.
Description
x = setfield(vrnode_object,'fieldname','fieldvalue') changes the
specified field of the vrnode object to the specified value. You can specify multiple field
names and field values in one line of code by grouping them in pairs. For example, x =
setfield(vrnode_object, 'fieldname1', 'fieldvalue1', 'fieldname2',
'fieldvalue2', ....
Note that VRML field names are case sensitive, while property names are not.
Note The dot notation is the preferred method for accessing nodes. For example:
vrnode_object.fieldname=fieldvalue;
See Also
vrnode | vrnode/get | vrnode/getfield | vrnode/set
Vista de página 428
1 2 ... 424 425 426 427 428 429 430 431 432 433 434 ... 489 490

Comentários a estes Manuais

Sem comentários