mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
244 lines
13 KiB
C#
244 lines
13 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
|
|
{
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_Create")]
|
|
public static partial ConeConstraintSettings ConeConstraintSettings_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L16">Jolt/Physics/Constraints/ConeConstraint.h:16</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The returned handle is borrowed from its owner; don't Dispose it.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_GetRTTI")]
|
|
public static partial RTTI ConeConstraintSettings_GetRTTI(ConeConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L16">Jolt/Physics/Constraints/ConeConstraint.h:16</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_CastTo")]
|
|
public static partial void* ConeConstraintSettings_CastTo(ConeConstraintSettings self, RTTI rTTI);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L20">Jolt/Physics/Constraints/ConeConstraint.h:20</see>
|
|
/// <br/>
|
|
/// <c>virtual void SaveBinaryState(StreamOut &inStream) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See: ConstraintSettings::SaveBinaryState
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_SaveBinaryState")]
|
|
public static partial void ConeConstraintSettings_SaveBinaryState(ConeConstraintSettings self, StreamOut stream);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L23">Jolt/Physics/Constraints/ConeConstraint.h:23</see>
|
|
/// <br/>
|
|
/// <c>virtual TwoBodyConstraint * Create(Body &inBody1, Body &inBody2) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Create an instance of this constraint
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_Create_2")]
|
|
public static partial TwoBodyConstraint ConeConstraintSettings_Create_2(ConeConstraintSettings self, Body body1, Body body2);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L26">Jolt/Physics/Constraints/ConeConstraint.h:26</see>
|
|
/// <br/>
|
|
/// <c>EConstraintSpace mSpace = EConstraintSpace::WorldSpace</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This determines in which space the constraint is setup, all properties below should be in the
|
|
/// specified space
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_GetSpace")]
|
|
public static partial EConstraintSpace ConeConstraintSettings_GetSpace(ConeConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L26">Jolt/Physics/Constraints/ConeConstraint.h:26</see>
|
|
/// <br/>
|
|
/// <c>EConstraintSpace mSpace = EConstraintSpace::WorldSpace</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This determines in which space the constraint is setup, all properties below should be in the
|
|
/// specified space
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_SetSpace")]
|
|
public static partial void ConeConstraintSettings_SetSpace(ConeConstraintSettings self, EConstraintSpace value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L29">Jolt/Physics/Constraints/ConeConstraint.h:29</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mPoint1 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Body 1 constraint reference frame (space determined by mSpace)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_GetPoint1")]
|
|
public static partial float3 ConeConstraintSettings_GetPoint1(ConeConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L29">Jolt/Physics/Constraints/ConeConstraint.h:29</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mPoint1 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Body 1 constraint reference frame (space determined by mSpace)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_SetPoint1")]
|
|
public static partial void ConeConstraintSettings_SetPoint1(ConeConstraintSettings self, float3 value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L30">Jolt/Physics/Constraints/ConeConstraint.h:30</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mTwistAxis1 = Vec3::sAxisX()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_GetTwistAxis1")]
|
|
public static partial float3 ConeConstraintSettings_GetTwistAxis1(ConeConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L30">Jolt/Physics/Constraints/ConeConstraint.h:30</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mTwistAxis1 = Vec3::sAxisX()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_SetTwistAxis1")]
|
|
public static partial void ConeConstraintSettings_SetTwistAxis1(ConeConstraintSettings self, float3 value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L33">Jolt/Physics/Constraints/ConeConstraint.h:33</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mPoint2 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Body 2 constraint reference frame (space determined by mSpace)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_GetPoint2")]
|
|
public static partial float3 ConeConstraintSettings_GetPoint2(ConeConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L33">Jolt/Physics/Constraints/ConeConstraint.h:33</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mPoint2 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Body 2 constraint reference frame (space determined by mSpace)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_SetPoint2")]
|
|
public static partial void ConeConstraintSettings_SetPoint2(ConeConstraintSettings self, float3 value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L34">Jolt/Physics/Constraints/ConeConstraint.h:34</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mTwistAxis2 = Vec3::sAxisX()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_GetTwistAxis2")]
|
|
public static partial float3 ConeConstraintSettings_GetTwistAxis2(ConeConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L34">Jolt/Physics/Constraints/ConeConstraint.h:34</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mTwistAxis2 = Vec3::sAxisX()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_SetTwistAxis2")]
|
|
public static partial void ConeConstraintSettings_SetTwistAxis2(ConeConstraintSettings self, float3 value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L37">Jolt/Physics/Constraints/ConeConstraint.h:37</see>
|
|
/// <br/>
|
|
/// <c>float mHalfConeAngle = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Half of maximum angle between twist axis of body 1 and 2
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_GetHalfConeAngle")]
|
|
public static partial float ConeConstraintSettings_GetHalfConeAngle(ConeConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConeConstraint.h#L37">Jolt/Physics/Constraints/ConeConstraint.h:37</see>
|
|
/// <br/>
|
|
/// <c>float mHalfConeAngle = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Half of maximum angle between twist axis of body 1 and 2
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_SetHalfConeAngle")]
|
|
public static partial void ConeConstraintSettings_SetHalfConeAngle(ConeConstraintSettings self, float value);
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_AddRef")]
|
|
public static partial void ConeConstraintSettings_AddRef(ConeConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_Release")]
|
|
public static partial void ConeConstraintSettings_Release(ConeConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_GetRefCount")]
|
|
public static partial uint ConeConstraintSettings_GetRefCount(ConeConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_AsTwoBodyConstraintSettings")]
|
|
public static partial TwoBodyConstraintSettings ConeConstraintSettings_AsTwoBodyConstraintSettings(ConeConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "ConeConstraintSettings_AsConstraintSettings")]
|
|
public static partial ConstraintSettings ConeConstraintSettings_AsConstraintSettings(ConeConstraintSettings self);
|
|
}
|
|
}
|
|
}
|