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 SourceFallbackColor
Color that will be used if coloring type and fallback type will return nil
Declaration
public Color FallbackColor
Field Value
Type | Description |
---|---|
Color |
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> |
Type
Declaration
public LayerColoringType Type
Field Value
Type | Description |
---|---|
LayerColoringType |
Methods
| Improve this Doc View SourceGetColor(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 |