internal static Internal ToInternal(ref LightmapSettings data) { return(new Internal { IndirectLightingIntensity = data.IndirectLightingIntensity, GlobalObjectsScale = data.GlobalObjectsScale, ChartsPadding = data.ChartsPadding, AtlasSize = (int)data.AtlasSize, BounceCount = data.BounceCount, UseGeometryWithNoMaterials = (byte)(data.UseGeometryWithNoMaterials ? 1 : 0), Quality = data.Quality, }); }
internal static extern void Internal_SetLightmapSettings(IntPtr obj, ref LightmapSettings value);
internal static extern void Internal_GetLightmapSettings(IntPtr obj, out LightmapSettings resultAsRef);