OptionalcastWhether this mesh casts shadows (MeshRenderer.castShadow).
OptionalreflectionWhether this mesh appears in probe captures (MeshRenderer.reflectionProbeVisible).
Optionallight8-bit deferred light-exclusion mask (MeshRenderer.lightExcludeMask).
Construction options for MeshRenderer. Every field is optional and maps to the like-named property; omitted fields keep the property default. The required Mesh and Material stay positional constructor args.