mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
158 lines
8 KiB
C#
158 lines
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
|
|
{
|
|
public static partial class Jolt
|
|
{
|
|
public static unsafe partial class PInvoke
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L40">Jolt/Physics/Collision/Shape/DecoratedShape.h:40</see>
|
|
/// <br/>
|
|
/// <c>const Shape * GetInnerShape() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Access to the decorated inner shape
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "DecoratedShape_GetInnerShape")]
|
|
public static partial Shape DecoratedShape_GetInnerShape(DecoratedShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L43">Jolt/Physics/Collision/Shape/DecoratedShape.h:43</see>
|
|
/// <br/>
|
|
/// <c>virtual bool MustBeStatic() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::MustBeStatic
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "DecoratedShape_MustBeStatic")]
|
|
public static partial Brutal.Bool8 DecoratedShape_MustBeStatic(DecoratedShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L46">Jolt/Physics/Collision/Shape/DecoratedShape.h:46</see>
|
|
/// <br/>
|
|
/// <c>virtual Vec3 GetCenterOfMass() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetCenterOfMass
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "DecoratedShape_GetCenterOfMass")]
|
|
public static partial float3 DecoratedShape_GetCenterOfMass(DecoratedShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L49">Jolt/Physics/Collision/Shape/DecoratedShape.h:49</see>
|
|
/// <br/>
|
|
/// <c>virtual uint GetSubShapeIDBitsRecursive() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetSubShapeIDBitsRecursive
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "DecoratedShape_GetSubShapeIDBitsRecursive")]
|
|
public static partial uint DecoratedShape_GetSubShapeIDBitsRecursive(DecoratedShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L52">Jolt/Physics/Collision/Shape/DecoratedShape.h:52</see>
|
|
/// <br/>
|
|
/// <c>virtual const Shape * GetLeafShape(const SubShapeID &inSubShapeID, SubShapeID &outRemainder) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetLeafShape
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "DecoratedShape_GetLeafShape")]
|
|
public static partial Shape DecoratedShape_GetLeafShape(DecoratedShape self, uint subShapeID, out uint remainder);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L55">Jolt/Physics/Collision/Shape/DecoratedShape.h:55</see>
|
|
/// <br/>
|
|
/// <c>virtual const PhysicsMaterial * GetMaterial(const SubShapeID &inSubShapeID) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetMaterial
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "DecoratedShape_GetMaterial")]
|
|
public static partial PhysicsMaterial DecoratedShape_GetMaterial(DecoratedShape self, uint subShapeID);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L61">Jolt/Physics/Collision/Shape/DecoratedShape.h:61</see>
|
|
/// <br/>
|
|
/// <c>virtual uint64 GetSubShapeUserData(const SubShapeID &inSubShapeID) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::GetSubShapeUserData
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "DecoratedShape_GetSubShapeUserData")]
|
|
public static partial ulong DecoratedShape_GetSubShapeUserData(DecoratedShape self, uint subShapeID);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L71">Jolt/Physics/Collision/Shape/DecoratedShape.h:71</see>
|
|
/// <br/>
|
|
/// <c>virtual bool IsValidScale(Vec3Arg inScale) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::IsValidScale
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "DecoratedShape_IsValidScale")]
|
|
public static partial Brutal.Bool8 DecoratedShape_IsValidScale(DecoratedShape self, float3 scale);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/DecoratedShape.h#L74">Jolt/Physics/Collision/Shape/DecoratedShape.h:74</see>
|
|
/// <br/>
|
|
/// <c>virtual Vec3 MakeScaleValid(Vec3Arg inScale) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See Shape::MakeScaleValid
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "DecoratedShape_MakeScaleValid")]
|
|
public static partial float3 DecoratedShape_MakeScaleValid(DecoratedShape self, float3 scale);
|
|
[LibraryImport("jolt", EntryPoint = "DecoratedShape_AddRef")]
|
|
public static partial void DecoratedShape_AddRef(DecoratedShape self);
|
|
[LibraryImport("jolt", EntryPoint = "DecoratedShape_Release")]
|
|
public static partial void DecoratedShape_Release(DecoratedShape self);
|
|
[LibraryImport("jolt", EntryPoint = "DecoratedShape_GetRefCount")]
|
|
public static partial uint DecoratedShape_GetRefCount(DecoratedShape self);
|
|
[LibraryImport("jolt", EntryPoint = "DecoratedShape_AsShape")]
|
|
public static partial Shape DecoratedShape_AsShape(DecoratedShape self);
|
|
}
|
|
}
|
|
}
|