MaterialMap

data class MaterialMap(val texture: Texture2D? = null, val color: Color = Color.WHITE, val value: Float? = null)

Represents a raylib material map.

Material maps define how textures and colors are applied to 3D models.

Constructors

Link copied to clipboard
constructor(texture: Texture2D? = null, color: Color = Color.WHITE, value: Float? = null)
constructor(raw: ERROR CLASS: Symbol not found for raylib.internal.MaterialMap)

Creates a MaterialMap from a raw raylib.internal.MaterialMap.

Types

Link copied to clipboard
value class Texture

The types of material maps.

Properties

Link copied to clipboard

The color associated with the material map, setting tinting effects.

Link copied to clipboard

An optional texture associated with the material map.

Link copied to clipboard
val value: Float?

An optional value associated with the material map (e.g., intensity).