Version: 2018.2
Material tab
Model file formats

SketchUp Settings

SketchUp is software that is commonly used for architecture modeling. Unity reads SketchUp files directly and supports the following SketchUp features:

  • Textures and Materials, which Unity imports according to the settings on the Materials tab.
  • Component Definitions and Groups, which are converted into meshes, instanced as GameObjects which you can place in the scene.
  • Camera data for each scene in the file.

Tip: For information on how to export an FBX file from SketchUp, see Exporting from other applications.

Ограничения

SketchUp-specific Import Settings

To import a SketchUp file directly into Unity, drag it into the Assets folder using the Finder (MacOS) or the File Manager (Windows). When you click the Asset file inside Unity, the Model Inspector appears in a special Sketch Up tab:

SketchUp-specific properties in the Inspector window for importing the Model
SketchUp-specific properties in the Inspector window for importing the Model
Property: Function:
SketchUp
Generate Back Face Generate back-facing polygons in Unity. By default, Unity only imports the front-facing polygons to reduce polygon counts unless there is Material assigned to the back-facing polygons in SketchUp.
Merge Coplanar Faces Merge coplanar faces when generating meshes in Unity.
Unit Conversion Length measurement to unit conversion.
Unit drop-down box Choose the unit to use for the conversion. Defaults to Meters.
Value to convert This value determines how the Scale Factor is calculated (see Unit conversion below).
Longitude Read-only value from the Geo Coordinate system, used to identify a position on a geographic system.
Latitude Read-only value from the Geo Coordinate system, used to identify a position on a geographic system.
North Correction Read-only value from the Geo Coordinate system, used to describe the angle needed to rotate North to the Z axis.
Select Nodes Open a window where you can specify which nodes to import. A node represents an Entity, Group, or Component Instance in SketchUp. For example, if you have one file containing several couches, you can select the one you want to import. For more information, see Selecting SketchUpNodes below.

The rest of the options on the Inspector window are the regular FBX Model import options that are available for any 3D modeling application.

Unit conversion

By default, Unity scales SketchUp models to 1 meter (0.0254 inches) to 1 unit length.

SketchUp file with a cube set to 1m in height
SketchUp file with a cube set to 1m in height

Changing the default Unit Conversion values affects the scale of the imported file:

 The green square is placed as reference where the size of the square is set to 1x1 unit length.
The green square is placed as reference where the size of the square is set to 1x1 unit length.

Selecting SketchUp Nodes

Unity supports the visibility setting in the SketchUp file for each node. If a node is hidden in the SketchUp file, Unity does not import the node by default. However, you can override this behavior by clicking the Select Nodes button to display the SketchUp node hierarchy in the SketchUp Node Selection Dialog window.

SketchUp Node Selection Dialog window
SketchUp Node Selection Dialog window

Each group and component instance in the file appears in the hierarchy as a node, which you can select or deselect. When you are finished selecting the nodes to include, click the OK button to import only the checked nodes.


Material tab
Model file formats
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961