AngeliA
Search Results for

    Show / Hide Table of Contents

    Class HeadCloth

    Hat for a pose-style character

    Properties

    ClothType

    Where should characters wear this cloth

    Declaration
    public override sealed ClothType ClothType { get; }
    Overrides
    Cloth.ClothType

    SpriteLoaded

    True if the artwork sprites are loaded

    Declaration
    public override bool SpriteLoaded { get; }
    Overrides
    Cloth.SpriteLoaded

    Methods

    DrawCloth(PoseCharacterRenderer)

    Draw cloth for the given character

    Declaration
    public override void DrawCloth(PoseCharacterRenderer renderer)
    Overrides
    Cloth.DrawCloth(PoseCharacterRenderer)

    DrawClothForHead(PoseCharacterRenderer, OrientedSprite)

    Draw artwork sprite as hat for given character

    Declaration
    public static void DrawClothForHead(PoseCharacterRenderer renderer, OrientedSprite clothSprite)
    Parameters
    Type Name Description
    PoseCharacterRenderer renderer

    Target character

    OrientedSprite clothSprite

    Artwork sprite

    DrawClothFromPool(PoseCharacterRenderer)

    Draw hat for given character from system pool

    Declaration
    public static void DrawClothFromPool(PoseCharacterRenderer renderer)

    DrawClothGizmos(IRect, Color32, int)

    Draw cloth as gizmos

    Declaration
    public override void DrawClothGizmos(IRect rect, Color32 tint, int z)
    Parameters
    Type Name Description
    IRect rect

    Rect position in global space

    Color32 tint

    Color tint

    int z

    Z value for sort rendering cell

    Overrides
    Cloth.DrawClothGizmos(IRect, Color32, int)

    FillFromSheet(string)

    Load sprite data from Renderer.CurrentSheet

    Declaration
    public override bool FillFromSheet(string name)
    Overrides
    Cloth.FillFromSheet(string)
    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค