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

42 lines
2.5 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
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleCollisionTester.h#L115">Jolt/Physics/Vehicle/VehicleCollisionTester.h:115</see>
/// <br/>
/// <c>VehicleCollisionTesterCastSphere(ObjectLayer inObjectLayer, float inRadius, Vec3Arg inUp = Vec3::sAxisY(), float inMaxSlopeAngle = DegreesToRadians(80.0f))</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Constructor
/// @param inObjectLayer Object layer to test collision with
/// @param inUp World space up vector, used to avoid colliding with vertical walls.
/// @param inRadius Radius of sphere
/// @param inMaxSlopeAngle Max angle (rad) that is considered for colliding wheels. This is to avoid colliding with vertical walls.
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "VehicleCollisionTesterCastSphere_Create")]
public static partial VehicleCollisionTesterCastSphere VehicleCollisionTesterCastSphere_Create(ushort objectLayer, float radius, float3 up, float maxSlopeAngle);
[LibraryImport("jolt", EntryPoint = "VehicleCollisionTesterCastSphere_AddRef")]
public static partial void VehicleCollisionTesterCastSphere_AddRef(VehicleCollisionTesterCastSphere self);
[LibraryImport("jolt", EntryPoint = "VehicleCollisionTesterCastSphere_Release")]
public static partial void VehicleCollisionTesterCastSphere_Release(VehicleCollisionTesterCastSphere self);
[LibraryImport("jolt", EntryPoint = "VehicleCollisionTesterCastSphere_GetRefCount")]
public static partial uint VehicleCollisionTesterCastSphere_GetRefCount(VehicleCollisionTesterCastSphere self);
[LibraryImport("jolt", EntryPoint = "VehicleCollisionTesterCastSphere_AsVehicleCollisionTester")]
public static partial VehicleCollisionTester VehicleCollisionTesterCastSphere_AsVehicleCollisionTester(VehicleCollisionTesterCastSphere self);
}
}
}