mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
60
Brutal.Jolt/Generated/Classes/ShapeFunctions.gen.cs
Normal file
60
Brutal.Jolt/Generated/Classes/ShapeFunctions.gen.cs
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Function table for functions on shapes
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L167">Jolt/Physics/Collision/Shape/Shape.h:167</see>
|
||||
/// <br/>
|
||||
/// <c>class ShapeFunctions</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[InteropHandle]
|
||||
public readonly partial struct ShapeFunctions : IDisposable
|
||||
{
|
||||
public static ShapeFunctions Create() => Jolt.PInvoke.ShapeFunctions_Create();
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Get an entry in the registry for a particular sub type
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L177">Jolt/Physics/Collision/Shape/Shape.h:177</see>
|
||||
/// <br/>
|
||||
/// <c>static inline ShapeFunctions & sGet(EShapeSubType inSubType)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The returned handle is borrowed from its owner; don't Dispose it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static ShapeFunctions Get(ShapeSubType subType) => Jolt.PInvoke.ShapeFunctions_Get(subType);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Color of the shape when drawing
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L174">Jolt/Physics/Collision/Shape/Shape.h:174</see>
|
||||
/// <br/>
|
||||
/// <c>Color mColor = Color::sBlack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public uint GetColor() => Jolt.PInvoke.ShapeFunctions_GetColor(this);
|
||||
|
||||
public void Dispose() => Jolt.PInvoke.ShapeFunctions_Destroy(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue