//
// 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/TaperedCylinderShape.h:19
///
/// TaperedCylinderShapeSettings() = default
///
///
///
///
/// Default constructor for deserialization
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_Create")]
public static partial TaperedCylinderShapeSettings TaperedCylinderShapeSettings_Create();
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:22
///
/// TaperedCylinderShapeSettings(float inHalfHeightOfTaperedCylinder, float inTopRadius, float inBottomRadius, float inConvexRadius = cDefaultConvexRadius, const PhysicsMaterial *inMaterial = nullptr)
///
///
///
///
/// Create a tapered cylinder centered around the origin with bottom at (0,
/// -inHalfHeightOfTaperedCylinder, 0) with radius inBottomRadius and top at (0,
/// inHalfHeightOfTaperedCylinder, 0) with radius inTopRadius
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_Create_2")]
public static partial TaperedCylinderShapeSettings TaperedCylinderShapeSettings_Create_2(float halfHeightOfTaperedCylinder, float topRadius, float bottomRadius, float convexRadius, PhysicsMaterial material);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:15
///
///
///
///
///
///
/// The returned handle is borrowed from its owner; don't Dispose it.
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_GetRTTI")]
public static partial RTTI TaperedCylinderShapeSettings_GetRTTI(TaperedCylinderShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:15
///
///
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_CastTo")]
public static partial void* TaperedCylinderShapeSettings_CastTo(TaperedCylinderShapeSettings self, RTTI rTTI);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:25
///
/// 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 = "TaperedCylinderShapeSettings_CreateShape")]
public static partial Shape TaperedCylinderShapeSettings_CreateShape(TaperedCylinderShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:27
///
/// float mHalfHeight = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_GetHalfHeight")]
public static partial float TaperedCylinderShapeSettings_GetHalfHeight(TaperedCylinderShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:27
///
/// float mHalfHeight = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_SetHalfHeight")]
public static partial void TaperedCylinderShapeSettings_SetHalfHeight(TaperedCylinderShapeSettings self, float value);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:28
///
/// float mTopRadius = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_GetTopRadius")]
public static partial float TaperedCylinderShapeSettings_GetTopRadius(TaperedCylinderShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:28
///
/// float mTopRadius = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_SetTopRadius")]
public static partial void TaperedCylinderShapeSettings_SetTopRadius(TaperedCylinderShapeSettings self, float value);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:29
///
/// float mBottomRadius = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_GetBottomRadius")]
public static partial float TaperedCylinderShapeSettings_GetBottomRadius(TaperedCylinderShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:29
///
/// float mBottomRadius = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_SetBottomRadius")]
public static partial void TaperedCylinderShapeSettings_SetBottomRadius(TaperedCylinderShapeSettings self, float value);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:30
///
/// float mConvexRadius = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_GetConvexRadius")]
public static partial float TaperedCylinderShapeSettings_GetConvexRadius(TaperedCylinderShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:30
///
/// float mConvexRadius = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_SetConvexRadius")]
public static partial void TaperedCylinderShapeSettings_SetConvexRadius(TaperedCylinderShapeSettings self, float value);
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_AddRef")]
public static partial void TaperedCylinderShapeSettings_AddRef(TaperedCylinderShapeSettings self);
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_Release")]
public static partial void TaperedCylinderShapeSettings_Release(TaperedCylinderShapeSettings self);
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_GetRefCount")]
public static partial uint TaperedCylinderShapeSettings_GetRefCount(TaperedCylinderShapeSettings self);
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_AsConvexShapeSettings")]
public static partial ConvexShapeSettings TaperedCylinderShapeSettings_AsConvexShapeSettings(TaperedCylinderShapeSettings self);
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_AsShapeSettings")]
public static partial ShapeSettings TaperedCylinderShapeSettings_AsShapeSettings(TaperedCylinderShapeSettings self);
}
}
}