@JvmOverloads fun setPart(part: String, material: String?, color: String?, noEvents: Boolean = false, options: Map<String, Any> = HashMap()): Unit
Changes the customization of a part.
part
- The part to be changed.
material
- The material to change to.
color
- The color to change to.
noEvents
- If the parts events shouldn't be triggered (defaults False
).
options
- A map with options to configure the operation (for internal use).