Class PolygonExtensions

    Definition

    Namespace:
    Tizen.NUI.Physics2D.Chipmunk.Unsafe
    Assembly:
    Tizen.NUI.Physics2D.dll

    Unsafe extension methods for the Polygon shape.

    public static class PolygonExtensions
    Inheritance
    object
    PolygonExtensions

    Methods

    View Source

    SetRadius(Polygon, double)

    Set the radius of a poly shape

    Declaration
    public static void SetRadius(this Polygon polygon, double radius)
    Parameters
    Type Name Description
    Polygon polygon
    double radius
    View Source

    SetVertexes(Polygon, Vect[], Transform)

    Set the vertexes of the polygon.

    Declaration
    public static void SetVertexes(this Polygon polygon, Vect[] vertexes, Transform transform)
    Parameters
    Type Name Description
    Polygon polygon
    Vect[] vertexes
    Transform transform
    View Source

    SetVertexes(Polygon, Vect[])

    Set the vertexes of the polygon.

    Declaration
    public static void SetVertexes(this Polygon polygon, Vect[] vertexes)
    Parameters
    Type Name Description
    Polygon polygon
    Vect[] vertexes
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX