11. How to Use
1. ジオメトリの作成
2. アニメーションセットの作成
3. アニメーターの作成
4. テクスチャの作成
5. メッシュの作成
6. アニメーションを再生
12. ジオメトリの作成
var plane = new PlaneGeometry(10, 10, 1, 1, false);
var geometrySet = new Vector.<Geometry>();
for (var i:int = 0; i < 20000; i++) // ①
geometrySet.push(plane);
var geometry = ParticleGeometryHelper
.generateGeometry(geometrySet);
13. アニメーションセット/
アニメーターの作成
// アニメーションセットの作成
var animSet = new ParticleAnimationSet(true, true);
animSet.addAnimation(…);
animSet.addAnimation(…);
animSet.initParticleFunc = initParticleFunc;
// アニメーターの作成
var animator = new ParticleAnimator(animSet);