AutoTile
Class in Zigurous.Graphics
Declaration
public sealed class AutoTile : MonoBehaviour
Description
Automatically tiles the material's textures based on the object's scale.
Properties
renderer | The renderer component of the material being tiled (Read only). |
submeshes | The submeshes that are tiled on the renderer. |
textureNames | The names of the textures that are tiled on the material. |
autoUpdate | Whether the material texture(s) are tiled automatically when the transform changes. |
Methods
Tile | Updates the tiling properties of the material(s) based on the current scale of the object. |