mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
305 lines
18 KiB
C#
305 lines
18 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/RotatedTranslatedShape.h#L44">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:44</see>
|
|
/// <br/>
|
|
/// <c>RotatedTranslatedShape()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Constructor
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_Create")]
|
|
public static partial RotatedTranslatedShape RotatedTranslatedShape_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h#L46">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:46</see>
|
|
/// <br/>
|
|
/// <c>RotatedTranslatedShape(Vec3Arg inPosition, QuatArg inRotation, const Shape *inShape)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_Create_2")]
|
|
public static partial RotatedTranslatedShape RotatedTranslatedShape_Create_2(float3 position, floatQuat rotation, Shape shape);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h#L49">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:49</see>
|
|
/// <br/>
|
|
/// <c>Quat GetRotation() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Access the rotation that is applied to the inner shape
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_GetRotation")]
|
|
public static partial floatQuat RotatedTranslatedShape_GetRotation(RotatedTranslatedShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h#L52">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:52</see>
|
|
/// <br/>
|
|
/// <c>Vec3 GetPosition() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Access the translation that has been applied to the inner shape
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_GetPosition")]
|
|
public static partial float3 RotatedTranslatedShape_GetPosition(RotatedTranslatedShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h#L55">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:55</see>
|
|
/// <br/>
|
|
/// <c>virtual Vec3 GetCenterOfMass() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetCenterOfMass
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_GetCenterOfMass")]
|
|
public static partial float3 RotatedTranslatedShape_GetCenterOfMass(RotatedTranslatedShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h#L65">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:65</see>
|
|
/// <br/>
|
|
/// <c>virtual float GetInnerRadius() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetInnerRadius
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_GetInnerRadius")]
|
|
public static partial float RotatedTranslatedShape_GetInnerRadius(RotatedTranslatedShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h#L74">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:74</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 = "RotatedTranslatedShape_GetSurfaceNormal")]
|
|
public static partial float3 RotatedTranslatedShape_GetSurfaceNormal(RotatedTranslatedShape self, uint subShapeID, float3 localSurfacePosition);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h#L80">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:80</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 = "RotatedTranslatedShape_GetSubmergedVolume")]
|
|
public static partial void RotatedTranslatedShape_GetSubmergedVolume(RotatedTranslatedShape 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/RotatedTranslatedShape.h#L84">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:84</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 = "RotatedTranslatedShape_Draw")]
|
|
public static partial void RotatedTranslatedShape_Draw(RotatedTranslatedShape 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/RotatedTranslatedShape.h#L87">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:87</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 = "RotatedTranslatedShape_DrawGetSupportFunction")]
|
|
public static partial void RotatedTranslatedShape_DrawGetSupportFunction(RotatedTranslatedShape 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/RotatedTranslatedShape.h#L90">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:90</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 = "RotatedTranslatedShape_DrawGetSupportingFace")]
|
|
public static partial void RotatedTranslatedShape_DrawGetSupportingFace(RotatedTranslatedShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h#L101">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:101</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 = "RotatedTranslatedShape_CollideSoftBodyVertices")]
|
|
public static partial void RotatedTranslatedShape_CollideSoftBodyVertices(RotatedTranslatedShape 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/RotatedTranslatedShape.h#L110">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:110</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 = "RotatedTranslatedShape_GetTrianglesStart")]
|
|
public static partial void RotatedTranslatedShape_GetTrianglesStart(RotatedTranslatedShape 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/RotatedTranslatedShape.h#L116">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:116</see>
|
|
/// <br/>
|
|
/// <c>virtual void SaveBinaryState(StreamOut &inStream) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_SaveBinaryState")]
|
|
public static partial void RotatedTranslatedShape_SaveBinaryState(RotatedTranslatedShape self, StreamOut stream);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h#L122">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:122</see>
|
|
/// <br/>
|
|
/// <c>virtual float GetVolume() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetVolume
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_GetVolume")]
|
|
public static partial float RotatedTranslatedShape_GetVolume(RotatedTranslatedShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h#L125">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:125</see>
|
|
/// <br/>
|
|
/// <c>virtual bool IsValidScale(Vec3Arg inScale) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::IsValidScale
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_IsValidScale")]
|
|
public static partial Brutal.Bool8 RotatedTranslatedShape_IsValidScale(RotatedTranslatedShape self, float3 scale);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h#L128">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:128</see>
|
|
/// <br/>
|
|
/// <c>virtual Vec3 MakeScaleValid(Vec3Arg inScale) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::MakeScaleValid
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_MakeScaleValid")]
|
|
public static partial float3 RotatedTranslatedShape_MakeScaleValid(RotatedTranslatedShape self, float3 scale);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h#L131">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:131</see>
|
|
/// <br/>
|
|
/// <c>inline Vec3 TransformScale(Vec3Arg inScale) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Transform the scale to the local space of the child shape
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_TransformScale")]
|
|
public static partial float3 RotatedTranslatedShape_TransformScale(RotatedTranslatedShape self, float3 scale);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h#L141">Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:141</see>
|
|
/// <br/>
|
|
/// <c>static void sRegister()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Register shape functions with the registry
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_sRegister")]
|
|
public static partial void RotatedTranslatedShape_sRegister();
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_AddRef")]
|
|
public static partial void RotatedTranslatedShape_AddRef(RotatedTranslatedShape self);
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_Release")]
|
|
public static partial void RotatedTranslatedShape_Release(RotatedTranslatedShape self);
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_GetRefCount")]
|
|
public static partial uint RotatedTranslatedShape_GetRefCount(RotatedTranslatedShape self);
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_AsDecoratedShape")]
|
|
public static partial DecoratedShape RotatedTranslatedShape_AsDecoratedShape(RotatedTranslatedShape self);
|
|
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_AsShape")]
|
|
public static partial Shape RotatedTranslatedShape_AsShape(RotatedTranslatedShape self);
|
|
}
|
|
}
|
|
}
|