MaterialTiling
Class in Zigurous.Prototyping
Inherits from MaterialTilingBase
Declaration
public class MaterialTiling : MaterialTilingBase
Description
Automatically tiles the materials of an object based on its scale.
Methods
UpdateMaterials | Updates the materials of the object. |
UpdateMaterialsInEditor | Updates the materials of the object while running in the editor. |
Inherited
Properties
renderer | The renderer component of the material being tiled (Read only). |
tilingOffset | The texture tiling offset of the material being tiled. |
scaleMultiplier | The texture scale multiplier of the material being tiled. |
autoUpdate | Whether the material texture(s) are tiled automatically when the transform changes. |
Inherited
Methods
Tile | Tiles the materials of the object. |
ForceUpdate | Forces the materials to be updated. |