MaterialTiling

Inherits from MaterialTilingBase

Declaration

public class MaterialTiling : MaterialTilingBase

Description

Automatically tiles the materials of an object based on its scale.

Methods

UpdateMaterialsUpdates the materials of the object.
UpdateMaterialsInEditorUpdates the materials of the object while running in the editor.
Inherited

Properties

rendererThe renderer component of the material being tiled (Read only).
tilingOffsetThe texture tiling offset of the material being tiled.
scaleMultiplierThe texture scale multiplier of the material being tiled.
autoUpdateWhether the material texture(s) are tiled automatically when the transform changes.
Inherited

Methods

TileTiles the materials of the object.
ForceUpdateForces the materials to be updated.