registerCustom

fun registerCustom(path: ResourcePath, material: Material): Int

Creates a custom model data entry for path under the specified material and returns the custom model data.