//
// 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/OffsetCenterOfMassShape.h:20
///
/// OffsetCenterOfMassShapeSettings() = default
///
///
///
///
/// Constructor
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_Create")]
public static partial OffsetCenterOfMassShapeSettings OffsetCenterOfMassShapeSettings_Create();
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:23
///
/// OffsetCenterOfMassShapeSettings(Vec3Arg inOffset, const ShapeSettings *inShape)
///
///
///
///
/// Construct with shape settings, can be serialized.
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_Create_2")]
public static partial OffsetCenterOfMassShapeSettings OffsetCenterOfMassShapeSettings_Create_2(float3 offset, ShapeSettings shape);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:26
///
/// OffsetCenterOfMassShapeSettings(Vec3Arg inOffset, const Shape *inShape)
///
///
///
///
/// Variant that uses a concrete shape, which means this object cannot be serialized.
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_Create_3")]
public static partial OffsetCenterOfMassShapeSettings OffsetCenterOfMassShapeSettings_Create_3(float3 offset, Shape shape);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:16
///
///
///
///
///
///
/// The returned handle is borrowed from its owner; don't Dispose it.
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_GetRTTI")]
public static partial RTTI OffsetCenterOfMassShapeSettings_GetRTTI(OffsetCenterOfMassShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:16
///
///
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_CastTo")]
public static partial void* OffsetCenterOfMassShapeSettings_CastTo(OffsetCenterOfMassShapeSettings self, RTTI rTTI);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:29
///
/// 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 = "OffsetCenterOfMassShapeSettings_CreateShape")]
public static partial Shape OffsetCenterOfMassShapeSettings_CreateShape(OffsetCenterOfMassShapeSettings self);
///
///
/// Offset to be applied to the center of mass of the child shape
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:31
///
/// Vec3 mOffset
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_GetOffset")]
public static partial float3 OffsetCenterOfMassShapeSettings_GetOffset(OffsetCenterOfMassShapeSettings self);
///
///
/// Offset to be applied to the center of mass of the child shape
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:31
///
/// Vec3 mOffset
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_SetOffset")]
public static partial void OffsetCenterOfMassShapeSettings_SetOffset(OffsetCenterOfMassShapeSettings self, float3 value);
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_AddRef")]
public static partial void OffsetCenterOfMassShapeSettings_AddRef(OffsetCenterOfMassShapeSettings self);
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_Release")]
public static partial void OffsetCenterOfMassShapeSettings_Release(OffsetCenterOfMassShapeSettings self);
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_GetRefCount")]
public static partial uint OffsetCenterOfMassShapeSettings_GetRefCount(OffsetCenterOfMassShapeSettings self);
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_AsDecoratedShapeSettings")]
public static partial DecoratedShapeSettings OffsetCenterOfMassShapeSettings_AsDecoratedShapeSettings(OffsetCenterOfMassShapeSettings self);
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_AsShapeSettings")]
public static partial ShapeSettings OffsetCenterOfMassShapeSettings_AsShapeSettings(OffsetCenterOfMassShapeSettings self);
}
}
}