Renderer · interface
AnisotropicModel
Strands of brushed metal, satin or hair-like fibre: a highlight stretched across them.
Explained in Hello world.
interface AnisotropicModelimport type { AnisotropicModel } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
kindreadonly | 'anisotropic' | |
strengthreadonly | number | 0 to 1: how far the highlight is stretched along the tangent. |
rotationreadonly | number | Radians, turning the stretch's direction from the tangent toward the bitangent. |