brutal/brutal.jolt/Brutal.Jolt/Generated/Classes/DebugRenderer.gen.cs
2026-10-15 14:12:02 +13:00

664 lines
34 KiB
C#

// <auto-generated/>
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
using Brutal.Numerics;
namespace Brutal.JoltApi
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L46">Jolt/Renderer/DebugRenderer.h:46</see>
/// <br/>
/// <c>class JPH_DEBUG_RENDERER_EXPORT DebugRenderer : public NonCopyable</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Simple triangle renderer for debugging purposes.
///
/// Inherit from this class to provide your own implementation.
///
/// Implement the following virtual functions:
/// - DrawLine
/// - DrawTriangle
/// - DrawText3D
/// - CreateTriangleBatch
/// - DrawGeometry
///
/// Make sure you call Initialize() from the constructor of your implementation.
///
/// The CreateTriangleBatch is used to prepare a batch of triangles to be drawn by a single DrawGeometry call,
/// which means that Jolt can render a complex scene much more efficiently than when each triangle in that scene would have been drawn through DrawTriangle.
///
/// Note that an implementation that implements CreateTriangleBatch and DrawGeometry is provided by DebugRendererSimple which can be used to start quickly.
/// </code>
/// </remarks>
[InteropHandle]
public readonly partial struct DebugRenderer
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L90">Jolt/Renderer/DebugRenderer.h:90</see>
/// <br/>
/// <c>enum class ECastShadow</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Enum that determines if a shadow should be cast or not
/// </para>
/// </remarks>
public enum ECastShadow : int
{
/// <summary>
/// <para>
/// This shape should cast a shadow
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L92">Jolt/Renderer/DebugRenderer.h:92</see>
/// <br/>
/// <c>On</c>
/// </para>
/// </summary>
On,
/// <summary>
/// <para>
/// This shape should not cast a shadow
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L93">Jolt/Renderer/DebugRenderer.h:93</see>
/// <br/>
/// <c>Off</c>
/// </para>
/// </summary>
Off,
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L97">Jolt/Renderer/DebugRenderer.h:97</see>
/// <br/>
/// <c>enum class EDrawMode</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Determines how triangles are drawn
/// </para>
/// </remarks>
public enum EDrawMode : int
{
/// <summary>
/// <para>
/// Draw as a solid shape
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L99">Jolt/Renderer/DebugRenderer.h:99</see>
/// <br/>
/// <c>Solid</c>
/// </para>
/// </summary>
Solid,
/// <summary>
/// <para>
/// Draw as wireframe
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L100">Jolt/Renderer/DebugRenderer.h:100</see>
/// <br/>
/// <c>Wireframe</c>
/// </para>
/// </summary>
Wireframe,
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L264">Jolt/Renderer/DebugRenderer.h:264</see>
/// <br/>
/// <c>enum class ECullMode</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Determines which polygons are culled
/// </para>
/// </remarks>
public enum ECullMode : int
{
/// <summary>
/// <para>
/// Don't draw backfacing polygons
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L266">Jolt/Renderer/DebugRenderer.h:266</see>
/// <br/>
/// <c>CullBackFace</c>
/// </para>
/// </summary>
CullBackFace,
/// <summary>
/// <para>
/// Don't draw front facing polygons
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L267">Jolt/Renderer/DebugRenderer.h:267</see>
/// <br/>
/// <c>CullFrontFace</c>
/// </para>
/// </summary>
CullFrontFace,
/// <summary>
/// <para>
/// Don't do culling and draw both sides
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L268">Jolt/Renderer/DebugRenderer.h:268</see>
/// <br/>
/// <c>Off</c>
/// </para>
/// </summary>
Off,
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L316">Jolt/Renderer/DebugRenderer.h:316</see>
/// <br/>
/// <c>struct SwingConeLimits</c>
/// </para>
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 8)]
public struct SwingConeLimits
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L324">Jolt/Renderer/DebugRenderer.h:324</see>
/// <br/>
/// <c>float mSwingYHalfAngle</c>
/// </para>
/// </summary>
[FieldOffset(0)]
public float mSwingYHalfAngle;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L325">Jolt/Renderer/DebugRenderer.h:325</see>
/// <br/>
/// <c>float mSwingZHalfAngle</c>
/// </para>
/// </summary>
[FieldOffset(4)]
public float mSwingZHalfAngle;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L334">Jolt/Renderer/DebugRenderer.h:334</see>
/// <br/>
/// <c>struct SwingPyramidLimits</c>
/// </para>
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 16)]
public struct SwingPyramidLimits
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L344">Jolt/Renderer/DebugRenderer.h:344</see>
/// <br/>
/// <c>float mMinSwingYAngle</c>
/// </para>
/// </summary>
[FieldOffset(0)]
public float mMinSwingYAngle;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L345">Jolt/Renderer/DebugRenderer.h:345</see>
/// <br/>
/// <c>float mMaxSwingYAngle</c>
/// </para>
/// </summary>
[FieldOffset(4)]
public float mMaxSwingYAngle;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L346">Jolt/Renderer/DebugRenderer.h:346</see>
/// <br/>
/// <c>float mMinSwingZAngle</c>
/// </para>
/// </summary>
[FieldOffset(8)]
public float mMinSwingZAngle;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L347">Jolt/Renderer/DebugRenderer.h:347</see>
/// <br/>
/// <c>float mMaxSwingZAngle</c>
/// </para>
/// </summary>
[FieldOffset(12)]
public float mMaxSwingZAngle;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L360">Jolt/Renderer/DebugRenderer.h:360</see>
/// <br/>
/// <c>struct TaperedCylinder</c>
/// </para>
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 16)]
public struct TaperedCylinder
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L370">Jolt/Renderer/DebugRenderer.h:370</see>
/// <br/>
/// <c>float mTop</c>
/// </para>
/// </summary>
[FieldOffset(0)]
public float mTop;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L371">Jolt/Renderer/DebugRenderer.h:371</see>
/// <br/>
/// <c>float mBottom</c>
/// </para>
/// </summary>
[FieldOffset(4)]
public float mBottom;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L372">Jolt/Renderer/DebugRenderer.h:372</see>
/// <br/>
/// <c>float mTopRadius</c>
/// </para>
/// </summary>
[FieldOffset(8)]
public float mTopRadius;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L373">Jolt/Renderer/DebugRenderer.h:373</see>
/// <br/>
/// <c>float mBottomRadius</c>
/// </para>
/// </summary>
[FieldOffset(12)]
public float mBottomRadius;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L56">Jolt/Renderer/DebugRenderer.h:56</see>
/// <br/>
/// <c>void NextFrame()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Call once after frame is complete. Releases unused dynamically generated geometry assets.
/// </para>
/// </remarks>
public void NextFrame() => Jolt.PInvoke.DebugRenderer_NextFrame(this);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L59">Jolt/Renderer/DebugRenderer.h:59</see>
/// <br/>
/// <c>virtual void DrawLine(RVec3Arg inFrom, RVec3Arg inTo, ColorArg inColor) = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw line
/// </para>
/// </remarks>
public void DrawLine(float3 from, float3 to, uint color) => Jolt.PInvoke.DebugRenderer_DrawLine(this, from, to, color);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L62">Jolt/Renderer/DebugRenderer.h:62</see>
/// <br/>
/// <c>void DrawWireBox(const AABox &amp;inBox, ColorArg inColor)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw wireframe box
/// </para>
/// </remarks>
public void DrawWireBox(AABox box, uint color) => Jolt.PInvoke.DebugRenderer_DrawWireBox(this, box, color);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L63">Jolt/Renderer/DebugRenderer.h:63</see>
/// <br/>
/// <c>void DrawWireBox(const OrientedBox &amp;inBox, ColorArg inColor)</c>
/// </para>
/// </summary>
public void DrawWireBox(OrientedBox box, uint color) => Jolt.PInvoke.DebugRenderer_DrawWireBox_2(this, box, color);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L64">Jolt/Renderer/DebugRenderer.h:64</see>
/// <br/>
/// <c>void DrawWireBox(RMat44Arg inMatrix, const AABox &amp;inBox, ColorArg inColor)</c>
/// </para>
/// </summary>
public void DrawWireBox(float4x4 matrix, AABox box, uint color) => Jolt.PInvoke.DebugRenderer_DrawWireBox_3(this, matrix, box, color);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L67">Jolt/Renderer/DebugRenderer.h:67</see>
/// <br/>
/// <c>void DrawMarker(RVec3Arg inPosition, ColorArg inColor, float inSize)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw a marker on a position
/// </para>
/// </remarks>
public void DrawMarker(float3 position, uint color, float size) => Jolt.PInvoke.DebugRenderer_DrawMarker(this, position, color, size);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L70">Jolt/Renderer/DebugRenderer.h:70</see>
/// <br/>
/// <c>void DrawArrow(RVec3Arg inFrom, RVec3Arg inTo, ColorArg inColor, float inSize)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw an arrow
/// </para>
/// </remarks>
public void DrawArrow(float3 from, float3 to, uint color, float size) => Jolt.PInvoke.DebugRenderer_DrawArrow(this, from, to, color, size);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L73">Jolt/Renderer/DebugRenderer.h:73</see>
/// <br/>
/// <c>void DrawCoordinateSystem(RMat44Arg inTransform, float inSize = 1.0f)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw coordinate system (3 arrows, x = red, y = green, z = blue)
/// </para>
/// </remarks>
public void DrawCoordinateSystem(float4x4 transform, float size) => Jolt.PInvoke.DebugRenderer_DrawCoordinateSystem(this, transform, size);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L76">Jolt/Renderer/DebugRenderer.h:76</see>
/// <br/>
/// <c>void DrawPlane(RVec3Arg inPoint, Vec3Arg inNormal, ColorArg inColor, float inSize)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw a plane through inPoint with normal inNormal
/// </para>
/// </remarks>
public void DrawPlane(float3 point, float3 normal, uint color, float size) => Jolt.PInvoke.DebugRenderer_DrawPlane(this, point, normal, color, size);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L79">Jolt/Renderer/DebugRenderer.h:79</see>
/// <br/>
/// <c>void DrawWireTriangle(RVec3Arg inV1, RVec3Arg inV2, RVec3Arg inV3, ColorArg inColor)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw wireframe triangle
/// </para>
/// </remarks>
public void DrawWireTriangle(float3 v1, float3 v2, float3 v3, uint color) => Jolt.PInvoke.DebugRenderer_DrawWireTriangle(this, v1, v2, v3, color);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L86">Jolt/Renderer/DebugRenderer.h:86</see>
/// <br/>
/// <c>void DrawWireSphere(RVec3Arg inCenter, float inRadius, ColorArg inColor, int inLevel = 3)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw wireframe sphere
/// </para>
/// </remarks>
public void DrawWireSphere(float3 center, float radius, uint color, int level) => Jolt.PInvoke.DebugRenderer_DrawWireSphere(this, center, radius, color, level);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L87">Jolt/Renderer/DebugRenderer.h:87</see>
/// <br/>
/// <c>void DrawWireUnitSphere(RMat44Arg inMatrix, ColorArg inColor, int inLevel = 3)</c>
/// </para>
/// </summary>
public void DrawWireUnitSphere(float4x4 matrix, uint color, int level) => Jolt.PInvoke.DebugRenderer_DrawWireUnitSphere(this, matrix, color, level);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L104">Jolt/Renderer/DebugRenderer.h:104</see>
/// <br/>
/// <c>virtual void DrawTriangle(RVec3Arg inV1, RVec3Arg inV2, RVec3Arg inV3, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::Off) = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw a single back face culled triangle
/// </para>
/// </remarks>
public void DrawTriangle(float3 v1, float3 v2, float3 v3, uint color, DebugRenderer.ECastShadow castShadow) => Jolt.PInvoke.DebugRenderer_DrawTriangle(this, v1, v2, v3, color, castShadow);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L107">Jolt/Renderer/DebugRenderer.h:107</see>
/// <br/>
/// <c>void DrawBox(const AABox &amp;inBox, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw a box
/// </para>
/// </remarks>
public void DrawBox(AABox box, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode) => Jolt.PInvoke.DebugRenderer_DrawBox(this, box, color, castShadow, drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L108">Jolt/Renderer/DebugRenderer.h:108</see>
/// <br/>
/// <c>void DrawBox(RMat44Arg inMatrix, const AABox &amp;inBox, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
public void DrawBox(float4x4 matrix, AABox box, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode) => Jolt.PInvoke.DebugRenderer_DrawBox_2(this, matrix, box, color, castShadow, drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L111">Jolt/Renderer/DebugRenderer.h:111</see>
/// <br/>
/// <c>void DrawSphere(RVec3Arg inCenter, float inRadius, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw a sphere
/// </para>
/// </remarks>
public void DrawSphere(float3 center, float radius, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode) => Jolt.PInvoke.DebugRenderer_DrawSphere(this, center, radius, color, castShadow, drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L112">Jolt/Renderer/DebugRenderer.h:112</see>
/// <br/>
/// <c>void DrawUnitSphere(RMat44Arg inMatrix, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
public void DrawUnitSphere(float4x4 matrix, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode) => Jolt.PInvoke.DebugRenderer_DrawUnitSphere(this, matrix, color, castShadow, drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L116">Jolt/Renderer/DebugRenderer.h:116</see>
/// <br/>
/// <c>void DrawCapsule(RMat44Arg inMatrix, float inHalfHeightOfCylinder, float inRadius, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Draw a capsule with one half sphere at (0, -inHalfHeightOfCylinder, 0) and the other half sphere at (0, inHalfHeightOfCylinder, 0) and radius inRadius.
/// The capsule will be transformed by inMatrix.
/// </code>
/// </remarks>
public void DrawCapsule(float4x4 matrix, float halfHeightOfCylinder, float radius, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode) => Jolt.PInvoke.DebugRenderer_DrawCapsule(this, matrix, halfHeightOfCylinder, radius, color, castShadow, drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L120">Jolt/Renderer/DebugRenderer.h:120</see>
/// <br/>
/// <c>void DrawCylinder(RMat44Arg inMatrix, float inHalfHeight, float inRadius, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Draw a cylinder with top (0, inHalfHeight, 0) and bottom (0, -inHalfHeight, 0) and radius inRadius.
/// The cylinder will be transformed by inMatrix
/// </code>
/// </remarks>
public void DrawCylinder(float4x4 matrix, float halfHeight, float radius, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode) => Jolt.PInvoke.DebugRenderer_DrawCylinder(this, matrix, halfHeight, radius, color, castShadow, drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L131">Jolt/Renderer/DebugRenderer.h:131</see>
/// <br/>
/// <c>void DrawOpenCone(RVec3Arg inTop, Vec3Arg inAxis, Vec3Arg inPerpendicular, float inHalfAngle, float inLength, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Draw a bottomless cone.
/// @param inTop Top of cone, center of base is at inTop + inAxis.
/// @param inAxis Height and direction of cone
/// @param inPerpendicular Perpendicular vector to inAxis.
/// @param inHalfAngle Specifies the cone angle in radians (angle measured between inAxis and cone surface).
/// @param inLength The length of the cone.
/// @param inColor Color to use for drawing the cone.
/// @param inCastShadow determines if this geometry should cast a shadow or not.
/// @param inDrawMode determines if we draw the geometry solid or in wireframe.
/// </code>
/// </remarks>
public void DrawOpenCone(float3 top, float3 axis, float3 perpendicular, float halfAngle, float length, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode) => Jolt.PInvoke.DebugRenderer_DrawOpenCone(this, top, axis, perpendicular, halfAngle, length, color, castShadow, drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L141">Jolt/Renderer/DebugRenderer.h:141</see>
/// <br/>
/// <c>void DrawSwingConeLimits(RMat44Arg inMatrix, float inSwingYHalfAngle, float inSwingZHalfAngle, float inEdgeLength, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Draws cone rotation limits as used by the SwingTwistConstraintPart.
/// @param inMatrix Matrix that transforms from constraint space to world space
/// @param inSwingYHalfAngle See SwingTwistConstraintPart
/// @param inSwingZHalfAngle See SwingTwistConstraintPart
/// @param inEdgeLength Size of the edge of the cone shape
/// @param inColor Color to use for drawing the cone.
/// @param inCastShadow determines if this geometry should cast a shadow or not.
/// @param inDrawMode determines if we draw the geometry solid or in wireframe.
/// </code>
/// </remarks>
public void DrawSwingConeLimits(float4x4 matrix, float swingYHalfAngle, float swingZHalfAngle, float edgeLength, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode) => Jolt.PInvoke.DebugRenderer_DrawSwingConeLimits(this, matrix, swingYHalfAngle, swingZHalfAngle, edgeLength, color, castShadow, drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L153">Jolt/Renderer/DebugRenderer.h:153</see>
/// <br/>
/// <c>void DrawSwingPyramidLimits(RMat44Arg inMatrix, float inMinSwingYAngle, float inMaxSwingYAngle, float inMinSwingZAngle, float inMaxSwingZAngle, float inEdgeLength, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Draws rotation limits as used by the SwingTwistConstraintPart.
/// @param inMatrix Matrix that transforms from constraint space to world space
/// @param inMinSwingYAngle See SwingTwistConstraintPart
/// @param inMaxSwingYAngle See SwingTwistConstraintPart
/// @param inMinSwingZAngle See SwingTwistConstraintPart
/// @param inMaxSwingZAngle See SwingTwistConstraintPart
/// @param inEdgeLength Size of the edge of the cone shape
/// @param inColor Color to use for drawing the cone.
/// @param inCastShadow determines if this geometry should cast a shadow or not.
/// @param inDrawMode determines if we draw the geometry solid or in wireframe.
/// </code>
/// </remarks>
public void DrawSwingPyramidLimits(float4x4 matrix, float minSwingYAngle, float maxSwingYAngle, float minSwingZAngle, float maxSwingZAngle, float edgeLength, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode) => Jolt.PInvoke.DebugRenderer_DrawSwingPyramidLimits(this, matrix, minSwingYAngle, maxSwingYAngle, minSwingZAngle, maxSwingZAngle, edgeLength, color, castShadow, drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L165">Jolt/Renderer/DebugRenderer.h:165</see>
/// <br/>
/// <c>void DrawPie(RVec3Arg inCenter, float inRadius, Vec3Arg inNormal, Vec3Arg inAxis, float inMinAngle, float inMaxAngle, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Draw a pie (part of a circle).
/// @param inCenter The center of the circle.
/// @param inRadius Radius of the circle.
/// @param inNormal The plane normal in which the pie resides.
/// @param inAxis The axis that defines an angle of 0 radians.
/// @param inMinAngle The pie will be drawn between [inMinAngle, inMaxAngle] (in radians).
/// @param inMaxAngle The pie will be drawn between [inMinAngle, inMaxAngle] (in radians).
/// @param inColor Color to use for drawing the pie.
/// @param inCastShadow determines if this geometry should cast a shadow or not.
/// @param inDrawMode determines if we draw the geometry solid or in wireframe.
/// </code>
/// </remarks>
public void DrawPie(float3 center, float radius, float3 normal, float3 axis, float minAngle, float maxAngle, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode) => Jolt.PInvoke.DebugRenderer_DrawPie(this, center, radius, normal, axis, minAngle, maxAngle, color, castShadow, drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L176">Jolt/Renderer/DebugRenderer.h:176</see>
/// <br/>
/// <c>void DrawTaperedCylinder(RMat44Arg inMatrix, float inTop, float inBottom, float inTopRadius, float inBottomRadius, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Draw a tapered cylinder
/// @param inMatrix Matrix that transforms the cylinder to world space.
/// @param inTop Top of cylinder (along Y axis)
/// @param inBottom Bottom of cylinder (along Y axis)
/// @param inTopRadius Radius at the top
/// @param inBottomRadius Radius at the bottom
/// @param inColor Color to use for drawing the pie.
/// @param inCastShadow determines if this geometry should cast a shadow or not.
/// @param inDrawMode determines if we draw the geometry solid or in wireframe.
/// </code>
/// </remarks>
public void DrawTaperedCylinder(float4x4 matrix, float top, float bottom, float topRadius, float bottomRadius, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode) => Jolt.PInvoke.DebugRenderer_DrawTaperedCylinder(this, matrix, top, bottom, topRadius, bottomRadius, color, castShadow, drawMode);
}
}