mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,118 @@
|
|||
// <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/ConvexShape.h#L17">Jolt/Physics/Collision/Shape/ConvexShape.h:17</see>
|
||||
/// <br/>
|
||||
/// <c>class ConvexShapeSettings : public ShapeSettings</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Class that constructs a ConvexShape (abstract)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct ConvexShapeSettings : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L19">Jolt/Physics/Collision/Shape/ConvexShape.h:19</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.ConvexShapeSettings_GetRTTI(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L19">Jolt/Physics/Collision/Shape/ConvexShape.h:19</see>
|
||||
/// <br/>
|
||||
/// <c></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public unsafe Ptr CastTo(RTTI rTTI) => Jolt.PInvoke.ConvexShapeSettings_CastTo(this, rTTI);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L27">Jolt/Physics/Collision/Shape/ConvexShape.h:27</see>
|
||||
/// <br/>
|
||||
/// <c>void SetDensity(float inDensity)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Set the density of the object in kg / m^3
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public void SetDensity(float density) => Jolt.PInvoke.ConvexShapeSettings_SetDensity(this, density);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Material assigned to this shape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L30">Jolt/Physics/Collision/Shape/ConvexShape.h:30</see>
|
||||
/// <br/>
|
||||
/// <c>RefConst<PhysicsMaterial> mMaterial</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Properties
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public PhysicsMaterial GetMaterial() => Jolt.PInvoke.ConvexShapeSettings_GetMaterial(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Material assigned to this shape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L30">Jolt/Physics/Collision/Shape/ConvexShape.h:30</see>
|
||||
/// <br/>
|
||||
/// <c>RefConst<PhysicsMaterial> mMaterial</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Properties
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public void SetMaterial(PhysicsMaterial value) => Jolt.PInvoke.ConvexShapeSettings_SetMaterial(this, value);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Uniform density of the interior of the convex object (kg / m^3)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L31">Jolt/Physics/Collision/Shape/ConvexShape.h:31</see>
|
||||
/// <br/>
|
||||
/// <c>float mDensity = 1000.0f</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public float GetDensity() => Jolt.PInvoke.ConvexShapeSettings_GetDensity(this);
|
||||
public void AddRef() => Jolt.PInvoke.ConvexShapeSettings_AddRef(this);
|
||||
public void Release() => Jolt.PInvoke.ConvexShapeSettings_Release(this);
|
||||
public uint GetRefCount() => Jolt.PInvoke.ConvexShapeSettings_GetRefCount(this);
|
||||
public static implicit operator ShapeSettings(ConvexShapeSettings value) => Jolt.PInvoke.ConvexShapeSettings_AsShapeSettings(value);
|
||||
public void Dispose()
|
||||
{
|
||||
if (IsNull()) return;
|
||||
Release();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue