Enumeration Case

MDLMaterialSemanticAnisotropicRotation

The angle at which anisotropic effects are rotated relative to the local tangent basis.

Declaration

MDLMaterialSemanticAnisotropicRotation

Discussion

Values for this semantic in the range from 0.0 to 1.0 map to angles from 0.0 to 2 * M_PI. This semantic has no effect in a mesh that does not contain vertex attribute data providing a tangent basis.

Model I/O uses this semantic for the anisotropicRotation and map_anisotropicRotation 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