Material.GetTextureScalefunction GetTextureScale (propertyName : String) : Vector2DescriptionGets the placement scale of texture propertyName.
Common texture names used by Unity's builtin shaders: See Also: mainTextureScale property, SetTextureScale.
JavaScript
print(renderer.material.GetTextureScale("_MainTex")); using UnityEngine; import UnityEngine |
