ScriptReference/MaterialPropertyBlock #62
Replies: 1 comment
-
|
If you're looking to set Tiling or Offset properties use the "_ST" suffix propertyBlock.SetVector("_MainTex_ST", new Vector4(0.5f, 0.5f, 0.25f, 0.25f));See Special Texture properties - Texture tiling & offset |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ScriptReference/MaterialPropertyBlock
https://docs.unity3d.com/ScriptReference/MaterialPropertyBlock.html
Beta Was this translation helpful? Give feedback.
All reactions