Enumeration Case

MDLMaterialSemantic.displacement

The displacement of a material’s surface relative to the surface normal.

Declaration

case displacement = 20

Discussion

Model I/O uses this semantic for the displacement and map_displacement attributes when importing from the MTL file format (for assets in the OBJ file format).

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software