mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
176 lines
9.7 KiB
C#
176 lines
9.7 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
|
|
{
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_Create")]
|
|
public static partial PointConstraintSettings PointConstraintSettings_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PointConstraint.h#L15">Jolt/Physics/Constraints/PointConstraint.h:15</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The returned handle is borrowed from its owner; don't Dispose it.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_GetRTTI")]
|
|
public static partial RTTI PointConstraintSettings_GetRTTI(PointConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PointConstraint.h#L15">Jolt/Physics/Constraints/PointConstraint.h:15</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_CastTo")]
|
|
public static partial void* PointConstraintSettings_CastTo(PointConstraintSettings self, RTTI rTTI);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PointConstraint.h#L19">Jolt/Physics/Constraints/PointConstraint.h:19</see>
|
|
/// <br/>
|
|
/// <c>virtual void SaveBinaryState(StreamOut &inStream) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See: ConstraintSettings::SaveBinaryState
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_SaveBinaryState")]
|
|
public static partial void PointConstraintSettings_SaveBinaryState(PointConstraintSettings self, StreamOut stream);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PointConstraint.h#L22">Jolt/Physics/Constraints/PointConstraint.h:22</see>
|
|
/// <br/>
|
|
/// <c>virtual TwoBodyConstraint * Create(Body &inBody1, Body &inBody2) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Create an instance of this constraint
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_Create_2")]
|
|
public static partial TwoBodyConstraint PointConstraintSettings_Create_2(PointConstraintSettings self, Body body1, Body body2);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PointConstraint.h#L25">Jolt/Physics/Constraints/PointConstraint.h:25</see>
|
|
/// <br/>
|
|
/// <c>EConstraintSpace mSpace = EConstraintSpace::WorldSpace</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This determines in which space the constraint is setup, all properties below should be in the
|
|
/// specified space
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_GetSpace")]
|
|
public static partial EConstraintSpace PointConstraintSettings_GetSpace(PointConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PointConstraint.h#L25">Jolt/Physics/Constraints/PointConstraint.h:25</see>
|
|
/// <br/>
|
|
/// <c>EConstraintSpace mSpace = EConstraintSpace::WorldSpace</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This determines in which space the constraint is setup, all properties below should be in the
|
|
/// specified space
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_SetSpace")]
|
|
public static partial void PointConstraintSettings_SetSpace(PointConstraintSettings self, EConstraintSpace value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PointConstraint.h#L28">Jolt/Physics/Constraints/PointConstraint.h:28</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mPoint1 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Body 1 constraint position (space determined by mSpace).
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_GetPoint1")]
|
|
public static partial float3 PointConstraintSettings_GetPoint1(PointConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PointConstraint.h#L28">Jolt/Physics/Constraints/PointConstraint.h:28</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mPoint1 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Body 1 constraint position (space determined by mSpace).
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_SetPoint1")]
|
|
public static partial void PointConstraintSettings_SetPoint1(PointConstraintSettings self, float3 value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PointConstraint.h#L32">Jolt/Physics/Constraints/PointConstraint.h:32</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mPoint2 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Body 2 constraint position (space determined by mSpace).
|
|
/// Note: Normally you would set mPoint1 = mPoint2 if the bodies are already placed how you want to constrain them (if mSpace = world space).
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_GetPoint2")]
|
|
public static partial float3 PointConstraintSettings_GetPoint2(PointConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PointConstraint.h#L32">Jolt/Physics/Constraints/PointConstraint.h:32</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mPoint2 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Body 2 constraint position (space determined by mSpace).
|
|
/// Note: Normally you would set mPoint1 = mPoint2 if the bodies are already placed how you want to constrain them (if mSpace = world space).
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_SetPoint2")]
|
|
public static partial void PointConstraintSettings_SetPoint2(PointConstraintSettings self, float3 value);
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_AddRef")]
|
|
public static partial void PointConstraintSettings_AddRef(PointConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_Release")]
|
|
public static partial void PointConstraintSettings_Release(PointConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_GetRefCount")]
|
|
public static partial uint PointConstraintSettings_GetRefCount(PointConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_AsTwoBodyConstraintSettings")]
|
|
public static partial TwoBodyConstraintSettings PointConstraintSettings_AsTwoBodyConstraintSettings(PointConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintSettings_AsConstraintSettings")]
|
|
public static partial ConstraintSettings PointConstraintSettings_AsConstraintSettings(PointConstraintSettings self);
|
|
}
|
|
}
|
|
}
|