SurfaceInterpolation
Surface shading interpolation methods. Available values: - Flat: Flat shading (per-face normals; faceted look). - Gouraud: Gouraud shading (per-vertex lighting interpolation). - Phong: Phong shading (per-pixel normal interpolation). - PBR: Physically based rendering.
Import
import ScriptingApi as api
# Access the class
# SurfaceInterpolation is available via api.SurfaceInterpolation
Enumeration Values
Enumeration Interpolation from SurfaceInterpolation
| Value | Description |
|---|---|
SurfaceInterpolation.Flat | Flat option |
SurfaceInterpolation.Gouraud | Gouraud option |
SurfaceInterpolation.Phong | Phong option |
SurfaceInterpolation.PBR | PBR option |
Usage Example
import ScriptingApi as api
# Access enumeration values
value = api.SurfaceInterpolation.Flat