Epic Games Unreal Datasmith (UDATASMITH) Feature Representation

In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Type Attributes), this format also adds format-specific attributes (Format Attributes).

UDATASMITH features consist of geometry and geometry traits. Each geometry will be written as a top-level node in the .udatasmith scene hierarchy, and each geometry trait will be written as a Datasmith metadata property.

Any geometry that can be represented as a surface will be converted into a mesh before writing. Geometries with no Z coordinates (2D geometries) will be assigned 0 as their z values.

Material and Appearance

If the feature being written does not contain a valid appearance reference, the default material will be assigned to the corresponding faces. If the feature contains a valid appearance reference, it will be written as a mesh with a single Unreal Material.

A two-sided surface with matching appearance references will be written out as a mesh with two Material slots, where all front faces are associated with the first Material and all back faces are associated with the second Material..

The material name in UDATASMITH must be unique, and the writer may modify the corresponding Appearance name to ensure uniqueness.