mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
328 lines
18 KiB
C#
328 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
|
|
{
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_Create")]
|
|
public static partial PulleyConstraintSettings PulleyConstraintSettings_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L20">Jolt/Physics/Constraints/PulleyConstraint.h:20</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 = "PulleyConstraintSettings_GetRTTI")]
|
|
public static partial RTTI PulleyConstraintSettings_GetRTTI(PulleyConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L20">Jolt/Physics/Constraints/PulleyConstraint.h:20</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_CastTo")]
|
|
public static partial void* PulleyConstraintSettings_CastTo(PulleyConstraintSettings self, RTTI rTTI);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L24">Jolt/Physics/Constraints/PulleyConstraint.h:24</see>
|
|
/// <br/>
|
|
/// <c>virtual void SaveBinaryState(StreamOut &inStream) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See: ConstraintSettings::SaveBinaryState
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SaveBinaryState")]
|
|
public static partial void PulleyConstraintSettings_SaveBinaryState(PulleyConstraintSettings self, StreamOut stream);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L27">Jolt/Physics/Constraints/PulleyConstraint.h:27</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 = "PulleyConstraintSettings_Create_2")]
|
|
public static partial TwoBodyConstraint PulleyConstraintSettings_Create_2(PulleyConstraintSettings self, Body body1, Body body2);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L30">Jolt/Physics/Constraints/PulleyConstraint.h:30</see>
|
|
/// <br/>
|
|
/// <c>EConstraintSpace mSpace = EConstraintSpace::WorldSpace</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This determines in which space the constraint is setup, specified properties below should be in the
|
|
/// specified space
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetSpace")]
|
|
public static partial EConstraintSpace PulleyConstraintSettings_GetSpace(PulleyConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L30">Jolt/Physics/Constraints/PulleyConstraint.h:30</see>
|
|
/// <br/>
|
|
/// <c>EConstraintSpace mSpace = EConstraintSpace::WorldSpace</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This determines in which space the constraint is setup, specified properties below should be in the
|
|
/// specified space
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetSpace")]
|
|
public static partial void PulleyConstraintSettings_SetSpace(PulleyConstraintSettings self, EConstraintSpace value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L33">Jolt/Physics/Constraints/PulleyConstraint.h:33</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mBodyPoint1 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Body 1 constraint attachment point (space determined by mSpace).
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetBodyPoint1")]
|
|
public static partial float3 PulleyConstraintSettings_GetBodyPoint1(PulleyConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L33">Jolt/Physics/Constraints/PulleyConstraint.h:33</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mBodyPoint1 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Body 1 constraint attachment point (space determined by mSpace).
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetBodyPoint1")]
|
|
public static partial void PulleyConstraintSettings_SetBodyPoint1(PulleyConstraintSettings self, float3 value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L36">Jolt/Physics/Constraints/PulleyConstraint.h:36</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mFixedPoint1 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Fixed world point to which body 1 is connected (always world space)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetFixedPoint1")]
|
|
public static partial float3 PulleyConstraintSettings_GetFixedPoint1(PulleyConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L36">Jolt/Physics/Constraints/PulleyConstraint.h:36</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mFixedPoint1 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Fixed world point to which body 1 is connected (always world space)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetFixedPoint1")]
|
|
public static partial void PulleyConstraintSettings_SetFixedPoint1(PulleyConstraintSettings self, float3 value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L39">Jolt/Physics/Constraints/PulleyConstraint.h:39</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mBodyPoint2 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Body 2 constraint attachment point (space determined by mSpace)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetBodyPoint2")]
|
|
public static partial float3 PulleyConstraintSettings_GetBodyPoint2(PulleyConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L39">Jolt/Physics/Constraints/PulleyConstraint.h:39</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mBodyPoint2 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Body 2 constraint attachment point (space determined by mSpace)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetBodyPoint2")]
|
|
public static partial void PulleyConstraintSettings_SetBodyPoint2(PulleyConstraintSettings self, float3 value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L42">Jolt/Physics/Constraints/PulleyConstraint.h:42</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mFixedPoint2 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Fixed world point to which body 2 is connected (always world space)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetFixedPoint2")]
|
|
public static partial float3 PulleyConstraintSettings_GetFixedPoint2(PulleyConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L42">Jolt/Physics/Constraints/PulleyConstraint.h:42</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mFixedPoint2 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Fixed world point to which body 2 is connected (always world space)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetFixedPoint2")]
|
|
public static partial void PulleyConstraintSettings_SetFixedPoint2(PulleyConstraintSettings self, float3 value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L45">Jolt/Physics/Constraints/PulleyConstraint.h:45</see>
|
|
/// <br/>
|
|
/// <c>float mRatio = 1.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Ratio between the two line segments (see formula above), can be used to create a block and tackle
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetRatio")]
|
|
public static partial float PulleyConstraintSettings_GetRatio(PulleyConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L45">Jolt/Physics/Constraints/PulleyConstraint.h:45</see>
|
|
/// <br/>
|
|
/// <c>float mRatio = 1.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Ratio between the two line segments (see formula above), can be used to create a block and tackle
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetRatio")]
|
|
public static partial void PulleyConstraintSettings_SetRatio(PulleyConstraintSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L48">Jolt/Physics/Constraints/PulleyConstraint.h:48</see>
|
|
/// <br/>
|
|
/// <c>float mMinLength = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The minimum length of the line segments (see formula above), use -1 to calculate the length based on
|
|
/// the positions of the objects when the constraint is created.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetMinLength")]
|
|
public static partial float PulleyConstraintSettings_GetMinLength(PulleyConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L48">Jolt/Physics/Constraints/PulleyConstraint.h:48</see>
|
|
/// <br/>
|
|
/// <c>float mMinLength = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The minimum length of the line segments (see formula above), use -1 to calculate the length based on
|
|
/// the positions of the objects when the constraint is created.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetMinLength")]
|
|
public static partial void PulleyConstraintSettings_SetMinLength(PulleyConstraintSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L51">Jolt/Physics/Constraints/PulleyConstraint.h:51</see>
|
|
/// <br/>
|
|
/// <c>float mMaxLength = -1.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The maximum length of the line segments (see formula above), use -1 to calculate the length based on
|
|
/// the positions of the objects when the constraint is created.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetMaxLength")]
|
|
public static partial float PulleyConstraintSettings_GetMaxLength(PulleyConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PulleyConstraint.h#L51">Jolt/Physics/Constraints/PulleyConstraint.h:51</see>
|
|
/// <br/>
|
|
/// <c>float mMaxLength = -1.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The maximum length of the line segments (see formula above), use -1 to calculate the length based on
|
|
/// the positions of the objects when the constraint is created.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetMaxLength")]
|
|
public static partial void PulleyConstraintSettings_SetMaxLength(PulleyConstraintSettings self, float value);
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_AddRef")]
|
|
public static partial void PulleyConstraintSettings_AddRef(PulleyConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_Release")]
|
|
public static partial void PulleyConstraintSettings_Release(PulleyConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetRefCount")]
|
|
public static partial uint PulleyConstraintSettings_GetRefCount(PulleyConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_AsTwoBodyConstraintSettings")]
|
|
public static partial TwoBodyConstraintSettings PulleyConstraintSettings_AsTwoBodyConstraintSettings(PulleyConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_AsConstraintSettings")]
|
|
public static partial ConstraintSettings PulleyConstraintSettings_AsConstraintSettings(PulleyConstraintSettings self);
|
|
}
|
|
}
|
|
}
|