• Convert a canonical material to a native material

    Parameters

    • wasm: any

      The wasm object to use for conversion.

    • from: CanonicalMaterial

      The material to convert.

    Returns MaterialObject

    The native material object.