Search Results for

    Show / Hide Table of Contents

    Method WorldToScreen

    WorldToScreen(Vector3, Boolean)

    Translates a point in WorldSpace to its given Coordinates on the Screen

    Declaration
    public static PointF WorldToScreen(Vector3 position, bool scaleWidth = false)
    Parameters
    Type Name Description
    Vector3 position

    The position in the World.

    System.Boolean scaleWidth

    if set to true Returns the screen position scaled by ScaledWidth; otherwise, returns the screen position scaled by Width.

    Returns
    Type Description
    System.Drawing.PointF
    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX