mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
79 lines
3.7 KiB
C#
79 lines
3.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
|
|
{
|
|
/// <inheritdoc cref="ConvexHullShapeSettings.Create(ReadOnlySpan{float3}, float, PhysicsMaterial)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_Create")]
|
|
public static partial ConvexHullShapeSettings ConvexHullShapeSettings_Create(
|
|
float3* points,
|
|
nuint pointsCount,
|
|
float convexRadius,
|
|
PhysicsMaterial material
|
|
);
|
|
|
|
/// <inheritdoc cref="ConvexHullShapeSettings.Create()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_Create_2")]
|
|
public static partial ConvexHullShapeSettings ConvexHullShapeSettings_Create_2();
|
|
|
|
/// <inheritdoc cref="ConvexHullShapeSettings.GetPoints()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_GetPoints")]
|
|
public static partial nint ConvexHullShapeSettings_GetPoints(ConvexHullShapeSettings self);
|
|
|
|
/// <inheritdoc cref="ConvexHullShapeSettings.SetPoints(ReadOnlySpan{float3})"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_SetPoints")]
|
|
public static partial void ConvexHullShapeSettings_SetPoints(
|
|
ConvexHullShapeSettings self,
|
|
float3* value,
|
|
nuint valueCount
|
|
);
|
|
|
|
/// <inheritdoc cref="ConvexHullShapeSettings.GetMaxConvexRadius()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_GetMaxConvexRadius")]
|
|
[SuppressGCTransition]
|
|
public static partial float ConvexHullShapeSettings_GetMaxConvexRadius(ConvexHullShapeSettings self);
|
|
|
|
/// <inheritdoc cref="ConvexHullShapeSettings.SetMaxConvexRadius(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_SetMaxConvexRadius")]
|
|
[SuppressGCTransition]
|
|
public static partial void ConvexHullShapeSettings_SetMaxConvexRadius(
|
|
ConvexHullShapeSettings self,
|
|
float value
|
|
);
|
|
|
|
/// <inheritdoc cref="ConvexHullShapeSettings.GetMaxErrorConvexRadius()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_GetMaxErrorConvexRadius")]
|
|
[SuppressGCTransition]
|
|
public static partial float ConvexHullShapeSettings_GetMaxErrorConvexRadius(ConvexHullShapeSettings self);
|
|
|
|
/// <inheritdoc cref="ConvexHullShapeSettings.SetMaxErrorConvexRadius(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_SetMaxErrorConvexRadius")]
|
|
[SuppressGCTransition]
|
|
public static partial void ConvexHullShapeSettings_SetMaxErrorConvexRadius(
|
|
ConvexHullShapeSettings self,
|
|
float value
|
|
);
|
|
|
|
/// <inheritdoc cref="ConvexHullShapeSettings.GetHullTolerance()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_GetHullTolerance")]
|
|
[SuppressGCTransition]
|
|
public static partial float ConvexHullShapeSettings_GetHullTolerance(ConvexHullShapeSettings self);
|
|
|
|
/// <inheritdoc cref="ConvexHullShapeSettings.SetHullTolerance(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_SetHullTolerance")]
|
|
[SuppressGCTransition]
|
|
public static partial void ConvexHullShapeSettings_SetHullTolerance(
|
|
ConvexHullShapeSettings self,
|
|
float value
|
|
);
|
|
}
|
|
}
|
|
}
|