EnableVertexStreams() public method

Enable a set of vertex shader streams on the particle system renderer.

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