Пример #1
0
 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,
     });
 }
Пример #2
0
 internal static extern void Internal_SetLightmapSettings(IntPtr obj, ref LightmapSettings value);
Пример #3
0
 internal static extern void Internal_GetLightmapSettings(IntPtr obj, out LightmapSettings resultAsRef);