mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
150 lines
7.9 KiB
C#
150 lines
7.9 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/Collision/Shape/PlaneShape.h#L22">Jolt/Physics/Collision/Shape/PlaneShape.h:22</see>
|
|
/// <br/>
|
|
/// <c>PlaneShapeSettings() = default</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Default constructor for deserialization
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_Create")]
|
|
public static partial PlaneShapeSettings PlaneShapeSettings_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/PlaneShape.h#L25">Jolt/Physics/Collision/Shape/PlaneShape.h:25</see>
|
|
/// <br/>
|
|
/// <c>explicit PlaneShapeSettings(const Plane &inPlane, const PhysicsMaterial *inMaterial = nullptr, float inHalfExtent = cDefaultHalfExtent)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Create a plane shape.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_Create_2")]
|
|
public static partial PlaneShapeSettings PlaneShapeSettings_Create_2(Plane plane, PhysicsMaterial material, float halfExtent);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/PlaneShape.h#L18">Jolt/Physics/Collision/Shape/PlaneShape.h:18</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 = "PlaneShapeSettings_GetRTTI")]
|
|
public static partial RTTI PlaneShapeSettings_GetRTTI(PlaneShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/PlaneShape.h#L18">Jolt/Physics/Collision/Shape/PlaneShape.h:18</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_CastTo")]
|
|
public static partial void* PlaneShapeSettings_CastTo(PlaneShapeSettings self, RTTI rTTI);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/PlaneShape.h#L28">Jolt/Physics/Collision/Shape/PlaneShape.h:28</see>
|
|
/// <br/>
|
|
/// <c>virtual ShapeResult Create() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See: ShapeSettings
|
|
/// </para>
|
|
/// <para>
|
|
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_CreateShape")]
|
|
public static partial Shape PlaneShapeSettings_CreateShape(PlaneShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Surface material of the plane
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/PlaneShape.h#L32">Jolt/Physics/Collision/Shape/PlaneShape.h:32</see>
|
|
/// <br/>
|
|
/// <c>RefConst<PhysicsMaterial> mMaterial</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_GetMaterial")]
|
|
public static partial PhysicsMaterial PlaneShapeSettings_GetMaterial(PlaneShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Surface material of the plane
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/PlaneShape.h#L32">Jolt/Physics/Collision/Shape/PlaneShape.h:32</see>
|
|
/// <br/>
|
|
/// <c>RefConst<PhysicsMaterial> mMaterial</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_SetMaterial")]
|
|
public static partial void PlaneShapeSettings_SetMaterial(PlaneShapeSettings self, PhysicsMaterial value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// The bounding box of this plane will run from [-half_extent, half_extent]. Keep this as low as
|
|
/// possible for better broad phase performance.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/PlaneShape.h#L36">Jolt/Physics/Collision/Shape/PlaneShape.h:36</see>
|
|
/// <br/>
|
|
/// <c>float mHalfExtent = cDefaultHalfExtent</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_GetHalfExtent")]
|
|
public static partial float PlaneShapeSettings_GetHalfExtent(PlaneShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// The bounding box of this plane will run from [-half_extent, half_extent]. Keep this as low as
|
|
/// possible for better broad phase performance.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/PlaneShape.h#L36">Jolt/Physics/Collision/Shape/PlaneShape.h:36</see>
|
|
/// <br/>
|
|
/// <c>float mHalfExtent = cDefaultHalfExtent</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_SetHalfExtent")]
|
|
public static partial void PlaneShapeSettings_SetHalfExtent(PlaneShapeSettings self, float value);
|
|
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_AddRef")]
|
|
public static partial void PlaneShapeSettings_AddRef(PlaneShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_Release")]
|
|
public static partial void PlaneShapeSettings_Release(PlaneShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_GetRefCount")]
|
|
public static partial uint PlaneShapeSettings_GetRefCount(PlaneShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_AsShapeSettings")]
|
|
public static partial ShapeSettings PlaneShapeSettings_AsShapeSettings(PlaneShapeSettings self);
|
|
}
|
|
}
|
|
}
|