表示テーマ
ParticleEventRouteSettings
ParticleEventRouteSettingsは、Particleの個別設定をまとめる型です。取得元の設定から値を編集し、所有するComponentへ反映します。
型の情報
- 名前空間:
NEMEngine - 型:
NEMEngine.ParticleEventRouteSettings(Class) - 継承元:NEMEngine.ParticleSettingsObject
count
csharp
public uint count保持する要素数または1回の発生数です。
操作:読取・変更。
enabled
csharp
public bool enabledこのComponentの処理を有効にします。GameObject全体のアクティブ状態とは別です。
操作:読取・変更。
inheritColor
csharp
public bool inheritColorSourceまたはイベント元の色を継承します。
操作:読取・変更。
inheritNormal
csharp
public bool inheritNormal衝突面の法線を継承します。
操作:読取・変更。
inheritPosition
csharp
public bool inheritPositionイベント元の位置を継承します。
操作:読取・変更。
inheritSeed
csharp
public bool inheritSeedイベント元のSeedを継承します。
操作:読取・変更。
inheritVelocity
csharp
public bool inheritVelocitySourceまたはイベント元の速度を継承する倍率です。
操作:読取・変更。
kind
csharp
public ParticleEventKind kind発生元・イベント・Passなどの種類です。
操作:読取・変更。
phase
csharp
public uint phase送信対象のPhaseです。
操作:読取・変更。
probability
csharp
public float probabilityイベントを転送する確率です。
操作:読取・変更。
target
csharp
public ParticleEntityReference target追従・注視・遅延表示などの対象GameObject参照です。
操作:読取・変更。
time
csharp
public float timePlay開始からのゲーム時間です。単位は秒です。
操作:読取・変更。
実行時の扱い
Nativeと接続する操作は、Scriptが実行される有効なWorld内で使用します。破棄したGameObjectやComponentへのアクセスは避けてください。設定Snapshotは取得・編集・反映を1組で扱います。