---
title: PhysicallyBasedMaterial.AnisotropyLevel
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/physicallybasedmaterial/anisotropylevel-swift.struct
---

# PhysicallyBasedMaterial.AnisotropyLevel

An object that defines the degree to which an entity reflects light to create stretched or oblong highlights.

## Declaration

```swift
struct AnisotropyLevel
```

## Overview

Overview By default, PBR materials are isotropic; in other words, an entity that uses PhysicallyBasedMaterial reflects light uniformly in all directions, mimicking the behavior of most real-world objects. Some objects, including those with many small parallel striations such as vinyl records, CDs, or straight hair, reflect light more in some directions than others, resulting in stretched or oblong specular highlights, as shown in the following figure.

Use this object to specify the anisotropyLevel for a material.

## Topics

### Creating an anisotropy level object

- [init(floatLiteral:)](realitykit/physicallybasedmaterial/anisotropylevel-swift.struct/init(floatliteral:).md)
- [init(scale:texture:)](realitykit/physicallybasedmaterial/anisotropylevel-swift.struct/init(scale:texture:).md)

### Accessing anisotropy level values

- [texture](realitykit/physicallybasedmaterial/anisotropylevel-swift.struct/texture.md)
- [textureSemantic](realitykit/physicallybasedmaterial/anisotropylevel-swift.struct/texturesemantic.md)
- [scale](realitykit/physicallybasedmaterial/anisotropylevel-swift.struct/scale.md)

## Relationships

### Conforms To

- [ExpressibleByFloatLiteral](swift/expressiblebyfloatliteral.md)

## See Also

### Realistic materials

- [Applying realistic material and lighting effects to entities](realitykit/applying-realistic-material-and-lighting-effects-to-entities.md)
- [Generating procedural textures](visionos/generating-procedural-textures-in-visionos.md)
- [PhysicallyBasedMaterial](realitykit/physicallybasedmaterial.md)
- [PhysicallyBasedMaterial.BaseColor](realitykit/physicallybasedmaterial/basecolor-swift.struct.md)
- [PhysicallyBasedMaterial.Roughness](realitykit/physicallybasedmaterial/roughness-swift.struct.md)
- [PhysicallyBasedMaterial.Metallic](realitykit/physicallybasedmaterial/metallic-swift.struct.md)
- [PhysicallyBasedMaterial.Normal](realitykit/physicallybasedmaterial/normal-swift.struct.md)
- [PhysicallyBasedMaterial.Blending](realitykit/physicallybasedmaterial/blending-swift.enum.md)
- [PhysicallyBasedMaterial.AmbientOcclusion](realitykit/physicallybasedmaterial/ambientocclusion-swift.struct.md)
- [PhysicallyBasedMaterial.Specular](realitykit/physicallybasedmaterial/specular-swift.struct.md)
- [PhysicallyBasedMaterial.SheenColor](realitykit/physicallybasedmaterial/sheencolor.md)
- [PhysicallyBasedMaterial.Clearcoat](realitykit/physicallybasedmaterial/clearcoat-swift.struct.md)
- [PhysicallyBasedMaterial.ClearcoatRoughness](realitykit/physicallybasedmaterial/clearcoatroughness-swift.struct.md)
- [PhysicallyBasedMaterial.AnisotropyAngle](realitykit/physicallybasedmaterial/anisotropyangle-swift.struct.md)
- [PhysicallyBasedMaterial.EmissiveColor](realitykit/physicallybasedmaterial/emissivecolor-swift.struct.md)
