BuiltInMaterialSets
public static class BuiltInMaterialSetsCurated, package-relative material sets for beginner-friendly surface styling.
Methods
Section titled “Methods”
Get(Preset)
Section titled “Get(Preset)”public static TextStudio3DMaterialSet Get(BuiltInMaterialSets.Preset preset)Resolves a shipped material set or creates and caches a transient material-backed fallback when package resources are unavailable.
Parameters
| Name | Type |
|---|---|
preset |
TextStudio.ThreeD.BuiltInMaterialSets.Preset |
Returns
TextStudio.ThreeD.TextStudio3DMaterialSet
MenuPath(Preset)
Section titled “MenuPath(Preset)”public static string MenuPath(BuiltInMaterialSets.Preset preset)Returns the stable category and display path used to present a built-in material set.
Parameters
| Name | Type |
|---|---|
preset |
TextStudio.ThreeD.BuiltInMaterialSets.Preset |
Returns
System.String
Properties
Section titled “Properties”
public static IReadOnlyList<BuiltInMaterialSets.Preset> All { get; }Returns
System.Collections.Generic.IReadOnlyList{TextStudio.ThreeD.BuiltInMaterialSets.Preset}