MaterialConverter

public interface MaterialConverter

ジオメトリの元のマテリアルを GLTF の PBR マテリアルに変換するカスタムコンバータ。

メソッド

メソッド説明
call(Material mat)ジオメトリの元のマテリアルを GLTF の PBR マテリアルに変換するカスタムコンバータ。

call(Material mat)

public abstract Material call(Material mat)

ジオメトリの元のマテリアルを GLTF の PBR マテリアルに変換するカスタムコンバータ。

Parameters:

パラメーター説明
matMaterial古いマテリアルインスタンス

Returns: Material - New material instance