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

266 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
{
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_Create")]
public static partial PathConstraintSettings PathConstraintSettings_Create();
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L43">Jolt/Physics/Constraints/PathConstraint.h:43</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 = "PathConstraintSettings_GetRTTI")]
public static partial RTTI PathConstraintSettings_GetRTTI(PathConstraintSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L43">Jolt/Physics/Constraints/PathConstraint.h:43</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_CastTo")]
public static partial void* PathConstraintSettings_CastTo(PathConstraintSettings self, RTTI rTTI);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L47">Jolt/Physics/Constraints/PathConstraint.h:47</see>
/// <br/>
/// <c>virtual void SaveBinaryState(StreamOut &amp;inStream) const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See: ConstraintSettings::SaveBinaryState
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_SaveBinaryState")]
public static partial void PathConstraintSettings_SaveBinaryState(PathConstraintSettings self, StreamOut stream);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L50">Jolt/Physics/Constraints/PathConstraint.h:50</see>
/// <br/>
/// <c>virtual TwoBodyConstraint * Create(Body &amp;inBody1, Body &amp;inBody2) const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Create an instance of this constraint
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_Create_2")]
public static partial TwoBodyConstraint PathConstraintSettings_Create_2(PathConstraintSettings self, Body body1, Body body2);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L53">Jolt/Physics/Constraints/PathConstraint.h:53</see>
/// <br/>
/// <c>RefConst&lt;PathConstraintPath&gt; mPath</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The path that constrains the two bodies
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_GetPath")]
public static partial PathConstraintPath PathConstraintSettings_GetPath(PathConstraintSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L53">Jolt/Physics/Constraints/PathConstraint.h:53</see>
/// <br/>
/// <c>RefConst&lt;PathConstraintPath&gt; mPath</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The path that constrains the two bodies
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_SetPath")]
public static partial void PathConstraintSettings_SetPath(PathConstraintSettings self, PathConstraintPath value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L56">Jolt/Physics/Constraints/PathConstraint.h:56</see>
/// <br/>
/// <c>Vec3 mPathPosition = Vec3::sZero()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The position of the path start relative to world transform of body 1
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_GetPathPosition")]
public static partial float3 PathConstraintSettings_GetPathPosition(PathConstraintSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L56">Jolt/Physics/Constraints/PathConstraint.h:56</see>
/// <br/>
/// <c>Vec3 mPathPosition = Vec3::sZero()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The position of the path start relative to world transform of body 1
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_SetPathPosition")]
public static partial void PathConstraintSettings_SetPathPosition(PathConstraintSettings self, float3 value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L59">Jolt/Physics/Constraints/PathConstraint.h:59</see>
/// <br/>
/// <c>Quat mPathRotation = Quat::sIdentity()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The rotation of the path start relative to world transform of body 1
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_GetPathRotation")]
public static partial floatQuat PathConstraintSettings_GetPathRotation(PathConstraintSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L59">Jolt/Physics/Constraints/PathConstraint.h:59</see>
/// <br/>
/// <c>Quat mPathRotation = Quat::sIdentity()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The rotation of the path start relative to world transform of body 1
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_SetPathRotation")]
public static partial void PathConstraintSettings_SetPathRotation(PathConstraintSettings self, floatQuat value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L62">Jolt/Physics/Constraints/PathConstraint.h:62</see>
/// <br/>
/// <c>float mPathFraction = 0.0f</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The fraction along the path that corresponds to the initial position of body 2. Usually this is 0,
/// the beginning of the path. But if you want to start an object halfway the path you can calculate
/// this with mPath-&gt;GetClosestPoint(point on path to attach body to).
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_GetPathFraction")]
public static partial float PathConstraintSettings_GetPathFraction(PathConstraintSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L62">Jolt/Physics/Constraints/PathConstraint.h:62</see>
/// <br/>
/// <c>float mPathFraction = 0.0f</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The fraction along the path that corresponds to the initial position of body 2. Usually this is 0,
/// the beginning of the path. But if you want to start an object halfway the path you can calculate
/// this with mPath-&gt;GetClosestPoint(point on path to attach body to).
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_SetPathFraction")]
public static partial void PathConstraintSettings_SetPathFraction(PathConstraintSettings self, float value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L65">Jolt/Physics/Constraints/PathConstraint.h:65</see>
/// <br/>
/// <c>float mMaxFrictionForce = 0.0f</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Maximum amount of friction force to apply (N) when not driven by a motor.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_GetMaxFrictionForce")]
public static partial float PathConstraintSettings_GetMaxFrictionForce(PathConstraintSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L65">Jolt/Physics/Constraints/PathConstraint.h:65</see>
/// <br/>
/// <c>float mMaxFrictionForce = 0.0f</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Maximum amount of friction force to apply (N) when not driven by a motor.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_SetMaxFrictionForce")]
public static partial void PathConstraintSettings_SetMaxFrictionForce(PathConstraintSettings self, float value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L71">Jolt/Physics/Constraints/PathConstraint.h:71</see>
/// <br/>
/// <c>EPathRotationConstraintType mRotationConstraintType = EPathRotationConstraintType::Free</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// How to constrain the rotation of the body to the path
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_GetRotationConstraintType")]
public static partial EPathRotationConstraintType PathConstraintSettings_GetRotationConstraintType(PathConstraintSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L71">Jolt/Physics/Constraints/PathConstraint.h:71</see>
/// <br/>
/// <c>EPathRotationConstraintType mRotationConstraintType = EPathRotationConstraintType::Free</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// How to constrain the rotation of the body to the path
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_SetRotationConstraintType")]
public static partial void PathConstraintSettings_SetRotationConstraintType(PathConstraintSettings self, EPathRotationConstraintType value);
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_AddRef")]
public static partial void PathConstraintSettings_AddRef(PathConstraintSettings self);
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_Release")]
public static partial void PathConstraintSettings_Release(PathConstraintSettings self);
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_GetRefCount")]
public static partial uint PathConstraintSettings_GetRefCount(PathConstraintSettings self);
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_AsTwoBodyConstraintSettings")]
public static partial TwoBodyConstraintSettings PathConstraintSettings_AsTwoBodyConstraintSettings(PathConstraintSettings self);
[LibraryImport("jolt", EntryPoint = "PathConstraintSettings_AsConstraintSettings")]
public static partial ConstraintSettings PathConstraintSettings_AsConstraintSettings(PathConstraintSettings self);
}
}
}