mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
245 lines
15 KiB
C#
245 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/OffsetCenterOfMassShape.h#L41">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:41</see>
|
|
/// <br/>
|
|
/// <c>OffsetCenterOfMassShape()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Constructor
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_Create")]
|
|
public static partial OffsetCenterOfMassShape OffsetCenterOfMassShape_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L43">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:43</see>
|
|
/// <br/>
|
|
/// <c>OffsetCenterOfMassShape(const Shape *inShape, Vec3Arg inOffset)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_Create_2")]
|
|
public static partial OffsetCenterOfMassShape OffsetCenterOfMassShape_Create_2(Shape shape, float3 offset);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L46">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:46</see>
|
|
/// <br/>
|
|
/// <c>Vec3 GetOffset() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Access the offset that is applied to the center of mass
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_GetOffset")]
|
|
public static partial float3 OffsetCenterOfMassShape_GetOffset(OffsetCenterOfMassShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L49">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:49</see>
|
|
/// <br/>
|
|
/// <c>virtual Vec3 GetCenterOfMass() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetCenterOfMass
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_GetCenterOfMass")]
|
|
public static partial float3 OffsetCenterOfMassShape_GetCenterOfMass(OffsetCenterOfMassShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L59">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:59</see>
|
|
/// <br/>
|
|
/// <c>virtual float GetInnerRadius() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetInnerRadius
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_GetInnerRadius")]
|
|
public static partial float OffsetCenterOfMassShape_GetInnerRadius(OffsetCenterOfMassShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L73">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:73</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 = "OffsetCenterOfMassShape_GetSurfaceNormal")]
|
|
public static partial float3 OffsetCenterOfMassShape_GetSurfaceNormal(OffsetCenterOfMassShape self, uint subShapeID, float3 localSurfacePosition);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L79">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:79</see>
|
|
/// <br/>
|
|
/// <c>virtual void GetSubmergedVolume(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const Plane &inSurface, float &outTotalVolume, float &outSubmergedVolume, Vec3 &outCenterOfBuoyancy JPH_IF_DEBUG_RENDERER(, RVec3Arg inBaseOffset)) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetSubmergedVolume
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_GetSubmergedVolume")]
|
|
public static partial void OffsetCenterOfMassShape_GetSubmergedVolume(OffsetCenterOfMassShape self, float4x4 centerOfMassTransform, float3 scale, Plane surface, out float totalVolume, out float submergedVolume, out float3 centerOfBuoyancy, float3 baseOffset);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L83">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:83</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 = "OffsetCenterOfMassShape_Draw")]
|
|
public static partial void OffsetCenterOfMassShape_Draw(OffsetCenterOfMassShape 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/OffsetCenterOfMassShape.h#L86">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:86</see>
|
|
/// <br/>
|
|
/// <c>virtual void DrawGetSupportFunction(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale, ColorArg inColor, bool inDrawSupportDirection) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::DrawGetSupportFunction
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_DrawGetSupportFunction")]
|
|
public static partial void OffsetCenterOfMassShape_DrawGetSupportFunction(OffsetCenterOfMassShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale, uint color, Brutal.Bool8 drawSupportDirection);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L89">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:89</see>
|
|
/// <br/>
|
|
/// <c>virtual void DrawGetSupportingFace(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::DrawGetSupportingFace
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_DrawGetSupportingFace")]
|
|
public static partial void OffsetCenterOfMassShape_DrawGetSupportingFace(OffsetCenterOfMassShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L100">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:100</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 = "OffsetCenterOfMassShape_CollideSoftBodyVertices")]
|
|
public static partial void OffsetCenterOfMassShape_CollideSoftBodyVertices(OffsetCenterOfMassShape 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/OffsetCenterOfMassShape.h#L109">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:109</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 = "OffsetCenterOfMassShape_GetTrianglesStart")]
|
|
public static partial void OffsetCenterOfMassShape_GetTrianglesStart(OffsetCenterOfMassShape 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/OffsetCenterOfMassShape.h#L115">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:115</see>
|
|
/// <br/>
|
|
/// <c>virtual void SaveBinaryState(StreamOut &inStream) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_SaveBinaryState")]
|
|
public static partial void OffsetCenterOfMassShape_SaveBinaryState(OffsetCenterOfMassShape self, StreamOut stream);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L121">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:121</see>
|
|
/// <br/>
|
|
/// <c>virtual float GetVolume() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetVolume
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_GetVolume")]
|
|
public static partial float OffsetCenterOfMassShape_GetVolume(OffsetCenterOfMassShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L124">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:124</see>
|
|
/// <br/>
|
|
/// <c>static void sRegister()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Register shape functions with the registry
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_sRegister")]
|
|
public static partial void OffsetCenterOfMassShape_sRegister();
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_AddRef")]
|
|
public static partial void OffsetCenterOfMassShape_AddRef(OffsetCenterOfMassShape self);
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_Release")]
|
|
public static partial void OffsetCenterOfMassShape_Release(OffsetCenterOfMassShape self);
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_GetRefCount")]
|
|
public static partial uint OffsetCenterOfMassShape_GetRefCount(OffsetCenterOfMassShape self);
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_AsDecoratedShape")]
|
|
public static partial DecoratedShape OffsetCenterOfMassShape_AsDecoratedShape(OffsetCenterOfMassShape self);
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_AsShape")]
|
|
public static partial Shape OffsetCenterOfMassShape_AsShape(OffsetCenterOfMassShape self);
|
|
}
|
|
}
|
|
}
|