Search Results for

    Show / Hide Table of Contents

    Class Sprite

    Contains information about single atlas slot with sprite texture.

    Inheritance
    System.Object
    Sprite
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public sealed class Sprite : ValueType

    Fields

    Area

    The normalized area of the sprite in the atlas (in range [0;1]).

    Declaration
    public Rectangle Area
    Field Value
    Rectangle

    Name

    The sprite name.

    Declaration
    public string Name
    Field Value
    System.String

    Properties

    Default

    The default Sprite.

    Declaration
    public static Sprite Default { get; }
    Property Value
    Sprite

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat