Package-level declarations

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun MaterialInstance.setAoIndex(value: Int)
Link copied to clipboard
fun MaterialInstance.setAoStrength(value: Float)
Link copied to clipboard
fun MaterialInstance.setBaseColorFactor(value: Color)
Link copied to clipboard
fun MaterialInstance.setBaseColorIndex(value: Int)
Link copied to clipboard
fun MaterialInstance.setBaseColorMap(texture: Texture, sampler: TextureSampler = TextureSampler2D())
Link copied to clipboard
fun MaterialInstance.setBaseColorUvMatrix(value: Mat3)
Link copied to clipboard
fun MaterialInstance.setClearCoatFactor(value: Float)
Link copied to clipboard
fun MaterialInstance.setClearCoatIndex(value: Int)
Link copied to clipboard
fun MaterialInstance.setClearCoatMap(texture: Texture, sampler: TextureSampler = TextureSampler2D())
Link copied to clipboard
fun MaterialInstance.setClearCoatNormalIndex(value: Int)
Link copied to clipboard
fun MaterialInstance.setClearCoatNormalMap(texture: Texture, sampler: TextureSampler = TextureSampler2D())
Link copied to clipboard
fun MaterialInstance.setClearCoatNormalScale(value: Float)
Link copied to clipboard
fun MaterialInstance.setClearCoatNormalUvMatrix(value: Mat3)
Link copied to clipboard
fun MaterialInstance.setClearCoatRoughnessFactor(value: Float)
Link copied to clipboard
fun MaterialInstance.setClearCoatRoughnessIndex(value: Int)
Link copied to clipboard
fun MaterialInstance.setClearCoatRoughnessMap(texture: Texture, sampler: TextureSampler = TextureSampler2D())
Link copied to clipboard
fun MaterialInstance.setClearCoatRoughnessUvMatrix(value: Mat3)
Link copied to clipboard
fun MaterialInstance.setClearCoatUvMatrix(value: Mat3)
Link copied to clipboard
fun MaterialInstance.setColor(color: Color, type: Colors.RgbaType = Colors.RgbaType.SRGB)
fun MaterialInstance.setColor(color: Color, type: Colors.RgbaType = Colors.RgbaType.SRGB)
fun MaterialInstance.setColor(color: Int, type: Colors.RgbaType = Colors.RgbaType.SRGB)
fun MaterialInstance.setColor(name: String, color: Color, type: Colors.RgbaType = Colors.RgbaType.SRGB)
fun MaterialInstance.setColor(name: String, color: Color, type: Colors.RgbaType = Colors.RgbaType.SRGB)
fun MaterialInstance.setColor(name: String, color: Int, type: Colors.RgbaType = Colors.RgbaType.SRGB)
Link copied to clipboard
fun MaterialInstance.setEmissiveFactor(value: Color)
Link copied to clipboard
fun MaterialInstance.setEmissiveIndex(value: Int)
Link copied to clipboard
fun MaterialInstance.setEmissiveMap(texture: Texture, sampler: TextureSampler = TextureSampler2D())
Link copied to clipboard
fun MaterialInstance.setEmissiveStrength(value: Float)
Link copied to clipboard
fun MaterialInstance.setemissiveUvMatrix(value: Mat3)
Link copied to clipboard
fun MaterialInstance.setExternalTexture(texture: Texture)
fun MaterialInstance.setExternalTexture(name: String, texture: Texture)
Link copied to clipboard
fun MaterialInstance.setGlossinessFactor(value: Float)
Link copied to clipboard
fun MaterialInstance.setInvertFrontFaceWinding(invert: Boolean, uvOffsetParamName: String = "uvOffset")
Link copied to clipboard
fun MaterialInstance.setMetallic(factor: Float)

The metallic property defines whether the surface is a metallic (conductor) or a non-metallic (dielectric) surface.

Link copied to clipboard
fun MaterialInstance.setMetallicFactor(value: Float)
Link copied to clipboard
fun MaterialInstance.setMetallicRoughnessIndex(value: Int)
Link copied to clipboard
fun MaterialInstance.setMetallicRoughnessMap(texture: Texture, sampler: TextureSampler = TextureSampler2D())
Link copied to clipboard
fun MaterialInstance.setMetallicRoughnessUvMatrix(value: Mat3)
Link copied to clipboard
fun MaterialInstance.setNormalIndex(value: Int)
Link copied to clipboard
fun MaterialInstance.setNormalMap(texture: Texture, sampler: TextureSampler = TextureSampler2D())
Link copied to clipboard
fun MaterialInstance.setNormalScale(value: Float)
Link copied to clipboard
fun MaterialInstance.setNormalUvMatrix(value: Mat3)
Link copied to clipboard
fun MaterialInstance.setOcclusionMap(texture: Texture, sampler: TextureSampler = TextureSampler2D())
Link copied to clipboard
fun MaterialInstance.setOcclusionUvMatrix(value: Mat3)
Link copied to clipboard
fun MaterialInstance.setParameter(name: String, value: Float2)
fun MaterialInstance.setParameter(name: String, value: Float3)
fun MaterialInstance.setParameter(name: String, value: Float4)
fun MaterialInstance.setParameter(name: String, value: Mat3)
fun MaterialInstance.setParameter(name: String, value: Mat4)
Link copied to clipboard
fun MaterialInstance.setReflectance(factor: Float)

The reflectance property only affects non-metallic surfaces.

Link copied to clipboard
fun MaterialInstance.setRoughness(factor: Float)

The roughness property controls the perceived smoothness of the surface.

Link copied to clipboard
fun MaterialInstance.setRoughnessFactor(value: Float)
Link copied to clipboard
fun MaterialInstance.setSpecularFactor(value: Float3)
Link copied to clipboard
fun MaterialInstance.setTexture(texture: Texture, sampler: TextureSampler = TextureSampler2D())
fun MaterialInstance.setTexture(name: String, texture: Texture, sampler: TextureSampler = TextureSampler2D())