Show / Hide Table of Contents

Class HumanoidSpeciesSpriteLayer

Humanoid species sprite layer. This is what defines the base layer of a humanoid species sprite, and also defines how markings can appear over that sprite (or at least, the layer this sprite is on).

Inheritance
System.Object
HumanoidSpeciesSpriteLayer
Implements
Robust.Shared.Prototypes.IPrototype
Namespace: Content.Shared.Humanoid.Prototypes
Assembly: Content.Shared.dll
Syntax
public sealed class HumanoidSpeciesSpriteLayer : object, IPrototype

Properties

| Improve this Doc View Source

AllowsMarkings

If this sprite layer should allow markings or not.

Declaration
public bool AllowsMarkings { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

BaseSprite

The base sprite for this sprite layer. This is what will replace the empty layer tagged by the enum tied to this layer.

If this is null, no sprite will be displayed, and the layer will be invisible until otherwise set.

Declaration
public SpriteSpecifier BaseSprite { get; }
Property Value
Type Description
Robust.Shared.Utility.SpriteSpecifier
| Improve this Doc View Source

ID

Declaration
public string ID { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

LayerAlpha

The alpha of this layer. Ensures that this layer will start with this percentage of alpha.

Declaration
public float LayerAlpha { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

MarkingsMatchSkin

If any markings that go on this layer should match the skin tone of this part, including alpha.

Declaration
public bool MarkingsMatchSkin { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

MatchSkin

If this layer should always match the skin tone in a character profile.

Declaration
public bool MatchSkin { get; }
Property Value
Type Description
System.Boolean

Implements

Robust.Shared.Prototypes.IPrototype
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾