mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,173 @@
|
|||
// <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/Constraints/PathConstraintPath.h#L22">Jolt/Physics/Constraints/PathConstraintPath.h:22</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 = "PathConstraintPath_GetRTTI")]
|
||||
public static partial RTTI PathConstraintPath_GetRTTI(PathConstraintPath self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraintPath.h#L22">Jolt/Physics/Constraints/PathConstraintPath.h:22</see>
|
||||
/// <br/>
|
||||
/// <c></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_CastTo")]
|
||||
public static partial void* PathConstraintPath_CastTo(PathConstraintPath self, RTTI rTTI);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraintPath.h#L31">Jolt/Physics/Constraints/PathConstraintPath.h:31</see>
|
||||
/// <br/>
|
||||
/// <c>virtual float GetPathMaxFraction() const = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Gets the max fraction along the path. I.e. sort of the length of the path.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_GetPathMaxFraction")]
|
||||
public static partial float PathConstraintPath_GetPathMaxFraction(PathConstraintPath self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraintPath.h#L37">Jolt/Physics/Constraints/PathConstraintPath.h:37</see>
|
||||
/// <br/>
|
||||
/// <c>virtual float GetClosestPoint(Vec3Arg inPosition, float inFractionHint) const = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Get the globally closest point on the curve (Could be slow!)
|
||||
/// @param inPosition Position to find closest point for
|
||||
/// @param inFractionHint Last known fraction along the path (can be used to speed up the search)
|
||||
/// @return Fraction of closest point along the path
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_GetClosestPoint")]
|
||||
public static partial float PathConstraintPath_GetClosestPoint(PathConstraintPath self, float3 position, float fractionHint);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraintPath.h#L45">Jolt/Physics/Constraints/PathConstraintPath.h:45</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void GetPointOnPath(float inFraction, Vec3 &outPathPosition, Vec3 &outPathTangent, Vec3 &outPathNormal, Vec3 &outPathBinormal) const = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Given the fraction along the path, get the point, tangent and normal.
|
||||
/// @param inFraction Fraction along the path [0, GetPathMaxFraction()].
|
||||
/// @param outPathPosition Returns the closest position to inSearchPosition on the path.
|
||||
/// @param outPathTangent Returns the tangent to the path at outPathPosition (the vector that follows the direction of the path)
|
||||
/// @param outPathNormal Return the normal to the path at outPathPosition (a vector that's perpendicular to outPathTangent)
|
||||
/// @param outPathBinormal Returns the binormal to the path at outPathPosition (a vector so that normal cross tangent = binormal)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[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);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraintPath.h#L48">Jolt/Physics/Constraints/PathConstraintPath.h:48</see>
|
||||
/// <br/>
|
||||
/// <c>void SetIsLooping(bool inIsLooping)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// If the path is looping or not. If a path is looping, the first and last point are automatically
|
||||
/// connected to each other. They should not be the same points.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_SetIsLooping")]
|
||||
public static partial void PathConstraintPath_SetIsLooping(PathConstraintPath self, Brutal.Bool8 isLooping);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraintPath.h#L49">Jolt/Physics/Constraints/PathConstraintPath.h:49</see>
|
||||
/// <br/>
|
||||
/// <c>bool IsLooping() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_IsLooping")]
|
||||
public static partial Brutal.Bool8 PathConstraintPath_IsLooping(PathConstraintPath self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraintPath.h#L53">Jolt/Physics/Constraints/PathConstraintPath.h:53</see>
|
||||
/// <br/>
|
||||
/// <c>void DrawPath(DebugRenderer *inRenderer, RMat44Arg inBaseTransform) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Draw the path relative to inBaseTransform. Used for debug purposes.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_DrawPath")]
|
||||
public static partial void PathConstraintPath_DrawPath(PathConstraintPath self, DebugRenderer renderer, float4x4 baseTransform);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraintPath.h#L57">Jolt/Physics/Constraints/PathConstraintPath.h:57</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void SaveBinaryState(StreamOut &inStream) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Saves the contents of the path in binary form to inStream.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_SaveBinaryState")]
|
||||
public static partial void PathConstraintPath_SaveBinaryState(PathConstraintPath self, StreamOut stream);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraintPath.h#L60">Jolt/Physics/Constraints/PathConstraintPath.h:60</see>
|
||||
/// <br/>
|
||||
/// <c>static PathResult sRestoreFromBinaryState(StreamIn &inStream)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Creates a Shape of the correct type and restores its contents from the binary stream inStream.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "PathConstraintPath_sRestoreFromBinaryState")]
|
||||
public static partial PathConstraintPath PathConstraintPath_sRestoreFromBinaryState(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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue