Unity 2018.1

Unity 2018.1
شرکت Unity از Unity 2018.1 به صورت Beta رونمایی کرد
2D: [Experimental] Added ability for user to add functionality for Sprite editing in the Sprite Editor Window. 2D: [Experimental] Added experimental API to support Sprite animation. Android: Added an interface with a callback that is called after the Android Gradle project is generated but before it is built. Android: Added ARM64 (also known as AArch64) experimental support. Android: Added Sustained Performance Mode setting, which sets a predictable, consistent level of device performance over longer periods of time without thermal throttling. Based on the SustainedPerformance API from Google. Animation: Added PositionConstraint, RotationConstraint and ScaleConstraint components. Animation: Added the AimConstraint component. Animation: Added the ParentConstraint component. Animation: Added weighted tangent support to AnimationCurve. Asset Import: (Also see API changes) Added OnPreprocessAsset callback in AssetPostprocessor. Asset Import: Added support for importing Aim constraints from FBX files. Asset Import: Added support for importing Parent constraints from FBX files. Asset Import: Added support for importing Point, Orient and Scale constraints from FBX files. Asset Import: [Experimental] Added experimental API to generate Texture/Sprite from importer settings. Audio: Added Google's Resonance Audio plugins. Build Pipeline: Added a new API for changing platform icons; it supports platform specific icon kinds(types) and multilayer icons. Build Pipeline: Added ability to store and retrieve object references by name through EditorBuildSettings. Build Pipeline: Added new BuildReport API. Building players and assetbundles will now return a BuildReport object that allows you to query information about the build process and outputs. Build Pipeline: Android Build & Run has now target device selection in the build dialog. It allows users to deploy to either a specific single device or to all supported devices simultaneously. Cache Server: Added -CacheServerIPAddress command line argument to connect Editor to specified Cache Server on startup. Editor: New ObjectFactory API that allow to create Object using default values - See ScriptingAPI and Presets for more details. Editor: Preset class that allow to save serialized informations of an Object to a .preset asset and apply it later to the same Object type. Editor: The profiler window now contains a 'clear on play' button. Editor: When running PlayMode and EditMode tests in batch mode it is now possible to specify scriptingBackend to use trough a test settings file. GI: Added experimental API for baking sky occlusion in Progressive Lightmapper. The sky occlusion value for a given input position denotes what fraction of the sky is visible for that point. It takes into account any lightmap static object. The sky occlusion allows you to apply the correct amount of sky lighting to objects that are otherwise hard to lightmap, such as trees and foliage. GI: [Experimental] Added new experimental C# interface to pass light information to the GI baking backends. Graphics: Added dynamic resolution support for PS4. Graphics: GPU Instancing now supports GI. Objects affected by light probes, occlusion probes (in shadowmask mode) or lightmaps can now be automatically batched by Foward and Deferred pipeline.
Light probe and occlusion probe data can be sent to Graphics.DrawMeshInstanced using LightProbeUsage.CustomProvided mode.
New APIs are added for calculating probe data and copying to MaterialPropertyBlock: -- LightProbes.CalculateInterpolatedLightAndOcclusionProbes -- MaterialPropertyBlock.CopySHCoefficientArrayFrom -- MaterialPropertyBlock.CopyProbeOcclusionArrayFrom
Graphics: Metal: Added support for DX11 tessellation through hull/domain shaders. Multiplayer: Added support for callbacks that the user can define to be notified when there is something to read or connection is ready to send. OSX: Added support for IL2CPP scripting backend for Mac Standalone player. Particles: Added support for GPU instancing of Particle System mesh rendering. Particles: Added support for Orbital Velocity to the Velocity over Lifetime module. Particles: All particle emitter shapes now support reading a Texture for masking and color tinting. Physics: 2D Physics is now able to use all the cores on a device to run its simulation. See 'Job Options (Experimental)' in 2D physics settings. Player: (Alse mentioned under API changes) Added an experimental API which allows to change the order in which engine systems are invoked, remove engine systems from the update order, or insert new C# entrypoints at any point in the update cycle: UnityEngine.Experimental.LowLevel.PlayerLoop. Scripting: Added command line option "overrideMonoSearchPath" for desktop standalone players (OSX, Windows). "overrideMonoSearchPath" specifies an extra folder to search when Mono is loading assemblies. One intended use is two versions of the same project i.e. trial and full version. The assets are the same but the scripts are different. This command line option can be used to re-use the assets but load different scripts. Video: Audio sample output API for the VideoPlayer with support for access from C# or C++. Video: Support for reading videos from AssetBundles on Android. Web: Added UploadHandlerFile for UnityWebRequest: sends file contents as request body without loading entire file to memory. Web: Custom certificate validation support added to UnityWebRequest. See CertificateHandler script documentation for more info. Windows: Added support for IL2CPP scripting backend for Windows Standalone player. XR: 360 stereo image capture with support for conversion of rendered texture (cubemap) to stereo/mono equirectangular format for display in VR. Added script API: RenderTexture.ConvertToEquirect() for converting rendered cubemap textures to stereo and mono equirectangular format. XR: Added a new option in the Windows MR Player Settings called Enable Depth Buffer Sharing. This allows the OS to better stabilize images without the need to manually set the focus plane. For more information on the benefits of image stabilization, see Microsoft's documentation on Hologram Stability. XR: Added support for capturing stereoscopic 360 images for VR and non-VR projects. Added omni-directional stereo (ODS) support in shader pipeline for rendering to 360 stereo cubemap. Support for 360 stereo cubemap rendering in forward/deferred pipelines, directional/point light shadows, Skybox, MSAA, HDR and post processing stack. All pipelines and modes are tested.
ODS rendering support for screenspace shadows via separate ods world space pass and render texture to avoid incorrect shadows per eye.
Added stereo RenderToCubemap API script support: camera.RenderToCubemap with stereo eye parameter.
XR: Standalone player support for stereoscopic 360 image capture for VR and non-VR projects. Currently supported on Win64/OSX platforms. Generate 360 capture shader variants when building standalone player according to the '360 Stereo Capture' UI checkbox in the VR editor settings panel.
Added PlayerSettings.enable360StereoCapture binding and doc page.
Rate this blog entry: