GuiseFacet

References
[IoId("00000000-6474-454f-94b3-8208e9a7d29f")] public sealed class GuiseFacet : IStorable
Display properties for face geometry.

Constructors

GuiseFacet

#
public GuiseFacet(
Color
colour,
luster,
stripe,
wireframe = null,
vigour = NaN,
Color?
emission = null
)

GuiseFacet

#
public GuiseFacet(
reader
)

Properties

Colour

#
Gets the diffuse colour of face shading.
public Color Colour { get; }

EmissionColour

#
Gets the explicit emission colour override. UnsetColour means this layer does not set it; downstream (B path: EmissionFromDiffuse fallback; C path: black) provides the default. Distinct from the glow-baked emission, which is a per-path default rather than a layered value.
public Color EmissionColour { get; }

HasColour

#
public bool HasColour { get; }

HasEmissionColour

#
public bool HasEmissionColour { get; }

HasLuster

#
public bool HasLuster { get; }

HasStripe

#
public bool HasStripe { get; }

HasVigour

#
public bool HasVigour { get; }

HasWireframe

#
public bool HasWireframe { get; }

Luster

#
Gets the emission colour of face shading.
public float Luster { get; }

Stripe

#
Gets the face styling.
public Stripe Stripe { get; }

Vigour

#
Gets the vigour (colour skewness). NaN means this layer does not set it.
public float Vigour { get; }

Wireframe

#
Gets the wireframe override. Null means this layer does not set it; the next layer in the resolution chain (Standard -> Meta -> Selected) decides.
public bool? Wireframe { get; }

Methods

EmissionFromDiffuse

#
Compute the emission colour based on a diffuse colour and a glow factor.
public static Color EmissionFromDiffuse(
Color
diffuse,
glow
)

Store

#
public void Store(
writer
)
Store

WithColour

#
public GuiseFacet WithColour(
Color
diffuse
)

WithEmissionColour

#
public GuiseFacet WithEmissionColour(
Color
emission
)

WithLuster

#
public GuiseFacet WithLuster(
emission
)

WithoutColour

#
public GuiseFacet WithoutColour()

WithoutEmissionColour

#
public GuiseFacet WithoutEmissionColour()

WithoutLuster

#
public GuiseFacet WithoutLuster()

WithoutStripe

#
public GuiseFacet WithoutStripe()

WithoutVigour

#
public GuiseFacet WithoutVigour()

WithoutWireframe

#
public GuiseFacet WithoutWireframe()

WithStripe

#
public GuiseFacet WithStripe(
style
)

WithTint

#
public GuiseFacet WithTint(
Color
tint
)

WithVigour

#
public GuiseFacet WithVigour(
vigour
)

WithWireframe

#
public GuiseFacet WithWireframe(
wireframe
)