ParticleSystemSceneObject (クラス)
public ParticleSystemSceneObject {inherits PolygonSet}
パッケージ: CURL.GRAPHICS.PARTICLE

3D retained-mode Scene 内に、ParticleSystem をレンダリングします。


コンストラクタ
default:ParticleSystemSceneObject を作成します。
コンストラクタ public {ParticleSystemSceneObject.default
particle-system:ParticleSystem,
shape:ParticleShape = {PointParticleShape},
fill-pattern:FillPattern = {FillPattern.get-white}
}

プロパティ
camera:現在の Camera を返します。
アクセサ protected ParticleSystemSceneObject.camera:Camera
generate-texture-coordinates?:レンダリングされる多角形に、テクスチャをマップするかどうかを決定します。
フィールド protected ParticleSystemSceneObject.generate-texture-coordinates?:bool
particle-system:表示される ParticleSystem
フィールド protected ParticleSystemSceneObject.particle-system:ParticleSystem
shape:現在の ParticleShape を返します。
アクセサ public ParticleSystemSceneObject.shape:ParticleShape
セッター public ParticleSystemSceneObject.shape:ParticleShape
プロパティ 継承 PolygonSet: colors, diffuse-color, faces, fill-pattern, line-width, normals, point-size, primitive-type, shade-model, texture-coords, vertices
プロパティ 継承 LightableSceneObject: ambient-color, lighting-enabled?, shininess, specular-color
プロパティ 継承 SceneObject: bounding-box-caching-enabled?, bounding-box-or-object-visible?, cached-bounding-box-dirty?, controller, local-bounding-box-color, local-bounding-box-line-width, local-bounding-box-visible?, name, opaque-to-intersection?, parent, parent-bounding-box-color, parent-bounding-box-line-width, parent-bounding-box-visible?, scene, transformation, visible?, world-bounding-box-color, world-bounding-box-line-width, world-bounding-box-visible?, world-position, world-transformation
プロパティ 継承 EventTarget: event-handlers

メソッド
generate:継承された状態を ParticleArray を使用して更新します。
protected {ParticleSystemSceneObject.generate
particle-array:ParticleArray
}:void
paint:このインスタンスに属する ParticleSystem の更新とレンダリングを行います。
public {ParticleSystemSceneObject.paint
renderer:Renderer3d,
viewport-width:Distance,
viewport-height:Distance
}:void
update-vertices:レンダリングに備えて、継承された状態を更新します。
protected {ParticleSystemSceneObject.update-vertices}:void
メソッド 継承 PolygonSet: get-local-bounding-box
メソッド 継承 SceneObject: get-cached-local-bounding-box, get-parent-bounding-box, get-transformed-bounding-box, get-world-bounding-box, intersect-box, intersect-line, intersect-line-segment, intersect-ray, intersect-sphere, ndc-point-to-ray, point-to-ndc-point, point-to-viewport-point, pre-paint, rotate, scale, set-orientation-and-position, translate, viewport-point-to-ray
メソッド 継承 EventTarget: accepts-event-class?, add-event-handler, event-handler-present?, handle-event, remove-event-handler, verify-event
メソッド 継承 BasicEventTarget: enqueue-event
メソッド 継承 Object: object-describe, object-describe-for-debugging, object-serialize



コンストラクタ詳細
default (コンストラクタ)
public {ParticleSystemSceneObject.default
particle-system:ParticleSystem,
shape:ParticleShape = {PointParticleShape},
fill-pattern:FillPattern = {FillPattern.get-white}
}

ParticleSystemSceneObject を作成します。

particle-system: レンダリングされる ParticleSystem
shape: 生きている各 Particle に対してレンダリングされた ParticleShape
fill-pattern: 各 Particle で使われる FillPattern



プロパティ詳細
camera (アクセサ)
アクセサ protected ParticleSystemSceneObject.camera:Camera

現在の Camera を返します。



generate-texture-coordinates? (フィールド)
protected ParticleSystemSceneObject.generate-texture-coordinates?:bool

レンダリングされる多角形に、テクスチャをマップするかどうかを決定します。



particle-system (フィールド)
protected ParticleSystemSceneObject.particle-system:ParticleSystem

表示される ParticleSystem



shape (アクセサ)
アクセサ public ParticleSystemSceneObject.shape:ParticleShape
セッター public ParticleSystemSceneObject.shape:ParticleShape

現在の ParticleShape を返します。






メソッド詳細
generate (メソッド)
protected {ParticleSystemSceneObject.generate
particle-array:ParticleArray
}:void

継承された状態を ParticleArray を使用して更新します。



paint (メソッド)
public {ParticleSystemSceneObject.paint
renderer:Renderer3d,
viewport-width:Distance,
viewport-height:Distance
}:void

このインスタンスに属する ParticleSystem の更新とレンダリングを行います。

プログラミング注意事項

このメソッドは、Scene.paint が呼び出されたときに自動的に呼び出され、ParticleSystemSceneObject を再描画します。


update-vertices (メソッド)
protected {ParticleSystemSceneObject.update-vertices}:void

レンダリングに備えて、継承された状態を更新します。