//
// 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
{
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/PlaneShape.h:22
///
/// PlaneShapeSettings() = default
///
///
///
///
/// Default constructor for deserialization
///
///
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_Create")]
public static partial PlaneShapeSettings PlaneShapeSettings_Create();
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/PlaneShape.h:25
///
/// explicit PlaneShapeSettings(const Plane &inPlane, const PhysicsMaterial *inMaterial = nullptr, float inHalfExtent = cDefaultHalfExtent)
///
///
///
///
/// Create a plane shape.
///
///
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_Create_2")]
public static partial PlaneShapeSettings PlaneShapeSettings_Create_2(Plane plane, PhysicsMaterial material, float halfExtent);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/PlaneShape.h:18
///
///
///
///
///
///
/// The returned handle is borrowed from its owner; don't Dispose it.
///
///
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_GetRTTI")]
public static partial RTTI PlaneShapeSettings_GetRTTI(PlaneShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/PlaneShape.h:18
///
///
///
///
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_CastTo")]
public static partial void* PlaneShapeSettings_CastTo(PlaneShapeSettings self, RTTI rTTI);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/PlaneShape.h:28
///
/// virtual ShapeResult Create() const override
///
///
///
///
/// See: ShapeSettings
///
///
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
///
///
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_CreateShape")]
public static partial Shape PlaneShapeSettings_CreateShape(PlaneShapeSettings self);
///
///
/// Surface material of the plane
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/PlaneShape.h:32
///
/// RefConst<PhysicsMaterial> mMaterial
///
///
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_GetMaterial")]
public static partial PhysicsMaterial PlaneShapeSettings_GetMaterial(PlaneShapeSettings self);
///
///
/// Surface material of the plane
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/PlaneShape.h:32
///
/// RefConst<PhysicsMaterial> mMaterial
///
///
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_SetMaterial")]
public static partial void PlaneShapeSettings_SetMaterial(PlaneShapeSettings self, PhysicsMaterial value);
///
///
/// The bounding box of this plane will run from [-half_extent, half_extent]. Keep this as low as
/// possible for better broad phase performance.
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/PlaneShape.h:36
///
/// float mHalfExtent = cDefaultHalfExtent
///
///
[LibraryImport("jolt", EntryPoint = "PlaneShapeSettings_GetHalfExtent")]
public static partial float PlaneShapeSettings_GetHalfExtent(PlaneShapeSettings self);
///
///
/// The bounding box of this plane will run from [-half_extent, half_extent]. Keep this as low as
/// possible for better broad phase performance.
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/PlaneShape.h:36
///
/// float mHalfExtent = cDefaultHalfExtent
///
///
[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);
}
}
}