Search Results for

    Show / Hide Table of Contents

    Class ShapeGizmos

    Helper class for drawing shapes using gizmos.

    Inheritance
    System.Object
    ShapeGizmos
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ProjectDawn.Geometry3D
    Assembly: ProjectDawn.Geometry.dll
    Syntax
    public static class ShapeGizmos

    Methods

    | Improve this Doc View Source

    DrawDottedLine(Line, Single, Color)

    Declaration
    [Conditional("UNITY_EDITOR")]
    public static void DrawDottedLine(Line line, float screenSpaceSize, Color color)
    Parameters
    Type Name Description
    Line line
    System.Single screenSpaceSize
    UnityEngine.Color color
    | Improve this Doc View Source

    DrawDottedLine(float3, float3, Single, Color)

    Declaration
    [Conditional("UNITY_EDITOR")]
    public static void DrawDottedLine(float3 from, float3 to, float screenSpaceSize, Color color)
    Parameters
    Type Name Description
    Unity.Mathematics.float3 from
    Unity.Mathematics.float3 to
    System.Single screenSpaceSize
    UnityEngine.Color color
    | Improve this Doc View Source

    DrawLine(Line, Color)

    Declaration
    [Conditional("UNITY_EDITOR")]
    public static void DrawLine(Line line, Color color)
    Parameters
    Type Name Description
    Line line
    UnityEngine.Color color
    | Improve this Doc View Source

    DrawLine(float3, float3, Color)

    Declaration
    [Conditional("UNITY_EDITOR")]
    public static void DrawLine(float3 from, float3 to, Color color)
    Parameters
    Type Name Description
    Unity.Mathematics.float3 from
    Unity.Mathematics.float3 to
    UnityEngine.Color color
    | Improve this Doc View Source

    DrawSolidBox(Box, Color)

    Declaration
    [Conditional("UNITY_EDITOR")]
    public static void DrawSolidBox(Box box, Color color)
    Parameters
    Type Name Description
    Box box
    UnityEngine.Color color
    | Improve this Doc View Source

    DrawSolidSphere(Sphere, Color)

    Declaration
    [Conditional("UNITY_EDITOR")]
    public static void DrawSolidSphere(Sphere circle, Color color)
    Parameters
    Type Name Description
    Sphere circle
    UnityEngine.Color color
    | Improve this Doc View Source

    DrawSolidSphere(float3, Single, Color)

    Declaration
    [Conditional("UNITY_EDITOR")]
    public static void DrawSolidSphere(float3 point, float size, Color color)
    Parameters
    Type Name Description
    Unity.Mathematics.float3 point
    System.Single size
    UnityEngine.Color color
    | Improve this Doc View Source

    DrawWireBox(Box, Color)

    Declaration
    [Conditional("UNITY_EDITOR")]
    public static void DrawWireBox(Box box, Color color)
    Parameters
    Type Name Description
    Box box
    UnityEngine.Color color
    | Improve this Doc View Source

    DrawWireSphere(Sphere, Color)

    Declaration
    [Conditional("UNITY_EDITOR")]
    public static void DrawWireSphere(Sphere sphere, Color color)
    Parameters
    Type Name Description
    Sphere sphere
    UnityEngine.Color color
    | Improve this Doc View Source

    DrawWireSphere(float3, Single, Color)

    Declaration
    [Conditional("UNITY_EDITOR")]
    public static void DrawWireSphere(float3 point, float size, Color color)
    Parameters
    Type Name Description
    Unity.Mathematics.float3 point
    System.Single size
    UnityEngine.Color color
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © ProjectDawn.
    Generated by DocFX