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