GuiseFacet

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

Constructors

GuiseFacet

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

GuiseFacet

#
public GuiseFacet(IReader reader)
reader (IReader)

Properties

Colour

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

EmissionColour

#
public Color EmissionColour { get; }
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.

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

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

Stripe

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

Vigour

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

Wireframe

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

Methods

EmissionFromDiffuse

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

Store

#
public void Store(IWriter writer)
writer (IWriter)
Store

WithColour

#
public GuiseFacet WithColour(Color diffuse)
diffuse (Color)

WithEmissionColour

#
public GuiseFacet WithEmissionColour(Color emission)
emission (Color)

WithLuster

#
public GuiseFacet WithLuster(float emission)
emission (float)

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(Stripe style)
style (Stripe)

WithTint

#
public GuiseFacet WithTint(Color tint)
tint (Color)

WithVigour

#
public GuiseFacet WithVigour(float vigour)
vigour (float)

WithWireframe

#
public GuiseFacet WithWireframe(bool? wireframe)
wireframe (bool?)