normalTexture property
TextureSource?
get
normalTexture
Tangent-space normal map. Defaults to a flat normal when null.
Accepts a Texture2D (usually with TextureContent.normal) or a
RenderTexture (sampled live).
Implementation
TextureSource? get normalTexture => _normalTexture;
set
normalTexture
(TextureSource? value)
Implementation
set normalTexture(TextureSource? value) {
if (identical(_normalTexture, value)) return;
_normalTexture = value;
_markMaterialDataDirty();
}