Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    SpriteEffects Enum

    Namespace: Stride.Graphics
    Assembly: Stride.Graphics.dll

    Defines sprite mirroring options.

    [DataContract]
    public enum SpriteEffects
    Remarks

    Description is taken from original XNA SpriteEffects class.

    Fields

    Name Description
    FlipBoth

    Rotate 180 degrees around both the X and Y axis before rendering.

    FlipHorizontally

    Rotate 180 degrees around the Y axis before rendering.

    FlipVertically

    Rotate 180 degrees around the X axis before rendering.

    None

    No rotations specified.

    Extension Methods

    ComponentBaseExtensions.DisposeBy<SpriteEffects>(ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<SpriteEffects>(ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article
    In This Article
    • Fields
    • Extension Methods

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation