Table of Contents

Class Visual.SpriteOrigin

Namespace
PolyMod.Managers
Assembly
PolyMod.dll

The source of the image for a sprite that a Visual.SpriteInfo describes.

public class Visual.SpriteOrigin
Inheritance
Visual.SpriteOrigin
Inherited Members

Fields

name

The name of the source image. For Outer, it is the name of a mod texture. For Inner, it is the name of a game sprite.

[JsonInclude]
public string? name

Field Value

string

originType

The type of the source. The default value is Outer.

[JsonInclude]
[JsonConverter(typeof(EnumNameJson<Visual.OriginType>))]
public Visual.OriginType originType

Field Value

Visual.OriginType