TextureMapping Namespace
Enumeration
Name | Description |
---|---|
TextureMapping.Mode | Enumerates the possible texture mapping modes. |
Class
Name | Description |
---|---|
TextureMapping.Params | Parameters describing how a RenderTexture's image is mapped to a surface. |
TextureMapping.Trans2x3 | A 2x3 matrix for mapping a texture image to a surface. |
Interface
Name | Description |
---|---|
TextureMapping.ParamProps | Properties used to construct a TextureMapping.Params. |
Defined in
TextureMapping Class
Describes how to map a RenderTexture's image onto a surface as part of a RenderMaterial.
Methods
Name | Description | |
---|---|---|
constructor(tx: RenderTexture, params: TextureMapping.Params): TextureMapping |
Properties
Name | Type | Description | |
---|---|---|---|
normalMapParams | undefined | NormalMapParams | The parameters for normal mapping. | Beta |
params Readonly | TextureMapping.Params | The parameters describing how the textures are mapped to the surface. | |
texture Readonly | RenderTexture | The texture to be mapped to the surface. |
Defined in
Last Updated: 30 November, 2023