sel function

CityEngine 2024.1    |    |  

Syntax

  • selector sel(selString)

Parameters

  1. selStringstring

Returns

Selector with the value of selString.

Description

The sel conversion function allows to cast the selString to a selector.

Examples

colchannel(index) = "material.color."+index

A -->
    set(sel(colchannel("r")),0.5)