mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
238 lines
13 KiB
C#
238 lines
13 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
|
|
{
|
|
public static partial class Jolt
|
|
{
|
|
public static unsafe partial class PInvoke
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L47">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:47</see>
|
|
/// <br/>
|
|
/// <c>TaperedCapsuleShape()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Constructor
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_Create")]
|
|
public static partial TaperedCapsuleShape TaperedCapsuleShape_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L51">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:51</see>
|
|
/// <br/>
|
|
/// <c>inline float GetTopRadius() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get top radius of the tapered capsule
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetTopRadius")]
|
|
public static partial float TaperedCapsuleShape_GetTopRadius(TaperedCapsuleShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L54">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:54</see>
|
|
/// <br/>
|
|
/// <c>inline float GetBottomRadius() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get bottom radius of the tapered capsule
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetBottomRadius")]
|
|
public static partial float TaperedCapsuleShape_GetBottomRadius(TaperedCapsuleShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L57">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:57</see>
|
|
/// <br/>
|
|
/// <c>inline float GetHalfHeight() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get half height between the top and bottom sphere center
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetHalfHeight")]
|
|
public static partial float TaperedCapsuleShape_GetHalfHeight(TaperedCapsuleShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L60">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:60</see>
|
|
/// <br/>
|
|
/// <c>virtual Vec3 GetCenterOfMass() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetCenterOfMass
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetCenterOfMass")]
|
|
public static partial float3 TaperedCapsuleShape_GetCenterOfMass(TaperedCapsuleShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L70">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:70</see>
|
|
/// <br/>
|
|
/// <c>virtual float GetInnerRadius() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetInnerRadius
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetInnerRadius")]
|
|
public static partial float TaperedCapsuleShape_GetInnerRadius(TaperedCapsuleShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L76">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:76</see>
|
|
/// <br/>
|
|
/// <c>virtual Vec3 GetSurfaceNormal(const SubShapeID &inSubShapeID, Vec3Arg inLocalSurfacePosition) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetSurfaceNormal
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetSurfaceNormal")]
|
|
public static partial float3 TaperedCapsuleShape_GetSurfaceNormal(TaperedCapsuleShape self, uint subShapeID, float3 localSurfacePosition);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L85">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:85</see>
|
|
/// <br/>
|
|
/// <c>virtual void CollideSoftBodyVertices(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const CollideSoftBodyVertexIterator &inVertices, uint inNumVertices, int inCollidingShapeIndex) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See: Shape::CollideSoftBodyVertices
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_CollideSoftBodyVertices")]
|
|
public static partial void TaperedCapsuleShape_CollideSoftBodyVertices(TaperedCapsuleShape self, float4x4 centerOfMassTransform, float3 scale, CollideSoftBodyVertexIterator vertices, uint numVertices, int collidingShapeIndex);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L89">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:89</see>
|
|
/// <br/>
|
|
/// <c>virtual void Draw(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale, ColorArg inColor, bool inUseMaterialColors, bool inDrawWireframe) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::Draw
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_Draw")]
|
|
public static partial void TaperedCapsuleShape_Draw(TaperedCapsuleShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale, uint color, Brutal.Bool8 useMaterialColors, Brutal.Bool8 drawWireframe);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L93">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:93</see>
|
|
/// <br/>
|
|
/// <c>virtual void SaveBinaryState(StreamOut &inStream) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_SaveBinaryState")]
|
|
public static partial void TaperedCapsuleShape_SaveBinaryState(TaperedCapsuleShape self, StreamOut stream);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Volume is approximate!
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L99">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:99</see>
|
|
/// <br/>
|
|
/// <c>virtual float GetVolume() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetVolume
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetVolume")]
|
|
public static partial float TaperedCapsuleShape_GetVolume(TaperedCapsuleShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L102">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:102</see>
|
|
/// <br/>
|
|
/// <c>virtual bool IsValidScale(Vec3Arg inScale) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::IsValidScale
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_IsValidScale")]
|
|
public static partial Brutal.Bool8 TaperedCapsuleShape_IsValidScale(TaperedCapsuleShape self, float3 scale);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L105">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:105</see>
|
|
/// <br/>
|
|
/// <c>virtual Vec3 MakeScaleValid(Vec3Arg inScale) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::MakeScaleValid
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_MakeScaleValid")]
|
|
public static partial float3 TaperedCapsuleShape_MakeScaleValid(TaperedCapsuleShape self, float3 scale);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L108">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:108</see>
|
|
/// <br/>
|
|
/// <c>static void sRegister()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Register shape functions with the registry
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_sRegister")]
|
|
public static partial void TaperedCapsuleShape_sRegister();
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_AddRef")]
|
|
public static partial void TaperedCapsuleShape_AddRef(TaperedCapsuleShape self);
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_Release")]
|
|
public static partial void TaperedCapsuleShape_Release(TaperedCapsuleShape self);
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetRefCount")]
|
|
public static partial uint TaperedCapsuleShape_GetRefCount(TaperedCapsuleShape self);
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_AsConvexShape")]
|
|
public static partial ConvexShape TaperedCapsuleShape_AsConvexShape(TaperedCapsuleShape self);
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_AsShape")]
|
|
public static partial Shape TaperedCapsuleShape_AsShape(TaperedCapsuleShape self);
|
|
}
|
|
}
|
|
}
|