Example #1
0
    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);
Example #3
0
 extern public MinMaxGradient GetColor(ParticleSystemCustomData stream);
 extern public void AllocateCustomDataAttribute(ParticleSystemCustomData stream);
Example #5
0
 extern public MinMaxCurve GetVector(ParticleSystemCustomData stream, int component);
Example #6
0
 extern public void SetColor(ParticleSystemCustomData stream, MinMaxGradient gradient);
Example #7
0
 extern public void SetVector(ParticleSystemCustomData stream, int component, MinMaxCurve curve);
Example #8
0
 extern public int GetVectorComponentCount(ParticleSystemCustomData stream);
Example #9
0
 extern public void SetVectorComponentCount(ParticleSystemCustomData stream, int count);
Example #10
0
 extern public ParticleSystemCustomDataMode GetMode(ParticleSystemCustomData stream);
Example #11
0
 extern public void SetMode(ParticleSystemCustomData stream, ParticleSystemCustomDataMode mode);