GetParticleEffectCurveKey

格式

GetParticleEffectCurveKey(ValueName,index)

实例

local spawn = WorkSpace:WaitForChild("Spawn")
local particle = RWObject.Create("Particle", spawn)
particle.Enable = true --是否生效
particle:SetParticleEffectCurve("RateOverTime",0,1,0.1,0.7)  -- 每秒发射粒子数(曲线区间)
print("每秒发射粒子数三轴曲线键值----------"..tostring(particle:GetParticleEffectCurveKey("RateOverTime",0)))
print("每秒发射粒子数三轴曲线键值----------"..tostring(particle:GetParticleEffectCurveKey("RateOverTime",1)))
文档更新时间: 2020-08-13 11:03   作者:孙晓艺