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
Bounding
Adjusts the bounding box
public Rectangle Bounding { get; set; }
Property Value
- Rectangle
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
ShowBreathing
Show NPC breathing, only usable if NPC is a real NPC with standard 16x32 or smaller sprite.
public bool? ShowBreathing { get; set; }
Property Value
- bool?
Texture
Variant texture content path.
public string? Texture { get; set; }
Property Value
TextureExtra
Additional textures used in anim clips only, this should generally have the same layout as Texture.
public string? TextureExtra { get; set; }
Property Value
TextureExtraSourceRect
Which section of TextureExtra to use, defaults to entire texture
public Rectangle TextureExtraSourceRect { get; set; }
Property Value
- Rectangle
TextureScale
Base scale to draw texture at.
public float TextureScale { get; set; }
Property Value
TextureSourceRect
Which section of Texture to use, defaults to entire texture
public Rectangle TextureSourceRect { get; set; }
Property Value
- Rectangle
Width
Sprite width
public int Width { get; set; }