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

    Class ClipperBase

    Inheritance
    System.Object
    ClipperBase
    Clipper
    Namespace: UnityEngine.U2D.SpriteShapeClipperLib
    Syntax
    public class ClipperBase

    Fields

    hiRange

    Declaration
    public const long hiRange = 4611686018427387903L
    Field Value
    Type Description
    System.Int64

    loRange

    Declaration
    public const long loRange = 1073741823L
    Field Value
    Type Description
    System.Int64

    Properties

    PreserveCollinear

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

    Methods

    AddPath(List<IntPoint>, PolyType, Boolean)

    Declaration
    public bool AddPath(List<IntPoint> pg, PolyType polyType, bool Closed)
    Parameters
    Type Name Description
    System.Collections.Generic.List<IntPoint> pg
    PolyType polyType
    System.Boolean Closed
    Returns
    Type Description
    System.Boolean

    AddPaths(List<List<IntPoint>>, PolyType, Boolean)

    Declaration
    public bool AddPaths(List<List<IntPoint>> ppg, PolyType polyType, bool closed)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.Collections.Generic.List<IntPoint>> ppg
    PolyType polyType
    System.Boolean closed
    Returns
    Type Description
    System.Boolean

    Clear()

    Declaration
    public virtual void Clear()

    GetBounds(List<List<IntPoint>>)

    Declaration
    public static IntRect GetBounds(List<List<IntPoint>> paths)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.Collections.Generic.List<IntPoint>> paths
    Returns
    Type Description
    IntRect

    Swap(ref Int64, ref Int64)

    Declaration
    public void Swap(ref long val1, ref long val2)
    Parameters
    Type Name Description
    System.Int64 val1
    System.Int64 val2
    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