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

    Class SpriteShapeController

    Inheritance
    System.Object
    SpriteShapeController
    Namespace: UnityEngine.U2D
    Syntax
    public class SpriteShapeController : MonoBehaviour

    Properties

    autoUpdateCollider

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

    colliderCornerType

    Declaration
    public ColliderCornerType colliderCornerType { get; set; }
    Property Value
    Type Description
    ColliderCornerType

    colliderDetail

    Declaration
    public int colliderDetail { get; set; }
    Property Value
    Type Description
    System.Int32

    colliderOffset

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

    edgeCollider

    Declaration
    public EdgeCollider2D edgeCollider { get; }
    Property Value
    Type Description
    EdgeCollider2D

    polygonCollider

    Declaration
    public PolygonCollider2D polygonCollider { get; }
    Property Value
    Type Description
    PolygonCollider2D

    spline

    Declaration
    public Spline spline { get; }
    Property Value
    Type Description
    Spline

    splineDetail

    Declaration
    public int splineDetail { get; set; }
    Property Value
    Type Description
    System.Int32

    spriteShape

    Declaration
    public SpriteShape spriteShape { get; set; }
    Property Value
    Type Description
    SpriteShape

    spriteShapeRenderer

    Declaration
    public SpriteShapeRenderer spriteShapeRenderer { get; }
    Property Value
    Type Description
    SpriteShapeRenderer

    Methods

    BakeCollider()

    Declaration
    public void BakeCollider()

    BakeMesh()

    Declaration
    public void BakeMesh()

    RefreshSpriteShape()

    Declaration
    public void RefreshSpriteShape()
    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