Particle SCALE
烟火效果的度量
----------------
The script in this example is:
下面是个例子
default {
state_entry() {
llParticleSystem( [
PSYS_PART_START_SCALE,< 4.0, 0.1, 0>,
PSYS_PART_END_SCALE, < 0.1, 4.0, 0>,
PSYS_SRC_BURST_PART_COUNT, 2,
PSYS_SRC_BURST_RATE, 3.00,
PSYS_PART_MAX_AGE, 5.0,
PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_DROP,
PSYS_PART_FLAGS, PSYS_PART_INTERP_SCALE_MASK
] );
}
}
(Ignore the middle section with COUNT, RATE, AGE and PATTERN until later.)
可以忽略的中间变量,在计算,率,年龄和图案,以后。
SCALE:
maximum: < 4.00, 4.00, 0 >
default: < 1.00, 1.00, 0 >
minimum: < 0.04, 0.04, 0 > (*)
The 'z' part of the vector is ignored because particles are flat!
忽略Z轴是因为粒子效果是平面的。
Particles in this example start wide/short and end tall/narrow.
The option to resize particles, like all flags, is OFF by default.
对改变大小的粒子属性,如旗子。默认�**乇盏摹�
To enable it, you must include the PSYS_PART_INTERP_SCALE_MASK as one of the
为了激活它,你必须包含。。。。。。向上边显示的那样
PSYS_PART_FLAGS as shown above. (No other flags are used in this example so this is very simple.)
在这个例子中没有其它旗子,所以是非常简单的。
(*) - Particles shorter or narrower than 0.04m seem to not be drawn at all... UNLESS at some point in the particles life it is both wider and taller than 0.04m, your milage may vary.
粒子效果,当短窄于0.04m,这是不充许的,除非粒子效果中的一些点包括宽和高于0.04m,你的milage可能会变大。