You are here: Surfaces > AppearanceSetter

AppearanceSetter

Sets appearance style(s) onto the front and/or back sides of geometries. All Surfaces and most geometry types which are, or can contain, surfaces may have appearances set directly on them.

You may also, at the same time, generate the texture coordinates of the surfaces that are affected. Texture coordinates are only required where Raster textures are used.

The appearance is only directly set on the geometry parts which are specified through the Geometry XQuery selection. However, because appearances may be inherited further down a geometry hierarchy, setting an appearance directly at one level may also have a visible effect further down a geometry hierarchy. Texture coordinates are therefore calculated, if necessary, on every geometry part that is affected by the setting of this appearance.

This transformer accepts appearance values in two ways: input appearance style feature and transformer parameter values. If a value is specified in both places, the parameter value will be the only one used. For example, if an input appearance style feature has the appearance name wall, and the appearance name is also set in the transformer parameter as brick wall, then the appearance that is set on the feature will have the name brick wall.

There are also two fundamental modes in which this transformer is used:

  • One mode may send in many Appearance style features and specify, through the two join parameters, which Appearance to apply to each selected geometry part.
  • In the other mode, where no join is specified, a single input Appearance style feature is expected and it is used for all selected geometry parts.

For more information on appearance support in FME, see Appearances.

Input Ports

Output Ports

Coordinate Space Terminology

In order to reduce confusion between the real coordinate space of the surface and the texture coordinate space, this transformer uses "u" and "v" instead of "x" and "y" when referencing the latter. Note that this is also reflected in the parameter names.

Parameters

Transformer

Geometry Part Selection

Color Parameters

Texture Parameters

Texture Coordinate Generation Parameters

Editing Transformer Parameters

Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.

Transformer Categories

Surfaces

Search FME Knowledge Center

Search for samples and information about this transformer on the FME Knowledge Center.

 

Tags Keywords: AppearanceAdder