doc.arcgis.com/en/cityengine/2025.0/cga/cga-read-material-function.htm
Preview meta tags from the doc.arcgis.com website.
Linked Hostnames
1General Meta Tags
17- titlereadMaterial function—ArcGIS CityEngine Resources | Documentation
- charsetutf-8
- X-UA-CompatibleIE=edge,chrome=1
- viewportwidth=device-width, user-scalable=no
- descriptionreadMaterial function Syntaxstring[] readMaterial(filePath)ParametersfilePath—stringName of the material file to read. See Asset Search for information about search locations. Supported extensions are .cgamat and .mtl. CityEngine CGA Material Encoder allows for writing cgamat files via model export.ReturnsThe decoded material in filePath as 2D string array of cga material attributes.DescriptionThe readMaterial functions reads the material file filePath into a 2D array of material attributes, similar to the one returned from getMaterial(). Referenced textures are resolved. The returned array can be used to set the current shape's material with the setMaterial() operation.RelatedgetMaterial operationsetMaterial operation
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
4- https://doc.arcgis.com/en/cityengine/2025.0/cga/cga-asset-texture-search.htm
- https://doc.arcgis.com/en/cityengine/2025.0/cga/cga-get-material-function.htm
- https://doc.arcgis.com/en/cityengine/2025.0/cga/cga-set-material.htm
- https://doc.arcgis.com/feedback