Skip to content

ParticleMaterialSettings ​

ParticleMaterialSettingsは、Particleの個別設定をまとめる型です。取得元の設定から値を編集し、所有するComponentへ反映します。

使い方と前提条件 · C# API一覧

型の情報 ​

GetParameter ​

csharp
public ParticleVector4Animation GetParameter(string name)

設定内のParameterを名前で取得します。

引数型既定値
namestring必須

戻り値:NEMEngine.ParticleVector4Animation。

RemoveParameter ​

csharp
public bool RemoveParameter(string name)

設定から指定Parameterを取り除きます。

引数型既定値
namestring必須

戻り値:bool。

RemoveTexture ​

csharp
public bool RemoveTexture(string name)

指定したTextureの個別設定を取り除きます。

引数型既定値
namestring必須

戻り値:bool。

SetTexture ​

csharp
public void SetTexture(string name, AssetGUID texture)

名前またはIDが一致するTexture Parameterを設定します。

引数型既定値
namestring必須
textureNEMEngine.AssetGUID必須

baseColorTexture ​

csharp
public AssetGUID baseColorTexture

ベースカラーとAlphaに使うTexture参照です。

操作:読取・変更。

textures ​

csharp
public IReadOnlyDictionary<string, AssetGUID> textures

Shaderが参照するTextureの個別設定です。

操作:読取専用。

実行時の扱い ​

Nativeと接続する操作は、Scriptが実行される有効なWorld内で使用します。破棄したGameObjectやComponentへのアクセスは避けてください。設定Snapshotは取得・編集・反映を1組で扱います。

現行版マニュアル · 8ea58ba2 · 2026-10-28確認