表示テーマ
ParticleSystemSettings
ParticleSystemSettingsは、Particleの個別設定をまとめる型です。取得元の設定から値を編集し、所有するComponentへ反映します。
型の情報
- 名前空間:
NEMEngine - 型:
NEMEngine.ParticleSystemSettings(Class) - 継承元:NEMEngine.ParticleSettingsObject
AddPhase
csharp
public ParticlePhaseSettings AddPhase(string name = "Phase")Particle設定へPhaseを追加します。
| 引数 | 型 | 既定値 |
|---|---|---|
name | string | Phase |
戻り値:NEMEngine.ParticlePhaseSettings。
MovePhase
csharp
public void MovePhase(int source, int destination)Phaseの順序を変更します。
| 引数 | 型 | 既定値 |
|---|---|---|
source | int | 必須 |
destination | int | 必須 |
RemovePhaseAt
csharp
public void RemovePhaseAt(int index)指定番号のPhaseを取り除きます。
| 引数 | 型 | 既定値 |
|---|---|---|
index | int | 必須 |
billboard
csharp
public bool billboard粒子をCameraへ向けます。
操作:読取・変更。
billboardAxes
csharp
public ParticleAxes billboardAxesBillboardで回す軸を制限します。
操作:読取・変更。
blendMode
csharp
public BlendMode blendMode背景への色の混ぜ方です。加算などの方式を選びます。
操作:読取・変更。
crossPlane
csharp
public CrossPlaneGeometrySettings crossPlane交差する板の枚数・寸法などの設定です。
操作:読取専用。
cube
csharp
public CubeGeometrySettings cubeCubeの寸法・原点設定です。
操作:読取専用。
cylinder
csharp
public CylinderGeometrySettings cylinderCylinderの半径・高さ・分割数・頂点色の設定です。
操作:読取専用。
emitter
csharp
public ParticleEmitterSettings emitter発生頻度・初速・形状を設定するEmitterです。
操作:読取専用。
feedback
csharp
public ParticleFeedbackSettings feedbackイベント、衝突Decal、表面への描き込みの設定です。
操作:読取専用。
hemisphere
csharp
public HemisphereGeometrySettings hemisphere半球の半径・分割数・底面の設定です。
操作:読取専用。
looping
csharp
public bool loopingParticleSystemの発生を繰り返します。
操作:読取・変更。
material
csharp
public AssetGUID material描画に使うMaterial参照です。既定MaterialはEngine側から解決されます。
操作:読取・変更。
model
csharp
public AssetGUID modelMesh形状として描くモデル参照です。
操作:読取・変更。
phases
csharp
public IReadOnlyList<ParticlePhaseSettings> phases順に進むParticle Phaseの設定一覧です。
操作:読取専用。
plane
csharp
public PlaneGeometrySettings plane無限平面との衝突を有効にします。
操作:読取専用。
queue
csharp
public RenderPhase queue同じ描画区分内の並び順です。
操作:読取・変更。
ring
csharp
public RingGeometrySettings ringRingの内外半径・角度・分割数の設定です。
操作:読取専用。
shape
csharp
public PrimitiveType shape発生形状または粒子を描く形状を選びます。設定を持つ型の説明も確認してください。
操作:読取・変更。
source
csharp
public ParticleSourceSettings source粒子の発生位置と継承値を取得するSourceです。
操作:読取専用。
space
csharp
public PrimitiveRenderSpace space描画またはシミュレーションの基準空間です。
操作:読取・変更。
sphere
csharp
public SphereGeometrySettings sphereSphere形状の半径と分割数などの設定です。
操作:読取専用。
surface
csharp
public ParticleSurfaceSettings surface粒子表面の照明・質感・Soft Particle設定です。
操作:読取専用。
trail
csharp
public ParticleTrailSettings trail粒子の軌跡を線として描くTrail設定です。
操作:読取専用。
実行時の扱い
Nativeと接続する操作は、Scriptが実行される有効なWorld内で使用します。破棄したGameObjectやComponentへのアクセスは避けてください。設定Snapshotは取得・編集・反映を1組で扱います。