csharp
public enum MaterialPreviewShapeWhat shape the material preview is drawn on.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A sphere is the default because it shows a whole BRDF at once — every angle between the normal and the eye is somewhere on it, which is exactly what a material is a function of. A plane is what a tiling or a decal material needs, and a cube is what shows a normal map's hard edges. The shapes are what the host renders; nothing here draws.
Fields and properties (3)
SphereA sphere. Every view angle at once.
PlaneA plane, for tiling and decals.
CubeA cube, for the hard edges a sphere hides.
Used by (1)
- MaterialViewVixen.Editor.AssetEditors