static int SetCustomParticleData(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 3); ParticleSystem obj = (ParticleSystem)LuaScriptMgr.GetUnityObjectSelf(L, 1, "ParticleSystem"); List <Vector4> arg0 = (List <Vector4>)LuaScriptMgr.GetNetObject(L, 2, typeof(List <Vector4>)); ParticleSystemCustomData arg1 = (ParticleSystemCustomData)LuaScriptMgr.GetNetObject(L, 3, typeof(ParticleSystemCustomData)); obj.SetCustomParticleData(arg0, arg1); return(0); }
extern public int GetCustomParticleData([NotNull] List <Vector4> customData, ParticleSystemCustomData streamIndex);
extern public MinMaxGradient GetColor(ParticleSystemCustomData stream);
extern public void AllocateCustomDataAttribute(ParticleSystemCustomData stream);
extern public MinMaxCurve GetVector(ParticleSystemCustomData stream, int component);
extern public void SetColor(ParticleSystemCustomData stream, MinMaxGradient gradient);
extern public void SetVector(ParticleSystemCustomData stream, int component, MinMaxCurve curve);
extern public int GetVectorComponentCount(ParticleSystemCustomData stream);
extern public void SetVectorComponentCount(ParticleSystemCustomData stream, int count);
extern public ParticleSystemCustomDataMode GetMode(ParticleSystemCustomData stream);
extern public void SetMode(ParticleSystemCustomData stream, ParticleSystemCustomDataMode mode);