Unity.Robotics.Visualizations.Drawing3d.DrawParallelepiped(UnityEngine.Vector3, UnityEngine.Vector3, UnityEngine.Vector3, UnityEngine.Vector3, UnityEngine.Color32)

Here are the examples of the csharp api Unity.Robotics.Visualizations.Drawing3d.DrawParallelepiped(UnityEngine.Vector3, UnityEngine.Vector3, UnityEngine.Vector3, UnityEngine.Vector3, UnityEngine.Color32) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

19 View Source File : Drawing3d.cs
License : Apache License 2.0
Project Creator : Unity-Technologies

public void DrawCuboid(Vector3 center, Vector3 halfSize, Color32 color)
        {
            DrawParallelepiped(center, new Vector3(halfSize.x, 0, 0), new Vector3(0, halfSize.y, 0), new Vector3(0, 0, halfSize.z), color);
        }

19 View Source File : Drawing3d.cs
License : Apache License 2.0
Project Creator : Unity-Technologies

public void DrawCuboid(Vector3 center, Vector3 halfSize, Quaternion rotation, Color32 color)
        {
            DrawParallelepiped(center,
                rotation * new Vector3(halfSize.x, 0, 0),
                rotation * new Vector3(0, halfSize.y, 0),
                rotation * new Vector3(0, 0, halfSize.z),
                color);
        }