Show / Hide Table of Contents

Class LayerColoringDefinition

A class that defines coloring type and fallback for markings

Inheritance
System.Object
LayerColoringDefinition
Namespace: Content.Shared.Humanoid.Markings
Assembly: Content.Shared.dll
Syntax
public sealed class LayerColoringDefinition : object

Fields

| Improve this Doc View Source

FallbackColor

Color that will be used if coloring type and fallback type will return nil

Declaration
public Color FallbackColor
Field Value
Type Description
Color
| Improve this Doc View Source

FallbackTypes

Coloring types that will be used if main coloring type will return nil

Declaration
public List<LayerColoringType> FallbackTypes
Field Value
Type Description
List<LayerColoringType>
| Improve this Doc View Source

Type

Declaration
public LayerColoringType Type
Field Value
Type Description
LayerColoringType

Methods

| Improve this Doc View Source

GetColor(Nullable<Color>, Nullable<Color>, MarkingSet)

Declaration
public Color GetColor(Color? skin, Color? eyes, MarkingSet markingSet)
Parameters
Type Name Description
System.Nullable<Color> skin
System.Nullable<Color> eyes
MarkingSet markingSet
Returns
Type Description
Color
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾