Skip to content

CanvasSpriteFlip and CanvasSpriteOptions don't work together. #1005

@Gavin-Williams

Description

@Gavin-Williams

When I try to use CanvasSpriteFlip.Vertical with CanvasSpriteOptions.ClampToSourceRect, the sprite doesn't render. How do we flip sprites without bleed?

Seems like you're utilizing out of bounds values to flip sprites. The sampling can be flipped without going out of bounds so that clamping still works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions