mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
265 lines
15 KiB
C#
265 lines
15 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/TaperedCylinderShape.h#L40">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:40</see>
|
|
/// <br/>
|
|
/// <c>TaperedCylinderShape()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Constructor
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_Create")]
|
|
public static partial TaperedCylinderShape TaperedCylinderShape_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L44">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:44</see>
|
|
/// <br/>
|
|
/// <c>inline float GetTopRadius() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get top radius of the tapered cylinder
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetTopRadius")]
|
|
public static partial float TaperedCylinderShape_GetTopRadius(TaperedCylinderShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L47">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:47</see>
|
|
/// <br/>
|
|
/// <c>inline float GetBottomRadius() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get bottom radius of the tapered cylinder
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetBottomRadius")]
|
|
public static partial float TaperedCylinderShape_GetBottomRadius(TaperedCylinderShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L50">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:50</see>
|
|
/// <br/>
|
|
/// <c>inline float GetConvexRadius() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get convex radius of the tapered cylinder
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetConvexRadius")]
|
|
public static partial float TaperedCylinderShape_GetConvexRadius(TaperedCylinderShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L53">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:53</see>
|
|
/// <br/>
|
|
/// <c>inline float GetHalfHeight() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get half height of the tapered cylinder
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetHalfHeight")]
|
|
public static partial float TaperedCylinderShape_GetHalfHeight(TaperedCylinderShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L56">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:56</see>
|
|
/// <br/>
|
|
/// <c>virtual Vec3 GetCenterOfMass() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetCenterOfMass
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetCenterOfMass")]
|
|
public static partial float3 TaperedCylinderShape_GetCenterOfMass(TaperedCylinderShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L62">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:62</see>
|
|
/// <br/>
|
|
/// <c>virtual float GetInnerRadius() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetInnerRadius
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetInnerRadius")]
|
|
public static partial float TaperedCylinderShape_GetInnerRadius(TaperedCylinderShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L68">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:68</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 = "TaperedCylinderShape_GetSurfaceNormal")]
|
|
public static partial float3 TaperedCylinderShape_GetSurfaceNormal(TaperedCylinderShape self, uint subShapeID, float3 localSurfacePosition);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L80">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:80</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 = "TaperedCylinderShape_CollideSoftBodyVertices")]
|
|
public static partial void TaperedCylinderShape_CollideSoftBodyVertices(TaperedCylinderShape 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/TaperedCylinderShape.h#L83">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:83</see>
|
|
/// <br/>
|
|
/// <c>virtual void GetTrianglesStart(GetTrianglesContext &ioContext, const AABox &inBox, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetTrianglesStart
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetTrianglesStart")]
|
|
public static partial void TaperedCylinderShape_GetTrianglesStart(TaperedCylinderShape self, ref Shape.GetTrianglesContext context, AABox box, float3 positionCOM, floatQuat rotation, float3 scale);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L90">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:90</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 = "TaperedCylinderShape_Draw")]
|
|
public static partial void TaperedCylinderShape_Draw(TaperedCylinderShape 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/TaperedCylinderShape.h#L94">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:94</see>
|
|
/// <br/>
|
|
/// <c>virtual void SaveBinaryState(StreamOut &inStream) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_SaveBinaryState")]
|
|
public static partial void TaperedCylinderShape_SaveBinaryState(TaperedCylinderShape self, StreamOut stream);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L100">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:100</see>
|
|
/// <br/>
|
|
/// <c>virtual float GetVolume() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetVolume
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetVolume")]
|
|
public static partial float TaperedCylinderShape_GetVolume(TaperedCylinderShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L103">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:103</see>
|
|
/// <br/>
|
|
/// <c>virtual bool IsValidScale(Vec3Arg inScale) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::IsValidScale
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_IsValidScale")]
|
|
public static partial Brutal.Bool8 TaperedCylinderShape_IsValidScale(TaperedCylinderShape self, float3 scale);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L106">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:106</see>
|
|
/// <br/>
|
|
/// <c>virtual Vec3 MakeScaleValid(Vec3Arg inScale) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::MakeScaleValid
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_MakeScaleValid")]
|
|
public static partial float3 TaperedCylinderShape_MakeScaleValid(TaperedCylinderShape self, float3 scale);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L109">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:109</see>
|
|
/// <br/>
|
|
/// <c>static void sRegister()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Register shape functions with the registry
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_sRegister")]
|
|
public static partial void TaperedCylinderShape_sRegister();
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_AddRef")]
|
|
public static partial void TaperedCylinderShape_AddRef(TaperedCylinderShape self);
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_Release")]
|
|
public static partial void TaperedCylinderShape_Release(TaperedCylinderShape self);
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetRefCount")]
|
|
public static partial uint TaperedCylinderShape_GetRefCount(TaperedCylinderShape self);
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_AsConvexShape")]
|
|
public static partial ConvexShape TaperedCylinderShape_AsConvexShape(TaperedCylinderShape self);
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_AsShape")]
|
|
public static partial Shape TaperedCylinderShape_AsShape(TaperedCylinderShape self);
|
|
}
|
|
}
|
|
}
|