docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class VisualizationHelper

    Helper class that contains common visualization methods useful to ground truth labelers.

    Inheritance
    object
    VisualizationHelper
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.Perception.GroundTruth
    Assembly: solution.dll
    Syntax
    public static class VisualizationHelper

    Methods

    Name Description
    ConvertToScreenSpace(Camera, Vector3)

    Converts a 3D world space coordinate to image pixel space.

    DrawLine(float, float, float, float, Color, float, Texture)

    Draw's a texture between two locations of a passed in width.

    DrawLine(Vector2, Vector2, Color, float, Texture)

    Draw's a texture between two locations of a passed in width.

    DrawPoint(float, float, Color, float, Texture)

    Draw a point (in pixel space) on the screen

    DrawPoint(Vector3, Color, float, Texture)

    Draw a point (in pixel space) on the screen

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)