[IoId("00000000-6ad7-4315-8852-32959a4b89a6")] public sealed class Guises : IStorable
A set of related Guise states for use in both standard and selected drawing.

Constructors

Guises

#
Create a guise collection.
public Guises(
standard,
Guise for unselected displays.
selected
Guise for selected displays.
)

Guises

#
public Guises(
reader
)

Properties

Id

#
Gets the identifier of this instance. This can be handy for when you have to decide whether or not to wipe a cache.
public Guid Id { get; }

Selected

#
Gets the partially resolved guise for selected display. Unset values in this guise must revert either to the Standard or some other guaranteed value.
public Guise Selected { get; }

SelectedUnresolved

#
Gets the guise for selected display. This guise may feature many unset properties and is not suitable for use in drawing routines. Use the Selected guise instead which has fully resolved properties.
public Guise SelectedUnresolved { get; }

Standard

#
Gets the fully resolved guise for normal (unselected) display. Use this when drawing shapes in the viewports.
public Guise Standard { get; }

StandardUnresolved

#
Gets the guise for standard (i.e. unselected) display. This guise may feature many unset properties and is not suitable for use in drawing routines. Use the Standard guise instead which has fully resolved properties.
public Guise StandardUnresolved { get; }

Methods

Store

#
public void Store(
writer
)
Store

WithSelected

#
public Guises WithSelected(
selected
)

WithStandard

#
public Guises WithStandard(
standard
)