TextureMapProps Interface

Beta

Properties that define how a texture is mapped to a material

Properties

Name Type Description
TextureId Id64String The Id of the persistent Texture element defining the texture image.  
pattern_angle undefined | number Angle in degrees to rotate texture when applying; defaults to 0.0 if undefined  
pattern_flip undefined | false | true If true, flip the pattern map in V; if undefined, defaults to false  
pattern_mapping undefined | TextureMapping.Mode Mapping mode to use for the texture application; if undefined, defaults to TextureMapping.Mode.Parametric  
pattern_offset undefined | DPoint2dProps X, Y offset to apply to the pattern map; if undefined, defaults to {0,0}  
pattern_scale undefined | DPoint2dProps X, Y scale to apply to the pattern map; if undefined, defaults to {0,0}, which is almost never useful.  
pattern_scalemode undefined | TextureMapUnits Units to use when applying the scaling; if undefined, defaults to TextureMapUnits.Relative  
pattern_u_flip undefined | false | true If true, flip the pattern map in U; if undefined, defaults to false  
pattern_weight undefined | number Weight at which to combine diffuse image and color; if undefined, defaults to 1.0  

Defined in

Last Updated: 08 January, 2020