DisableVertexStreams() public method

Disable a set of vertex shader streams on the particle system renderer. The position stream is always enabled, and any attempts to remove it will be ignored.

public DisableVertexStreams ( ParticleSystemVertexStreams streams ) : void
streams ParticleSystemVertexStreams Streams to disable.
return void
コード例 #1
0
 static public int DisableVertexStreams(IntPtr l)
 {
     try {
         UnityEngine.ParticleSystemRenderer      self = (UnityEngine.ParticleSystemRenderer)checkSelf(l);
         UnityEngine.ParticleSystemVertexStreams a1;
         checkEnum(l, 2, out a1);
         self.DisableVertexStreams(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }