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
161
brutal.jolt/Brutal.Jolt/Generated/Classes/DecoratedShape.gen.cs
Normal file
161
brutal.jolt/Brutal.Jolt/Generated/Classes/DecoratedShape.gen.cs
Normal file
|
|
@ -0,0 +1,161 @@
|
|||
// <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#L29">Jolt/Physics/Collision/Shape/DecoratedShape.h:29</see>
|
||||
/// <br/>
|
||||
/// <c>class DecoratedShape : public Shape</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Base class for shapes that decorate another shape with extra functionality (e.g. scale, translation etc.)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct DecoratedShape : IDisposable
|
||||
{
|
||||
/// <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>
|
||||
public Shape GetInnerShape() => Jolt.PInvoke.DecoratedShape_GetInnerShape(this);
|
||||
/// <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>
|
||||
public bool MustBeStatic() => Jolt.PInvoke.DecoratedShape_MustBeStatic(this);
|
||||
/// <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>
|
||||
public float3 GetCenterOfMass() => Jolt.PInvoke.DecoratedShape_GetCenterOfMass(this);
|
||||
/// <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>
|
||||
public uint GetSubShapeIDBitsRecursive() => Jolt.PInvoke.DecoratedShape_GetSubShapeIDBitsRecursive(this);
|
||||
/// <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>
|
||||
public Shape GetLeafShape(uint subShapeID, out uint remainder) => Jolt.PInvoke.DecoratedShape_GetLeafShape(this, subShapeID, out 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>
|
||||
public PhysicsMaterial GetMaterial(uint subShapeID) => Jolt.PInvoke.DecoratedShape_GetMaterial(this, 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>
|
||||
public ulong GetSubShapeUserData(uint subShapeID) => Jolt.PInvoke.DecoratedShape_GetSubShapeUserData(this, 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>
|
||||
public bool IsValidScale(float3 scale) => Jolt.PInvoke.DecoratedShape_IsValidScale(this, 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>
|
||||
public float3 MakeScaleValid(float3 scale) => Jolt.PInvoke.DecoratedShape_MakeScaleValid(this, scale);
|
||||
public void AddRef() => Jolt.PInvoke.DecoratedShape_AddRef(this);
|
||||
public void Release() => Jolt.PInvoke.DecoratedShape_Release(this);
|
||||
public uint GetRefCount() => Jolt.PInvoke.DecoratedShape_GetRefCount(this);
|
||||
public static implicit operator Shape(DecoratedShape value) => Jolt.PInvoke.DecoratedShape_AsShape(value);
|
||||
public void Dispose()
|
||||
{
|
||||
if (IsNull()) return;
|
||||
Release();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue