TextureMapping.Params Class

Parameters describing how a RenderTexture's image is mapped to a surface.

Methods

Name Description
constructor(props?: TextureMapping.ParamProps): TextureMapping.Params    
compare(other: TextureMapping.Params): number An OrderedComparator that compares these Params against other.  

Properties

Name Type Description
constantLodParams TextureMapping.ConstantLodParams Parameters for constantLod mapping mode.  
mode TextureMapping.Mode The mode by which to map the image to a surface.  
textureMatrix TextureMapping.Trans2x3 The matrix used to map the image to a surface.  
useConstantLod boolean True if want to use constant LOD texture mapping for the surface texture.  
weight number The ratio in [0, 1] with which to mix the color sampled from the texture with the element's color.  

Defined in

Last Updated: 21 November, 2024