mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
483 lines
27 KiB
C#
483 lines
27 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
|
|
{
|
|
/// <inheritdoc cref="BodyCreationSettings.Create()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_Create")]
|
|
public static partial BodyCreationSettings BodyCreationSettings_Create();
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.Create(ShapeSettings, float3, floatQuat, MotionType, ushort)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_Create_2")]
|
|
public static partial BodyCreationSettings BodyCreationSettings_Create_2(
|
|
ShapeSettings shape,
|
|
float3 position,
|
|
floatQuat rotation,
|
|
MotionType motionType,
|
|
ushort objectLayer
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.Create(Shape, float3, floatQuat, MotionType, ushort)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_Create_3")]
|
|
public static partial BodyCreationSettings BodyCreationSettings_Create_3(
|
|
Shape shape,
|
|
float3 position,
|
|
floatQuat rotation,
|
|
MotionType motionType,
|
|
ushort objectLayer
|
|
);
|
|
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_Destroy")]
|
|
public static partial void BodyCreationSettings_Destroy(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetShapeSettings()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetShapeSettings")]
|
|
public static partial ShapeSettings BodyCreationSettings_GetShapeSettings(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetShapeSettings(ShapeSettings)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetShapeSettings")]
|
|
public static partial void BodyCreationSettings_SetShapeSettings(
|
|
BodyCreationSettings self,
|
|
ShapeSettings shape
|
|
);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Convert ShapeSettings object into a Shape object. This will free the ShapeSettings object and make
|
|
/// the object ready for runtime. Serialization is no longer possible after this.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/BodyCreationSettings.h#L49">Jolt/Physics/Body/BodyCreationSettings.h:49</see>
|
|
/// <br/>
|
|
/// <c>Shape::ShapeResult ConvertShapeSettings()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_ConvertShapeSettings")]
|
|
public static partial Shape BodyCreationSettings_ConvertShapeSettings(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetShape()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetShape")]
|
|
public static partial Shape BodyCreationSettings_GetShape(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetShape(Shape)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetShape")]
|
|
public static partial void BodyCreationSettings_SetShape(BodyCreationSettings self, Shape shape);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.HasMassProperties()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_HasMassProperties")]
|
|
public static partial Brutal.Bool8 BodyCreationSettings_HasMassProperties(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetMassProperties()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetMassProperties")]
|
|
public static partial MassProperties BodyCreationSettings_GetMassProperties(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SaveBinaryState(StreamOut)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SaveBinaryState")]
|
|
public static partial void BodyCreationSettings_SaveBinaryState(
|
|
BodyCreationSettings self,
|
|
StreamOut stream
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.RestoreBinaryState(StreamIn)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_RestoreBinaryState")]
|
|
public static partial void BodyCreationSettings_RestoreBinaryState(
|
|
BodyCreationSettings self,
|
|
StreamIn stream
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SaveWithChildren(StreamOut, ShapeToIDMap, MaterialToIDMap, GroupFilterToIDMap)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SaveWithChildren")]
|
|
public static partial void BodyCreationSettings_SaveWithChildren(
|
|
BodyCreationSettings self,
|
|
StreamOut stream,
|
|
ShapeToIDMap shapeMap,
|
|
MaterialToIDMap materialMap,
|
|
GroupFilterToIDMap groupFilterMap
|
|
);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Restore body creation settings, its shape, materials and group filter. Pass in an empty map in
|
|
/// ioShapeMap / ioMaterialMap / ioGroupFilterMap or reuse the same map while reading multiple shapes
|
|
/// from the same stream in order to restore duplicates.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/BodyCreationSettings.h#L82">Jolt/Physics/Body/BodyCreationSettings.h:82</see>
|
|
/// <br/>
|
|
/// <c>static BCSResult sRestoreWithChildren(StreamIn &inStream, IDToShapeMap &ioShapeMap, IDToMaterialMap &ioMaterialMap, IDToGroupFilterMap &ioGroupFilterMap)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_RestoreWithChildren")]
|
|
public static partial BodyCreationSettings BodyCreationSettings_RestoreWithChildren(
|
|
StreamIn stream,
|
|
IDToShapeMap shapeMap,
|
|
IDToMaterialMap materialMap,
|
|
IDToGroupFilterMap groupFilterMap
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetPosition()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetPosition")]
|
|
[SuppressGCTransition]
|
|
public static partial float3 BodyCreationSettings_GetPosition(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetPosition(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetPosition")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetPosition(BodyCreationSettings self, float3 value);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetRotation()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetRotation")]
|
|
[SuppressGCTransition]
|
|
public static partial floatQuat BodyCreationSettings_GetRotation(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetRotation(floatQuat)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetRotation")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetRotation(BodyCreationSettings self, floatQuat value);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetLinearVelocity()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetLinearVelocity")]
|
|
[SuppressGCTransition]
|
|
public static partial float3 BodyCreationSettings_GetLinearVelocity(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetLinearVelocity(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetLinearVelocity")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetLinearVelocity(BodyCreationSettings self, float3 value);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetAngularVelocity()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetAngularVelocity")]
|
|
[SuppressGCTransition]
|
|
public static partial float3 BodyCreationSettings_GetAngularVelocity(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetAngularVelocity(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetAngularVelocity")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetAngularVelocity(BodyCreationSettings self, float3 value);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetUserData()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetUserData")]
|
|
[SuppressGCTransition]
|
|
public static partial ulong BodyCreationSettings_GetUserData(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetUserData(ulong)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetUserData")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetUserData(BodyCreationSettings self, ulong value);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetObjectLayer()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetObjectLayer")]
|
|
[SuppressGCTransition]
|
|
public static partial ushort BodyCreationSettings_GetObjectLayer(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetObjectLayer(ushort)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetObjectLayer")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetObjectLayer(BodyCreationSettings self, ushort value);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetCollisionGroup()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetCollisionGroup")]
|
|
public static partial CollisionGroup BodyCreationSettings_GetCollisionGroup(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetCollisionGroup(CollisionGroup)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetCollisionGroup")]
|
|
public static partial void BodyCreationSettings_SetCollisionGroup(
|
|
BodyCreationSettings self,
|
|
CollisionGroup value
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetMotionType()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetMotionType")]
|
|
[SuppressGCTransition]
|
|
public static partial MotionType BodyCreationSettings_GetMotionType(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetMotionType(MotionType)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetMotionType")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetMotionType(BodyCreationSettings self, MotionType value);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetAllowedDOFs()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetAllowedDOFs")]
|
|
[SuppressGCTransition]
|
|
public static partial AllowedDOFs BodyCreationSettings_GetAllowedDOFs(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetAllowedDOFs(AllowedDOFs)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetAllowedDOFs")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetAllowedDOFs(
|
|
BodyCreationSettings self,
|
|
AllowedDOFs value
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetAllowDynamicOrKinematic()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetAllowDynamicOrKinematic")]
|
|
[SuppressGCTransition]
|
|
public static partial Brutal.Bool8 BodyCreationSettings_GetAllowDynamicOrKinematic(
|
|
BodyCreationSettings self
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetAllowDynamicOrKinematic(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetAllowDynamicOrKinematic")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetAllowDynamicOrKinematic(
|
|
BodyCreationSettings self,
|
|
Brutal.Bool8 value
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetIsSensor()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetIsSensor")]
|
|
[SuppressGCTransition]
|
|
public static partial Brutal.Bool8 BodyCreationSettings_GetIsSensor(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetIsSensor(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetIsSensor")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetIsSensor(BodyCreationSettings self, Brutal.Bool8 value);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetCollideKinematicVsNonDynamic()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetCollideKinematicVsNonDynamic")]
|
|
[SuppressGCTransition]
|
|
public static partial Brutal.Bool8 BodyCreationSettings_GetCollideKinematicVsNonDynamic(
|
|
BodyCreationSettings self
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetCollideKinematicVsNonDynamic(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetCollideKinematicVsNonDynamic")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetCollideKinematicVsNonDynamic(
|
|
BodyCreationSettings self,
|
|
Brutal.Bool8 value
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetUseManifoldReduction()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetUseManifoldReduction")]
|
|
[SuppressGCTransition]
|
|
public static partial Brutal.Bool8 BodyCreationSettings_GetUseManifoldReduction(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetUseManifoldReduction(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetUseManifoldReduction")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetUseManifoldReduction(
|
|
BodyCreationSettings self,
|
|
Brutal.Bool8 value
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetApplyGyroscopicForce()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetApplyGyroscopicForce")]
|
|
[SuppressGCTransition]
|
|
public static partial Brutal.Bool8 BodyCreationSettings_GetApplyGyroscopicForce(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetApplyGyroscopicForce(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetApplyGyroscopicForce")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetApplyGyroscopicForce(
|
|
BodyCreationSettings self,
|
|
Brutal.Bool8 value
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetMotionQuality()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetMotionQuality")]
|
|
[SuppressGCTransition]
|
|
public static partial MotionQuality BodyCreationSettings_GetMotionQuality(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetMotionQuality(MotionQuality)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetMotionQuality")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetMotionQuality(
|
|
BodyCreationSettings self,
|
|
MotionQuality value
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetEnhancedInternalEdgeRemoval()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetEnhancedInternalEdgeRemoval")]
|
|
[SuppressGCTransition]
|
|
public static partial Brutal.Bool8 BodyCreationSettings_GetEnhancedInternalEdgeRemoval(
|
|
BodyCreationSettings self
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetEnhancedInternalEdgeRemoval(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetEnhancedInternalEdgeRemoval")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetEnhancedInternalEdgeRemoval(
|
|
BodyCreationSettings self,
|
|
Brutal.Bool8 value
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetAllowSleeping()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetAllowSleeping")]
|
|
[SuppressGCTransition]
|
|
public static partial Brutal.Bool8 BodyCreationSettings_GetAllowSleeping(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetAllowSleeping(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetAllowSleeping")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetAllowSleeping(
|
|
BodyCreationSettings self,
|
|
Brutal.Bool8 value
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetFriction()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetFriction")]
|
|
[SuppressGCTransition]
|
|
public static partial float BodyCreationSettings_GetFriction(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetFriction(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetFriction")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetFriction(BodyCreationSettings self, float value);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetRestitution()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetRestitution")]
|
|
[SuppressGCTransition]
|
|
public static partial float BodyCreationSettings_GetRestitution(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetRestitution(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetRestitution")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetRestitution(BodyCreationSettings self, float value);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetLinearDamping()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetLinearDamping")]
|
|
[SuppressGCTransition]
|
|
public static partial float BodyCreationSettings_GetLinearDamping(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetLinearDamping(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetLinearDamping")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetLinearDamping(BodyCreationSettings self, float value);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetAngularDamping()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetAngularDamping")]
|
|
[SuppressGCTransition]
|
|
public static partial float BodyCreationSettings_GetAngularDamping(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetAngularDamping(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetAngularDamping")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetAngularDamping(BodyCreationSettings self, float value);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetMaxLinearVelocity()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetMaxLinearVelocity")]
|
|
[SuppressGCTransition]
|
|
public static partial float BodyCreationSettings_GetMaxLinearVelocity(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetMaxLinearVelocity(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetMaxLinearVelocity")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetMaxLinearVelocity(
|
|
BodyCreationSettings self,
|
|
float value
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetMaxAngularVelocity()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetMaxAngularVelocity")]
|
|
[SuppressGCTransition]
|
|
public static partial float BodyCreationSettings_GetMaxAngularVelocity(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetMaxAngularVelocity(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetMaxAngularVelocity")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetMaxAngularVelocity(
|
|
BodyCreationSettings self,
|
|
float value
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetGravityFactor()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetGravityFactor")]
|
|
[SuppressGCTransition]
|
|
public static partial float BodyCreationSettings_GetGravityFactor(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetGravityFactor(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetGravityFactor")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetGravityFactor(BodyCreationSettings self, float value);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetNumVelocityStepsOverride()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetNumVelocityStepsOverride")]
|
|
[SuppressGCTransition]
|
|
public static partial uint BodyCreationSettings_GetNumVelocityStepsOverride(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetNumVelocityStepsOverride(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetNumVelocityStepsOverride")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetNumVelocityStepsOverride(
|
|
BodyCreationSettings self,
|
|
uint value
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetNumPositionStepsOverride()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetNumPositionStepsOverride")]
|
|
[SuppressGCTransition]
|
|
public static partial uint BodyCreationSettings_GetNumPositionStepsOverride(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetNumPositionStepsOverride(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetNumPositionStepsOverride")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetNumPositionStepsOverride(
|
|
BodyCreationSettings self,
|
|
uint value
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetOverrideMassProperties()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetOverrideMassProperties")]
|
|
[SuppressGCTransition]
|
|
public static partial OverrideMassProperties BodyCreationSettings_GetOverrideMassProperties(
|
|
BodyCreationSettings self
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetOverrideMassProperties(OverrideMassProperties)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetOverrideMassProperties")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetOverrideMassProperties(
|
|
BodyCreationSettings self,
|
|
OverrideMassProperties value
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetInertiaMultiplier()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetInertiaMultiplier")]
|
|
[SuppressGCTransition]
|
|
public static partial float BodyCreationSettings_GetInertiaMultiplier(BodyCreationSettings self);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetInertiaMultiplier(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetInertiaMultiplier")]
|
|
[SuppressGCTransition]
|
|
public static partial void BodyCreationSettings_SetInertiaMultiplier(
|
|
BodyCreationSettings self,
|
|
float value
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.GetMassPropertiesOverride()"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_GetMassPropertiesOverride")]
|
|
public static partial MassProperties BodyCreationSettings_GetMassPropertiesOverride(
|
|
BodyCreationSettings self
|
|
);
|
|
|
|
/// <inheritdoc cref="BodyCreationSettings.SetMassPropertiesOverride(MassProperties)"/>
|
|
[LibraryImport("jolt", EntryPoint = "BodyCreationSettings_SetMassPropertiesOverride")]
|
|
public static partial void BodyCreationSettings_SetMassPropertiesOverride(
|
|
BodyCreationSettings self,
|
|
MassProperties value
|
|
);
|
|
}
|
|
}
|
|
}
|