Class SpriteShape | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class SpriteShape

    Inheritance
    System.Object
    SpriteShape
    Namespace: UnityEngine.U2D
    Syntax
    public class SpriteShape : ScriptableObject

    Properties

    angleRanges

    Declaration
    public List<AngleRange> angleRanges { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<AngleRange>

    bevelCutoff

    Declaration
    public float bevelCutoff { get; set; }
    Property Value
    Type Description
    System.Single

    bevelSize

    Declaration
    public float bevelSize { get; set; }
    Property Value
    Type Description
    System.Single

    cornerSprites

    Declaration
    public List<CornerSprite> cornerSprites { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<CornerSprite>

    fillOffset

    Declaration
    public float fillOffset { get; set; }
    Property Value
    Type Description
    System.Single

    fillPixelsPerUnit

    Declaration
    public float fillPixelsPerUnit { get; set; }
    Property Value
    Type Description
    System.Single

    fillTexture

    Declaration
    public Texture2D fillTexture { get; set; }
    Property Value
    Type Description
    Texture2D

    useSpriteBorders

    Declaration
    public bool useSpriteBorders { get; set; }
    Property Value
    Type Description
    System.Boolean

    worldSpaceUVs

    Declaration
    public bool worldSpaceUVs { get; set; }
    Property Value
    Type Description
    System.Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023