AssetStyling

References
[IoId("00000000-b5cd-4f13-976c-e0236933f184")] public readonly struct AssetStyling : IStorable

Constructors

AssetStyling

#
public AssetStyling()

AssetStyling

#
public AssetStyling(
shading,
gradient
)

AssetStyling

#
public AssetStyling(
reader
)

Properties

Colour

#
Gets the colour styling.
public AssetColouring Colour { get; }

Default

#
public static AssetStyling Default { get; }

Gradient

#
Gets the colour gradient to be, in case Colour equals AssetColouring.Custom.
public Gradient Gradient { get; }

Shading

#
Gets the shading styling.
public AssetShading Shading { get; }

Methods

Shade

#
public void Shade(
mesh,
sun
)

Store

#
public void Store(
writer
)
Store

ToString

#
public override string ToString()

TryParse

#
public static Result<AssetStyling> TryParse(
text
)

Convertors

OperationResultDescription
implicitAssetColouringAssetStyling
implicitAssetShadingAssetStyling