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

106 lines
4.8 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
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L12">Jolt/Physics/Collision/Shape/DecoratedShape.h:12</see>
/// <br/>
/// <c>class DecoratedShapeSettings : public ShapeSettings</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Class that constructs a DecoratedShape
/// </para>
/// </remarks>
[InteropHandle]
public readonly partial struct DecoratedShapeSettings : IDisposable
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L14">Jolt/Physics/Collision/Shape/DecoratedShape.h:14</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The returned handle is borrowed from its owner; don't Dispose it.
/// </para>
/// </remarks>
public RTTI GetRTTI() => Jolt.PInvoke.DecoratedShapeSettings_GetRTTI(this);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L14">Jolt/Physics/Collision/Shape/DecoratedShape.h:14</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
public unsafe Ptr CastTo(RTTI rTTI) => Jolt.PInvoke.DecoratedShapeSettings_CastTo(this, rTTI);
/// <summary>
/// <para>
/// Sub shape (either this or mShapePtr needs to be filled up)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L24">Jolt/Physics/Collision/Shape/DecoratedShape.h:24</see>
/// <br/>
/// <c>RefConst&lt;ShapeSettings&gt; mInnerShape</c>
/// </para>
/// </summary>
public ShapeSettings GetInnerShape() => Jolt.PInvoke.DecoratedShapeSettings_GetInnerShape(this);
/// <summary>
/// <para>
/// Sub shape (either this or mShapePtr needs to be filled up)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L24">Jolt/Physics/Collision/Shape/DecoratedShape.h:24</see>
/// <br/>
/// <c>RefConst&lt;ShapeSettings&gt; mInnerShape</c>
/// </para>
/// </summary>
public void SetInnerShape(ShapeSettings value) => Jolt.PInvoke.DecoratedShapeSettings_SetInnerShape(this, value);
/// <summary>
/// <para>
/// Sub shape (either this or mShape needs to be filled up)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L25">Jolt/Physics/Collision/Shape/DecoratedShape.h:25</see>
/// <br/>
/// <c>RefConst&lt;Shape&gt; mInnerShapePtr</c>
/// </para>
/// </summary>
public Shape GetInnerShapePtr() => Jolt.PInvoke.DecoratedShapeSettings_GetInnerShapePtr(this);
/// <summary>
/// <para>
/// Sub shape (either this or mShape needs to be filled up)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L25">Jolt/Physics/Collision/Shape/DecoratedShape.h:25</see>
/// <br/>
/// <c>RefConst&lt;Shape&gt; mInnerShapePtr</c>
/// </para>
/// </summary>
public void SetInnerShapePtr(Shape value) => Jolt.PInvoke.DecoratedShapeSettings_SetInnerShapePtr(this, value);
public void AddRef() => Jolt.PInvoke.DecoratedShapeSettings_AddRef(this);
public void Release() => Jolt.PInvoke.DecoratedShapeSettings_Release(this);
public uint GetRefCount() => Jolt.PInvoke.DecoratedShapeSettings_GetRefCount(this);
public static implicit operator ShapeSettings(DecoratedShapeSettings value) => Jolt.PInvoke.DecoratedShapeSettings_AsShapeSettings(value);
public void Dispose()
{
if (IsNull()) return;
Release();
}
}
}