doc.arcgis.com/en/cityengine/2025.0/cga/cga-set-material.htm

Preview meta tags from the doc.arcgis.com website.

Linked Hostnames

1
  • General Meta Tags

    17
    • title
      setMaterial operation—ArcGIS CityEngine Resources | Documentation
    • charset
      utf-8
    • X-UA-Compatible
      IE=edge,chrome=1
    • viewport
      width=device-width, user-scalable=no
    • description
      setMaterial operation SyntaxsetMaterial(material)Parametersmaterial—string[]A string array containing key-value pairs in the form of [ attr-name0, value0, attr-name1, value1, ... ]. The names of the material attributes are without the "material." prefix. DescriptionThe setMaterial operation sets the material attributes of the current shape's material according to material. This operation allows for setting of multiple (all) material attributes in one operation. The result will be the same as using set() to set each material attribute individually.RelatedgetMaterial functionreadMaterial functionresetMaterial operationset operationmaterial attributesmaterial.color attributematerial.map texture layerscolor operationtexture operationTexturing: Essential KnowledgeExamplesExample 1 Using setMaterial() to set a number of material attributes in one operation. myMaterial = [ "color.r", "1.0",
  • Link Tags

    8
    • shortcut icon
      /assets/img/favicon.ico
    • stylesheet
      /assets/css/screen.css
    • stylesheet
      /cdn/calcite/css/documentation.css
    • stylesheet
      /assets/css/print.css
    • stylesheet
      /cdn/css/colorbox.css

Links

11