setName

fun setName(name: String?): CapsuleOption

Sets the debug name of the resulting mesh.

Return

This CapsuleOption instance, for chaining.

Parameters

name

Custom name, used for debugging and resource identification. Pass null to keep the mesh unnamed.