MaterialTextureMappingProps Interface

Describes how to map a RenderTexture's image to the surfaces to which a RenderMaterial is applied.

@see MaterialParams.textureMapping.

Properties

Name Type Description
constantLodProps undefined | ConstantLodParamProps Parameters for constant LOD mapping mode.  
mode undefined | Mode The mode controlling how the image is mapped onto the surface.  
normalMapParams undefined | NormalMapParams The parameters describing a normal map to use either in place of or in addition to the texture.  
texture RenderTexture The texture from which the image is obtained.  
transform undefined | Trans2x3 A 2x3 matrix for computing the UV coordinates.  
useConstantLod undefined | boolean True if want to use constant LOD texture mapping for the surface texture.  
weight undefined | number The ratio by which the color sampled from the texture image is mixed with the surface's or material's diffuse color.  

Defined in

Last Updated: 15 March, 2024