Back to Filament

getParameterTransformName

docs/android/dokka/filament-android/com.google.android.filament/-material/get-parameter-transform-name.md

1.75.0919 B
Original Source

//filament-android/com.google.android.filament/Material/getParameterTransformName

getParameterTransformName

[main]
open fun getParameterTransformName(samplerName: String): String

Returns the name of the transform parameter associated with the given sampler parameter. In the case the parameter doesn't have a transform name field, it will return an empty string.

Parameters

main

samplerNamethe name of the sampler parameter to query.

See also

<a href="https://google.github.io/filament/Materials.html#materialdefinitions/materialblock/general:parameters">General: parameters