MaterialKey

actual class MaterialKey

MaterialKey encodes glTF material properties for material selection and creation.

MaterialKey holds a set of boolean flags and texture coordinates that describe the properties of a glTF material. MaterialProvider uses this to determine which material to create or select. Key properties include texture presence, shading model, alpha mode, and advanced features like clearcoat and transmission.

See also

expect class MaterialKey

MaterialKey encodes glTF material properties for material selection and creation.

MaterialKey holds a set of boolean flags and texture coordinates that describe the properties of a glTF material. MaterialProvider uses this to determine which material to create or select. Key properties include texture presence, shading model, alpha mode, and advanced features like clearcoat and transmission.

See also

actual class MaterialKey

MaterialKey encodes glTF material properties for material selection and creation.

MaterialKey holds a set of boolean flags and texture coordinates that describe the properties of a glTF material. MaterialProvider uses this to determine which material to create or select. Key properties include texture presence, shading model, alpha mode, and advanced features like clearcoat and transmission.

See also

actual class MaterialKey

MaterialKey encodes glTF material properties for material selection and creation.

MaterialKey holds a set of boolean flags and texture coordinates that describe the properties of a glTF material. MaterialProvider uses this to determine which material to create or select. Key properties include texture presence, shading model, alpha mode, and advanced features like clearcoat and transmission.

See also

actual class MaterialKey

MaterialKey encodes glTF material properties for material selection and creation.

MaterialKey holds a set of boolean flags and texture coordinates that describe the properties of a glTF material. MaterialProvider uses this to determine which material to create or select. Key properties include texture presence, shading model, alpha mode, and advanced features like clearcoat and transmission.

See also

Constructors

Link copied to clipboard
actual constructor()

Create a new MaterialKey with default values.

expect constructor()

Create a new MaterialKey with default values.

actual constructor()

Create a new MaterialKey with default values.

actual constructor()
actual constructor()

Properties

Link copied to clipboard
actual var alphaMode: Int
expect var alphaMode: Int
actual var alphaMode: Int
actual var alphaMode: Int
actual var alphaMode: Int
Link copied to clipboard
actual var aoUV: Int
expect var aoUV: Int
actual var aoUV: Int
actual var aoUV: Int
actual var aoUV: Int
Link copied to clipboard
actual var baseColorUV: Int
expect var baseColorUV: Int
actual var baseColorUV: Int
actual var baseColorUV: Int
actual var baseColorUV: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual var clearCoatUV: Int
expect var clearCoatUV: Int
actual var clearCoatUV: Int
actual var clearCoatUV: Int
actual var clearCoatUV: Int
Link copied to clipboard
actual var doubleSided: Boolean
expect var doubleSided: Boolean
actual var doubleSided: Boolean
actual var doubleSided: Boolean
actual var doubleSided: Boolean
Link copied to clipboard
actual var emissiveUV: Int
expect var emissiveUV: Int
actual var emissiveUV: Int
actual var emissiveUV: Int
actual var emissiveUV: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual var hasClearCoat: Boolean
expect var hasClearCoat: Boolean
actual var hasClearCoat: Boolean
actual var hasClearCoat: Boolean
actual var hasClearCoat: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual var hasIOR: Boolean
expect var hasIOR: Boolean
actual var hasIOR: Boolean
actual var hasIOR: Boolean
actual var hasIOR: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual var hasSheen: Boolean
expect var hasSheen: Boolean
actual var hasSheen: Boolean
actual var hasSheen: Boolean
actual var hasSheen: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual var normalUV: Int
expect var normalUV: Int
actual var normalUV: Int
actual var normalUV: Int
actual var normalUV: Int
Link copied to clipboard
actual var sheenColorUV: Int
expect var sheenColorUV: Int
actual var sheenColorUV: Int
actual var sheenColorUV: Int
actual var sheenColorUV: Int
Link copied to clipboard
actual var sheenRoughnessUV: Int
expect var sheenRoughnessUV: Int
actual var sheenRoughnessUV: Int
actual var sheenRoughnessUV: Int
actual var sheenRoughnessUV: Int
Link copied to clipboard
actual var transmissionUV: Int
expect var transmissionUV: Int
actual var transmissionUV: Int
actual var transmissionUV: Int
actual var transmissionUV: Int
Link copied to clipboard
actual var unlit: Boolean
expect var unlit: Boolean
actual var unlit: Boolean
actual var unlit: Boolean
actual var unlit: Boolean
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
actual fun constrainMaterial(uvmap: IntArray)
expect fun constrainMaterial(uvmap: IntArray)
actual fun constrainMaterial(uvmap: IntArray)
actual fun constrainMaterial(uvmap: IntArray)
actual fun constrainMaterial(uvmap: IntArray)