Class ClipperBase | Package Manager UI website
docs.unity.cn
    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 © 2015-2018 Unity
    Generated by DocFX