MaterialConverter

public interface MaterialConverter

Custom converter to convert the geometry’s original material to GLTF’s PBR material.

Methods

MethodDescription
call(Material mat)Custom converter to convert the geometry’s original material to GLTF’s PBR material.

call(Material mat)

public abstract Material call(Material mat)

Custom converter to convert the geometry’s original material to GLTF’s PBR material.

Parameters:

ParameterTypeDescription
matMaterialOld material instance

Returns: Material - New material instance