Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

MaterialPropertyBlock.SetVectorArray

Discussion in '5.4 Beta' started by Atrixx, Jan 24, 2016.

  1. Atrixx

    Atrixx

    Joined:
    Feb 8, 2012
    Posts:
    24
    In the documentation supplied with 5.4, there is no mention of the property type to be used in the shader?
     
    Hosnkobf likes this.
  2. zeroyao

    zeroyao

    Unity Technologies

    Joined:
    Mar 28, 2013
    Posts:
    169
    Hi,

    It works with any float vector types i.e. fixed2, fixed3, fixed4, half2, half3, half4, float2, float3 and float4.