getConstantInt

actual fun getConstantInt(name: String): Int

Returns the integer value of a material specialization constant.

Parameters

name

Constant name as defined in the material

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "throws UnsupportedOperationException — getConstant is not bound in filament.js.")
expect fun getConstantInt(name: String): Int

Returns the integer value of a material specialization constant.

Parameters

name

Constant name as defined in the material

actual fun getConstantInt(name: String): Int

Returns the integer value of a material specialization constant.

Parameters

name

Constant name as defined in the material

actual fun getConstantInt(name: String): Int

Returns the integer value of a material specialization constant.

Parameters

name

Constant name as defined in the material

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "throws UnsupportedOperationException — getConstant is not bound in filament.js.")
actual fun getConstantInt(name: String): Int

Returns the integer value of a material specialization constant.

Parameters

name

Constant name as defined in the material