mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
510 lines
30 KiB
C#
510 lines
30 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/Character/CharacterVirtual.h#L28">Jolt/Physics/Character/CharacterVirtual.h:28</see>
|
|
/// <br/>
|
|
/// <c>CharacterVirtualSettings() = default</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Constructor
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_Create")]
|
|
public static partial CharacterVirtualSettings CharacterVirtualSettings_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L36">Jolt/Physics/Character/CharacterVirtual.h:36</see>
|
|
/// <br/>
|
|
/// <c>float mMass = 70.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Character mass (kg). Used to push down objects with gravity when the character is standing on top.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetMass")]
|
|
public static partial float CharacterVirtualSettings_GetMass(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L36">Jolt/Physics/Character/CharacterVirtual.h:36</see>
|
|
/// <br/>
|
|
/// <c>float mMass = 70.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Character mass (kg). Used to push down objects with gravity when the character is standing on top.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetMass")]
|
|
public static partial void CharacterVirtualSettings_SetMass(CharacterVirtualSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L39">Jolt/Physics/Character/CharacterVirtual.h:39</see>
|
|
/// <br/>
|
|
/// <c>float mMaxStrength = 100.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Maximum force with which the character can push other bodies (N).
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetMaxStrength")]
|
|
public static partial float CharacterVirtualSettings_GetMaxStrength(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L39">Jolt/Physics/Character/CharacterVirtual.h:39</see>
|
|
/// <br/>
|
|
/// <c>float mMaxStrength = 100.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Maximum force with which the character can push other bodies (N).
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetMaxStrength")]
|
|
public static partial void CharacterVirtualSettings_SetMaxStrength(CharacterVirtualSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L42">Jolt/Physics/Character/CharacterVirtual.h:42</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mShapeOffset = Vec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// An extra offset applied to the shape in local space. This allows applying an extra offset to the
|
|
/// shape in local space.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetShapeOffset")]
|
|
public static partial float3 CharacterVirtualSettings_GetShapeOffset(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L42">Jolt/Physics/Character/CharacterVirtual.h:42</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mShapeOffset = Vec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// An extra offset applied to the shape in local space. This allows applying an extra offset to the
|
|
/// shape in local space.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetShapeOffset")]
|
|
public static partial void CharacterVirtualSettings_SetShapeOffset(CharacterVirtualSettings self, float3 value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// When colliding with back faces, the character will not be able to move through back facing
|
|
/// triangles. Use this if you have triangles that need to collide on both sides.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L45">Jolt/Physics/Character/CharacterVirtual.h:45</see>
|
|
/// <br/>
|
|
/// <c>EBackFaceMode mBackFaceMode = EBackFaceMode::CollideWithBackFaces</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// @name Movement settings
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetBackFaceMode")]
|
|
public static partial EBackFaceMode CharacterVirtualSettings_GetBackFaceMode(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// When colliding with back faces, the character will not be able to move through back facing
|
|
/// triangles. Use this if you have triangles that need to collide on both sides.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L45">Jolt/Physics/Character/CharacterVirtual.h:45</see>
|
|
/// <br/>
|
|
/// <c>EBackFaceMode mBackFaceMode = EBackFaceMode::CollideWithBackFaces</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// @name Movement settings
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetBackFaceMode")]
|
|
public static partial void CharacterVirtualSettings_SetBackFaceMode(CharacterVirtualSettings self, EBackFaceMode value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// How far to scan outside of the shape for predictive contacts. A value of 0 will most likely cause
|
|
/// the character to get stuck as it cannot properly calculate a sliding direction anymore. A value
|
|
/// that's too high will cause ghost collisions.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L46">Jolt/Physics/Character/CharacterVirtual.h:46</see>
|
|
/// <br/>
|
|
/// <c>float mPredictiveContactDistance = 0.1f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetPredictiveContactDistance")]
|
|
public static partial float CharacterVirtualSettings_GetPredictiveContactDistance(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// How far to scan outside of the shape for predictive contacts. A value of 0 will most likely cause
|
|
/// the character to get stuck as it cannot properly calculate a sliding direction anymore. A value
|
|
/// that's too high will cause ghost collisions.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L46">Jolt/Physics/Character/CharacterVirtual.h:46</see>
|
|
/// <br/>
|
|
/// <c>float mPredictiveContactDistance = 0.1f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetPredictiveContactDistance")]
|
|
public static partial void CharacterVirtualSettings_SetPredictiveContactDistance(CharacterVirtualSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Max amount of collision loops
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L47">Jolt/Physics/Character/CharacterVirtual.h:47</see>
|
|
/// <br/>
|
|
/// <c>uint mMaxCollisionIterations = 5</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetMaxCollisionIterations")]
|
|
public static partial uint CharacterVirtualSettings_GetMaxCollisionIterations(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Max amount of collision loops
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L47">Jolt/Physics/Character/CharacterVirtual.h:47</see>
|
|
/// <br/>
|
|
/// <c>uint mMaxCollisionIterations = 5</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetMaxCollisionIterations")]
|
|
public static partial void CharacterVirtualSettings_SetMaxCollisionIterations(CharacterVirtualSettings self, uint value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// How often to try stepping in the constraint solving
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L48">Jolt/Physics/Character/CharacterVirtual.h:48</see>
|
|
/// <br/>
|
|
/// <c>uint mMaxConstraintIterations = 15</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetMaxConstraintIterations")]
|
|
public static partial uint CharacterVirtualSettings_GetMaxConstraintIterations(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// How often to try stepping in the constraint solving
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L48">Jolt/Physics/Character/CharacterVirtual.h:48</see>
|
|
/// <br/>
|
|
/// <c>uint mMaxConstraintIterations = 15</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetMaxConstraintIterations")]
|
|
public static partial void CharacterVirtualSettings_SetMaxConstraintIterations(CharacterVirtualSettings self, uint value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Early out condition: If this much time is left to simulate we are done
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L49">Jolt/Physics/Character/CharacterVirtual.h:49</see>
|
|
/// <br/>
|
|
/// <c>float mMinTimeRemaining = 1.0e-4f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetMinTimeRemaining")]
|
|
public static partial float CharacterVirtualSettings_GetMinTimeRemaining(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Early out condition: If this much time is left to simulate we are done
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L49">Jolt/Physics/Character/CharacterVirtual.h:49</see>
|
|
/// <br/>
|
|
/// <c>float mMinTimeRemaining = 1.0e-4f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetMinTimeRemaining")]
|
|
public static partial void CharacterVirtualSettings_SetMinTimeRemaining(CharacterVirtualSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// How far we're willing to penetrate geometry
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L50">Jolt/Physics/Character/CharacterVirtual.h:50</see>
|
|
/// <br/>
|
|
/// <c>float mCollisionTolerance = 1.0e-3f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetCollisionTolerance")]
|
|
public static partial float CharacterVirtualSettings_GetCollisionTolerance(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// How far we're willing to penetrate geometry
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L50">Jolt/Physics/Character/CharacterVirtual.h:50</see>
|
|
/// <br/>
|
|
/// <c>float mCollisionTolerance = 1.0e-3f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetCollisionTolerance")]
|
|
public static partial void CharacterVirtualSettings_SetCollisionTolerance(CharacterVirtualSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// How far we try to stay away from the geometry, this ensures that the sweep will hit as little as
|
|
/// possible lowering the collision cost and reducing the risk of getting stuck
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L51">Jolt/Physics/Character/CharacterVirtual.h:51</see>
|
|
/// <br/>
|
|
/// <c>float mCharacterPadding = 0.02f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetCharacterPadding")]
|
|
public static partial float CharacterVirtualSettings_GetCharacterPadding(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// How far we try to stay away from the geometry, this ensures that the sweep will hit as little as
|
|
/// possible lowering the collision cost and reducing the risk of getting stuck
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L51">Jolt/Physics/Character/CharacterVirtual.h:51</see>
|
|
/// <br/>
|
|
/// <c>float mCharacterPadding = 0.02f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetCharacterPadding")]
|
|
public static partial void CharacterVirtualSettings_SetCharacterPadding(CharacterVirtualSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Max num hits to collect in order to avoid excess of contact points collection
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L52">Jolt/Physics/Character/CharacterVirtual.h:52</see>
|
|
/// <br/>
|
|
/// <c>uint mMaxNumHits = 256</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetMaxNumHits")]
|
|
public static partial uint CharacterVirtualSettings_GetMaxNumHits(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Max num hits to collect in order to avoid excess of contact points collection
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L52">Jolt/Physics/Character/CharacterVirtual.h:52</see>
|
|
/// <br/>
|
|
/// <c>uint mMaxNumHits = 256</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetMaxNumHits")]
|
|
public static partial void CharacterVirtualSettings_SetMaxNumHits(CharacterVirtualSettings self, uint value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Cos(angle) where angle is the maximum angle between two hits contact normals that are allowed to be
|
|
/// merged during hit reduction. Default is around 2.5 degrees. Set to -1 to turn off.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L53">Jolt/Physics/Character/CharacterVirtual.h:53</see>
|
|
/// <br/>
|
|
/// <c>float mHitReductionCosMaxAngle = 0.999f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetHitReductionCosMaxAngle")]
|
|
public static partial float CharacterVirtualSettings_GetHitReductionCosMaxAngle(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Cos(angle) where angle is the maximum angle between two hits contact normals that are allowed to be
|
|
/// merged during hit reduction. Default is around 2.5 degrees. Set to -1 to turn off.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L53">Jolt/Physics/Character/CharacterVirtual.h:53</see>
|
|
/// <br/>
|
|
/// <c>float mHitReductionCosMaxAngle = 0.999f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetHitReductionCosMaxAngle")]
|
|
public static partial void CharacterVirtualSettings_SetHitReductionCosMaxAngle(CharacterVirtualSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// This value governs how fast a penetration will be resolved, 0 = nothing is resolved, 1 = everything
|
|
/// in one update
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L54">Jolt/Physics/Character/CharacterVirtual.h:54</see>
|
|
/// <br/>
|
|
/// <c>float mPenetrationRecoverySpeed = 1.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetPenetrationRecoverySpeed")]
|
|
public static partial float CharacterVirtualSettings_GetPenetrationRecoverySpeed(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// This value governs how fast a penetration will be resolved, 0 = nothing is resolved, 1 = everything
|
|
/// in one update
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L54">Jolt/Physics/Character/CharacterVirtual.h:54</see>
|
|
/// <br/>
|
|
/// <c>float mPenetrationRecoverySpeed = 1.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetPenetrationRecoverySpeed")]
|
|
public static partial void CharacterVirtualSettings_SetPenetrationRecoverySpeed(CharacterVirtualSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L60">Jolt/Physics/Character/CharacterVirtual.h:60</see>
|
|
/// <br/>
|
|
/// <c>RefConst<Shape> mInnerBodyShape</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// This character can optionally have an inner rigid body. This rigid body can be used to give the character presence in the world. When set it means that:
|
|
/// - Regular collision checks (e.g. NarrowPhaseQuery::CastRay) will collide with the rigid body (they cannot collide with CharacterVirtual since it is not added to the broad phase)
|
|
/// - Regular contact callbacks will be called through the ContactListener (next to the ones that will be passed to the CharacterContactListener)
|
|
/// - Fast moving objects of motion quality LinearCast will not be able to pass through the CharacterVirtual in 1 time step
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetInnerBodyShape")]
|
|
public static partial Shape CharacterVirtualSettings_GetInnerBodyShape(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L60">Jolt/Physics/Character/CharacterVirtual.h:60</see>
|
|
/// <br/>
|
|
/// <c>RefConst<Shape> mInnerBodyShape</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// This character can optionally have an inner rigid body. This rigid body can be used to give the character presence in the world. When set it means that:
|
|
/// - Regular collision checks (e.g. NarrowPhaseQuery::CastRay) will collide with the rigid body (they cannot collide with CharacterVirtual since it is not added to the broad phase)
|
|
/// - Regular contact callbacks will be called through the ContactListener (next to the ones that will be passed to the CharacterContactListener)
|
|
/// - Fast moving objects of motion quality LinearCast will not be able to pass through the CharacterVirtual in 1 time step
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetInnerBodyShape")]
|
|
public static partial void CharacterVirtualSettings_SetInnerBodyShape(CharacterVirtualSettings self, Shape value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L64">Jolt/Physics/Character/CharacterVirtual.h:64</see>
|
|
/// <br/>
|
|
/// <c>BodyID mInnerBodyIDOverride</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// For a deterministic simulation, it is important to have a deterministic body ID. When set and when mInnerBodyShape is specified,
|
|
/// the inner body will be created with this specified ID instead of a generated ID.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetInnerBodyIDOverride")]
|
|
public static partial uint CharacterVirtualSettings_GetInnerBodyIDOverride(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L64">Jolt/Physics/Character/CharacterVirtual.h:64</see>
|
|
/// <br/>
|
|
/// <c>BodyID mInnerBodyIDOverride</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// For a deterministic simulation, it is important to have a deterministic body ID. When set and when mInnerBodyShape is specified,
|
|
/// the inner body will be created with this specified ID instead of a generated ID.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetInnerBodyIDOverride")]
|
|
public static partial void CharacterVirtualSettings_SetInnerBodyIDOverride(CharacterVirtualSettings self, uint value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L67">Jolt/Physics/Character/CharacterVirtual.h:67</see>
|
|
/// <br/>
|
|
/// <c>ObjectLayer mInnerBodyLayer = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layer that the inner rigid body will be added to
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetInnerBodyLayer")]
|
|
public static partial ushort CharacterVirtualSettings_GetInnerBodyLayer(CharacterVirtualSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L67">Jolt/Physics/Character/CharacterVirtual.h:67</see>
|
|
/// <br/>
|
|
/// <c>ObjectLayer mInnerBodyLayer = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layer that the inner rigid body will be added to
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_SetInnerBodyLayer")]
|
|
public static partial void CharacterVirtualSettings_SetInnerBodyLayer(CharacterVirtualSettings self, ushort value);
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_AddRef")]
|
|
public static partial void CharacterVirtualSettings_AddRef(CharacterVirtualSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_Release")]
|
|
public static partial void CharacterVirtualSettings_Release(CharacterVirtualSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_GetRefCount")]
|
|
public static partial uint CharacterVirtualSettings_GetRefCount(CharacterVirtualSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "CharacterVirtualSettings_AsCharacterBaseSettings")]
|
|
public static partial CharacterBaseSettings CharacterVirtualSettings_AsCharacterBaseSettings(CharacterVirtualSettings self);
|
|
}
|
|
}
|
|
}
|