// // 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 { /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:26 ///
/// CharacterBaseSettings() = default ///
///
/// /// /// Constructor /// /// [LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_Create")] public static partial CharacterBaseSettings CharacterBaseSettings_Create(); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:34 ///
/// Vec3 mUp = Vec3::sAxisY() ///
///
/// /// /// Vector indicating the up direction of the character /// /// [LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_GetUp")] public static partial float3 CharacterBaseSettings_GetUp(CharacterBaseSettings self); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:34 ///
/// Vec3 mUp = Vec3::sAxisY() ///
///
/// /// /// Vector indicating the up direction of the character /// /// [LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_SetUp")] public static partial void CharacterBaseSettings_SetUp(CharacterBaseSettings self, float3 value); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:42 ///
/// float mMaxSlopeAngle = DegreesToRadians(50.0f) ///
///
/// /// /// Maximum angle of slope that character can still walk on (radians). /// /// [LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_GetMaxSlopeAngle")] public static partial float CharacterBaseSettings_GetMaxSlopeAngle(CharacterBaseSettings self); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:42 ///
/// float mMaxSlopeAngle = DegreesToRadians(50.0f) ///
///
/// /// /// Maximum angle of slope that character can still walk on (radians). /// /// [LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_SetMaxSlopeAngle")] public static partial void CharacterBaseSettings_SetMaxSlopeAngle(CharacterBaseSettings self, float value); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:45 ///
/// bool mEnhancedInternalEdgeRemoval = false ///
///
/// /// /// Set to indicate that extra effort should be made to try to remove ghost contacts (collisions with /// internal edges of a mesh). This is more expensive but makes bodies move smoother over a mesh with /// convex edges. /// /// [LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_GetEnhancedInternalEdgeRemoval")] public static partial Brutal.Bool8 CharacterBaseSettings_GetEnhancedInternalEdgeRemoval(CharacterBaseSettings self); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:45 ///
/// bool mEnhancedInternalEdgeRemoval = false ///
///
/// /// /// Set to indicate that extra effort should be made to try to remove ghost contacts (collisions with /// internal edges of a mesh). This is more expensive but makes bodies move smoother over a mesh with /// convex edges. /// /// [LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_SetEnhancedInternalEdgeRemoval")] public static partial void CharacterBaseSettings_SetEnhancedInternalEdgeRemoval(CharacterBaseSettings self, Brutal.Bool8 value); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:49 ///
/// RefConst<Shape> mShape ///
///
/// /// /// Initial shape that represents the character's volume. /// Usually this is a capsule, make sure the shape is made so that the bottom of the shape is at (0, 0, 0). /// /// [LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_GetShape")] public static partial Shape CharacterBaseSettings_GetShape(CharacterBaseSettings self); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:49 ///
/// RefConst<Shape> mShape ///
///
/// /// /// Initial shape that represents the character's volume. /// Usually this is a capsule, make sure the shape is made so that the bottom of the shape is at (0, 0, 0). /// /// [LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_SetShape")] public static partial void CharacterBaseSettings_SetShape(CharacterBaseSettings self, Shape value); [LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_AddRef")] public static partial void CharacterBaseSettings_AddRef(CharacterBaseSettings self); [LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_Release")] public static partial void CharacterBaseSettings_Release(CharacterBaseSettings self); [LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_GetRefCount")] public static partial uint CharacterBaseSettings_GetRefCount(CharacterBaseSettings self); } } }