Companion

object Companion

The companion object for MeshInstancesResource.

Functions

Link copied to clipboard
@JvmStatic
fun create(name: String = "MeshInstancesResource"): MeshInstancesResource

Creates a new MeshInstancesResource with the specified name.

@JvmStatic
fun create(name: String = "MeshInstancesResource", list: List<MeshInstancesResource.Instance>): MeshInstancesResource

Creates a new MeshInstancesResource with the specified name and instances. When there are too many instances that need to be created at one time, using this function will achieve better performance.