brutal/Brutal.Jolt/Generated/PInvoke/PathConstraintPath.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

94 lines
4.6 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
{
/// <inheritdoc cref="PathConstraintPath.GetRTTI()"/>
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_GetRTTI")]
public static partial RTTI PathConstraintPath_GetRTTI(PathConstraintPath self);
/// <inheritdoc cref="PathConstraintPath.CastTo(RTTI)"/>
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_CastTo")]
public static partial void* PathConstraintPath_CastTo(PathConstraintPath self, RTTI rtti);
/// <inheritdoc cref="PathConstraintPath.GetPathMaxFraction()"/>
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_GetPathMaxFraction")]
public static partial float PathConstraintPath_GetPathMaxFraction(PathConstraintPath self);
/// <inheritdoc cref="PathConstraintPath.GetClosestPoint(float3, float)"/>
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_GetClosestPoint")]
public static partial float PathConstraintPath_GetClosestPoint(
PathConstraintPath self,
float3 position,
float fractionHint
);
/// <inheritdoc cref="PathConstraintPath.GetPointOnPath(float, out float3, out float3, out float3, out float3)"/>
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_GetPointOnPath")]
public static partial void PathConstraintPath_GetPointOnPath(
PathConstraintPath self,
float fraction,
out float3 pathPosition,
out float3 pathTangent,
out float3 pathNormal,
out float3 pathBinormal
);
/// <inheritdoc cref="PathConstraintPath.SetIsLooping(bool)"/>
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_SetIsLooping")]
public static partial void PathConstraintPath_SetIsLooping(PathConstraintPath self, Brutal.Bool8 isLooping);
/// <inheritdoc cref="PathConstraintPath.IsLooping()"/>
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_IsLooping")]
public static partial Brutal.Bool8 PathConstraintPath_IsLooping(PathConstraintPath self);
/// <inheritdoc cref="PathConstraintPath.DrawPath(DebugRenderer, in float4x4)"/>
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_DrawPath")]
public static partial void PathConstraintPath_DrawPath(
PathConstraintPath self,
DebugRenderer renderer,
in float4x4 baseTransform
);
/// <inheritdoc cref="PathConstraintPath.SaveBinaryState(StreamOut)"/>
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_SaveBinaryState")]
public static partial void PathConstraintPath_SaveBinaryState(PathConstraintPath self, StreamOut stream);
/// <summary>
/// <para>
/// Creates a Shape of the correct type and restores its contents from the binary stream inStream.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/PathConstraintPath.h#L60">Jolt/Physics/Constraints/PathConstraintPath.h:60</see>
/// <br/>
/// <c>static PathResult sRestoreFromBinaryState(StreamIn &amp;inStream)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_RestoreFromBinaryState")]
public static partial PathConstraintPath PathConstraintPath_RestoreFromBinaryState(StreamIn stream);
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_AddRef")]
public static partial void PathConstraintPath_AddRef(PathConstraintPath self);
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_Release")]
public static partial void PathConstraintPath_Release(PathConstraintPath self);
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_GetRefCount")]
public static partial uint PathConstraintPath_GetRefCount(PathConstraintPath self);
}
}
}