getSourceValueStringScalar

external fun getSourceValueStringScalar(classProperty: MetadataClassProperty, metadataProperty: Any): String(source)

Creates a shader statement that returns the value of the specified property, normalized to the range 0, 1.

Return

The string

Parameters

classProperty

The class property

metadataProperty

The metadata property, either a PropertyTextureProperty or a PropertyAttributeProperty

See also