用户工具

站点工具


侧边栏

script:unityengine:classes:particlesystem.particle:particlesystem.particle

Particle 粒子

struct in UnityEngine

Description 描述

Script interface for a Particle.

粒子的脚本接口。

See Also: ParticleSystem, ParticleSystem.GetParticles, ParticleSystem.SetParticles.

Variables 变量

angularVelocityThe angular velocity of the particle.
粒子的角速度。
angularVelocity3DThe 3D angular velocity of the particle.
3D粒子角速度。
lifetimeThe lifetime of the particle.
粒子的生命周期。
positionThe position of the particle.
粒子的位置。
randomSeedThe random seed of the particle.
该粒子的随机种子。
rotationThe rotation of the particle.
该粒子的旋转角度。
rotation3DThe 3D rotation of the particle.
该粒子的3D旋转角度。
startColorThe initial color of the particle. The current color of the particle is calculated procedurally based on this value and the active color modules.
该粒子的初始颜色。粒子由程序计算的当前颜色,基于该值和激活的颜色模块。
startLifetimeThe starting lifetime of the particle.
该粒子的初始生命周期。
startSizeThe initial size of the particle. The current size of the particle is calculated procedurally based on this value and the active size modules.
该粒子的初始大小。粒子的当前大小是由程序基于该值和激活的大小模块计算。
velocityThe velocity of the particle.
粒子的速度。

Public Functions 共有函数

GetCurrentColorCalculate the current color of the particle by applying the relevant curves to its startColor property.
粒子的当前颜色通过应用到相关曲线到startColor属性计算。
GetCurrentSizeCalculate the current size of the particle by applying the relevant curves to its startSize property.
粒子的当前大小通过应用到相关曲线到startSize属性来计算。
script/unityengine/classes/particlesystem.particle/particlesystem.particle.txt · 最后更改: 2016/08/02 05:25 (外部编辑)