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

280 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/ScaledShape.h#L43">Jolt/Physics/Collision/Shape/ScaledShape.h:43</see>
/// <br/>
/// <c>ScaledShape()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Constructor
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ScaledShape_Create")]
public static partial ScaledShape ScaledShape_Create();
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ScaledShape.h#L47">Jolt/Physics/Collision/Shape/ScaledShape.h:47</see>
/// <br/>
/// <c>ScaledShape(const Shape *inShape, Vec3Arg inScale)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Constructor that decorates another shape with a scale
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ScaledShape_Create_2")]
public static partial ScaledShape ScaledShape_Create_2(Shape shape, float3 scale);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ScaledShape.h#L50">Jolt/Physics/Collision/Shape/ScaledShape.h:50</see>
/// <br/>
/// <c>Vec3 GetScale() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Get the scale
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetScale")]
public static partial float3 ScaledShape_GetScale(ScaledShape self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ScaledShape.h#L53">Jolt/Physics/Collision/Shape/ScaledShape.h:53</see>
/// <br/>
/// <c>virtual Vec3 GetCenterOfMass() const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See Shape::GetCenterOfMass
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetCenterOfMass")]
public static partial float3 ScaledShape_GetCenterOfMass(ScaledShape self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ScaledShape.h#L63">Jolt/Physics/Collision/Shape/ScaledShape.h:63</see>
/// <br/>
/// <c>virtual float GetInnerRadius() const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See Shape::GetInnerRadius
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetInnerRadius")]
public static partial float ScaledShape_GetInnerRadius(ScaledShape self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ScaledShape.h#L72">Jolt/Physics/Collision/Shape/ScaledShape.h:72</see>
/// <br/>
/// <c>virtual Vec3 GetSurfaceNormal(const SubShapeID &amp;inSubShapeID, Vec3Arg inLocalSurfacePosition) const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See Shape::GetSurfaceNormal
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetSurfaceNormal")]
public static partial float3 ScaledShape_GetSurfaceNormal(ScaledShape self, uint subShapeID, float3 localSurfacePosition);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ScaledShape.h#L78">Jolt/Physics/Collision/Shape/ScaledShape.h:78</see>
/// <br/>
/// <c>virtual void GetSubmergedVolume(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const Plane &amp;inSurface, float &amp;outTotalVolume, float &amp;outSubmergedVolume, Vec3 &amp;outCenterOfBuoyancy JPH_IF_DEBUG_RENDERER(, RVec3Arg inBaseOffset)) const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See Shape::GetSubmergedVolume
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetSubmergedVolume")]
public static partial void ScaledShape_GetSubmergedVolume(ScaledShape 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/ScaledShape.h#L82">Jolt/Physics/Collision/Shape/ScaledShape.h:82</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 = "ScaledShape_Draw")]
public static partial void ScaledShape_Draw(ScaledShape 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/ScaledShape.h#L85">Jolt/Physics/Collision/Shape/ScaledShape.h:85</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 = "ScaledShape_DrawGetSupportFunction")]
public static partial void ScaledShape_DrawGetSupportFunction(ScaledShape 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/ScaledShape.h#L88">Jolt/Physics/Collision/Shape/ScaledShape.h:88</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 = "ScaledShape_DrawGetSupportingFace")]
public static partial void ScaledShape_DrawGetSupportingFace(ScaledShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ScaledShape.h#L99">Jolt/Physics/Collision/Shape/ScaledShape.h:99</see>
/// <br/>
/// <c>virtual void CollideSoftBodyVertices(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const CollideSoftBodyVertexIterator &amp;inVertices, uint inNumVertices, int inCollidingShapeIndex) const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See: Shape::CollideSoftBodyVertices
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ScaledShape_CollideSoftBodyVertices")]
public static partial void ScaledShape_CollideSoftBodyVertices(ScaledShape 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/ScaledShape.h#L108">Jolt/Physics/Collision/Shape/ScaledShape.h:108</see>
/// <br/>
/// <c>virtual void GetTrianglesStart(GetTrianglesContext &amp;ioContext, const AABox &amp;inBox, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale) const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See Shape::GetTrianglesStart
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetTrianglesStart")]
public static partial void ScaledShape_GetTrianglesStart(ScaledShape 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/ScaledShape.h#L114">Jolt/Physics/Collision/Shape/ScaledShape.h:114</see>
/// <br/>
/// <c>virtual void SaveBinaryState(StreamOut &amp;inStream) const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See Shape
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ScaledShape_SaveBinaryState")]
public static partial void ScaledShape_SaveBinaryState(ScaledShape self, StreamOut stream);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ScaledShape.h#L120">Jolt/Physics/Collision/Shape/ScaledShape.h:120</see>
/// <br/>
/// <c>virtual float GetVolume() const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See Shape::GetVolume
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetVolume")]
public static partial float ScaledShape_GetVolume(ScaledShape self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ScaledShape.h#L123">Jolt/Physics/Collision/Shape/ScaledShape.h:123</see>
/// <br/>
/// <c>virtual bool IsValidScale(Vec3Arg inScale) const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See Shape::IsValidScale
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ScaledShape_IsValidScale")]
public static partial Brutal.Bool8 ScaledShape_IsValidScale(ScaledShape self, float3 scale);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ScaledShape.h#L126">Jolt/Physics/Collision/Shape/ScaledShape.h:126</see>
/// <br/>
/// <c>virtual Vec3 MakeScaleValid(Vec3Arg inScale) const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See Shape::MakeScaleValid
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ScaledShape_MakeScaleValid")]
public static partial float3 ScaledShape_MakeScaleValid(ScaledShape self, float3 scale);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ScaledShape.h#L129">Jolt/Physics/Collision/Shape/ScaledShape.h:129</see>
/// <br/>
/// <c>static void sRegister()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Register shape functions with the registry
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ScaledShape_sRegister")]
public static partial void ScaledShape_sRegister();
[LibraryImport("jolt", EntryPoint = "ScaledShape_AddRef")]
public static partial void ScaledShape_AddRef(ScaledShape self);
[LibraryImport("jolt", EntryPoint = "ScaledShape_Release")]
public static partial void ScaledShape_Release(ScaledShape self);
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetRefCount")]
public static partial uint ScaledShape_GetRefCount(ScaledShape self);
[LibraryImport("jolt", EntryPoint = "ScaledShape_AsDecoratedShape")]
public static partial DecoratedShape ScaledShape_AsDecoratedShape(ScaledShape self);
[LibraryImport("jolt", EntryPoint = "ScaledShape_AsShape")]
public static partial Shape ScaledShape_AsShape(ScaledShape self);
}
}
}