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

    Class RegionPointer

    Pointer to a region in the mesh geometry. A region is a well-defined subset of the geomerty (enclosed by subsegments).

    Inheritance
    System.Object
    RegionPointer
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: UnityEngine.Experimental.U2D.TriangleNet.Geometry
    Syntax
    public class RegionPointer

    Constructors

    RegionPointer(Double, Double, Int32)

    Initializes a new instance of the RegionPointer class.

    Declaration
    public RegionPointer(double x, double y, int id)
    Parameters
    Type Name Description
    System.Double x

    X coordinate of the region.

    System.Double y

    Y coordinate of the region.

    System.Int32 id

    Region id.

    RegionPointer(Double, Double, Int32, Double)

    Initializes a new instance of the RegionPointer class.

    Declaration
    public RegionPointer(double x, double y, int id, double area)
    Parameters
    Type Name Description
    System.Double x

    X coordinate of the region.

    System.Double y

    Y coordinate of the region.

    System.Int32 id

    Region id.

    System.Double area

    Area constraint.

    Properties

    Area

    Gets or sets a region area constraint.

    Declaration
    public double Area { get; set; }
    Property Value
    Type Description
    System.Double
    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