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 SourceAllowsMarkings
If this sprite layer should allow markings or not.
Declaration
public bool AllowsMarkings { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
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 |
ID
Declaration
public string ID { get; }
Property Value
Type | Description |
---|---|
System.String |
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 |
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 |
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