Class AltVariantData
- Namespace
- TrinketTinker.Models
- Assembly
- TrinketTinker.dll
Additional variant data, kind of like NPC appearance
public class AltVariantData : IVariantData
- Inheritance
-
AltVariantData
- Implements
- Inherited Members
Properties
ColorMask
Draw color mask, can use color name from Microsoft.Xna.Framework.Color, hex value, or COLOR_PRISMATIC for animated prismatic effect.
public string? ColorMask { get; set; }
Property Value
Condition
Game state query condition
public string? Condition { get; set; }
Property Value
Height
Sprite height
public int Height { get; set; }
Property Value
NPC
Variant speaker NPC, for chatter ability. Required for Portraiture compatibility, can omit Name if set.
public string? NPC { get; set; }
Property Value
Name
Variant speaker name, for chatter ability.
public string? Name { get; set; }
Property Value
Portrait
Variant portrait content path, for chatter ability.
public string? Portrait { get; set; }
Property Value
Priority
Priority of this alt variant, higher
public int Priority { get; set; }
Property Value
ShadowScale
Base scale to draw shadow texture.
public float ShadowScale { get; set; }
Property Value
Texture
Variant texture content path.
public string? Texture { get; set; }
Property Value
TextureExtra
Additional textures.
public string? TextureExtra { get; set; }
Property Value
TextureScale
Base scale to draw texture at.
public float TextureScale { get; set; }
Property Value
Width
Sprite width
public int Width { get; set; }