csharp
public sealed class SceneFaceMaterialDataWhich material one of an entity's face groups is drawn with.
Remarks
Doc 24's P5 per-face material. A pair rather than a map keyed by the group number, because a YAML mapping with integer keys reads badly, diffs badly and binds differently depending on how the number was quoted — a list of two-key entries is one line per assignment and is unambiguous.
⚠ The reference text rather than a bare id, for Asset's reason: ReferenceIndex answers "what breaks if I delete this" by looking for vx: followed by thirty-two hex digits, and an id serialised as a bare scalar is invisible to it — which would let the editor offer to delete a material out from under a level that uses it.
Fields and properties (2)
public int GroupWhich face group.
public string MaterialWhich material, in vx: form.
Methods (1)
public override string ToString()Renders it as its group.
Used by (3)
- SceneEntityDataVixen.Editor.Core
- SceneSerializerVixen.Editor.SceneView
- TypeRegistrationVixen.Editor.Core