getConstantFloat

actual fun getConstantFloat(name: String): Float

Returns the float 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 getConstantFloat(name: String): Float

Returns the float value of a material specialization constant.

Parameters

name

Constant name as defined in the material

actual fun getConstantFloat(name: String): Float

Returns the float value of a material specialization constant.

Parameters

name

Constant name as defined in the material

actual fun getConstantFloat(name: String): Float

Returns the float 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 getConstantFloat(name: String): Float

Returns the float value of a material specialization constant.

Parameters

name

Constant name as defined in the material