MaterialConverter
public interface MaterialConverter
ジオメトリの元のマテリアルを GLTF の PBR マテリアルに変換するカスタムコンバータ。
メソッド
| メソッド | 説明 |
|---|---|
| call(Material mat) | ジオメトリの元のマテリアルを GLTF の PBR マテリアルに変換するカスタムコンバータ。 |
call(Material mat)
public abstract Material call(Material mat)
ジオメトリの元のマテリアルを GLTF の PBR マテリアルに変換するカスタムコンバータ。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| mat | Material | 古いマテリアルインスタンス |
Returns: Material - New material instance