//
// 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/Collision/Shape/ScaledShape.h:43
///
/// ScaledShape()
///
///
///
///
/// Constructor
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_Create")]
public static partial ScaledShape ScaledShape_Create();
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:47
///
/// ScaledShape(const Shape *inShape, Vec3Arg inScale)
///
///
///
///
/// Constructor that decorates another shape with a scale
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_Create_2")]
public static partial ScaledShape ScaledShape_Create_2(Shape shape, float3 scale);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:50
///
/// Vec3 GetScale() const
///
///
///
///
/// Get the scale
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetScale")]
public static partial float3 ScaledShape_GetScale(ScaledShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:53
///
/// virtual Vec3 GetCenterOfMass() const override
///
///
///
///
/// See Shape::GetCenterOfMass
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetCenterOfMass")]
public static partial float3 ScaledShape_GetCenterOfMass(ScaledShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:63
///
/// virtual float GetInnerRadius() const override
///
///
///
///
/// See Shape::GetInnerRadius
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetInnerRadius")]
public static partial float ScaledShape_GetInnerRadius(ScaledShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:72
///
/// virtual Vec3 GetSurfaceNormal(const SubShapeID &inSubShapeID, Vec3Arg inLocalSurfacePosition) const override
///
///
///
///
/// See Shape::GetSurfaceNormal
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetSurfaceNormal")]
public static partial float3 ScaledShape_GetSurfaceNormal(ScaledShape self, uint subShapeID, float3 localSurfacePosition);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:78
///
/// virtual void GetSubmergedVolume(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const Plane &inSurface, float &outTotalVolume, float &outSubmergedVolume, Vec3 &outCenterOfBuoyancy JPH_IF_DEBUG_RENDERER(, RVec3Arg inBaseOffset)) const override
///
///
///
///
/// See Shape::GetSubmergedVolume
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetSubmergedVolume")]
public static partial void ScaledShape_GetSubmergedVolume(ScaledShape self, float4x4 centerOfMassTransform, float3 scale, Plane surface, out float totalVolume, out float submergedVolume, out float3 centerOfBuoyancy, float3 baseOffset);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:82
///
/// virtual void Draw(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale, ColorArg inColor, bool inUseMaterialColors, bool inDrawWireframe) const override
///
///
///
///
/// See Shape::Draw
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_Draw")]
public static partial void ScaledShape_Draw(ScaledShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale, uint color, Brutal.Bool8 useMaterialColors, Brutal.Bool8 drawWireframe);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:85
///
/// virtual void DrawGetSupportFunction(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale, ColorArg inColor, bool inDrawSupportDirection) const override
///
///
///
///
/// See Shape::DrawGetSupportFunction
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_DrawGetSupportFunction")]
public static partial void ScaledShape_DrawGetSupportFunction(ScaledShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale, uint color, Brutal.Bool8 drawSupportDirection);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:88
///
/// virtual void DrawGetSupportingFace(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale) const override
///
///
///
///
/// See Shape::DrawGetSupportingFace
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_DrawGetSupportingFace")]
public static partial void ScaledShape_DrawGetSupportingFace(ScaledShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:99
///
/// virtual void CollideSoftBodyVertices(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const CollideSoftBodyVertexIterator &inVertices, uint inNumVertices, int inCollidingShapeIndex) const override
///
///
///
///
/// See: Shape::CollideSoftBodyVertices
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_CollideSoftBodyVertices")]
public static partial void ScaledShape_CollideSoftBodyVertices(ScaledShape self, float4x4 centerOfMassTransform, float3 scale, CollideSoftBodyVertexIterator vertices, uint numVertices, int collidingShapeIndex);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:108
///
/// virtual void GetTrianglesStart(GetTrianglesContext &ioContext, const AABox &inBox, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale) const override
///
///
///
///
/// See Shape::GetTrianglesStart
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetTrianglesStart")]
public static partial void ScaledShape_GetTrianglesStart(ScaledShape self, ref Shape.GetTrianglesContext context, AABox box, float3 positionCOM, floatQuat rotation, float3 scale);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:114
///
/// virtual void SaveBinaryState(StreamOut &inStream) const override
///
///
///
///
/// See Shape
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_SaveBinaryState")]
public static partial void ScaledShape_SaveBinaryState(ScaledShape self, StreamOut stream);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:120
///
/// virtual float GetVolume() const override
///
///
///
///
/// See Shape::GetVolume
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetVolume")]
public static partial float ScaledShape_GetVolume(ScaledShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:123
///
/// virtual bool IsValidScale(Vec3Arg inScale) const override
///
///
///
///
/// See Shape::IsValidScale
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_IsValidScale")]
public static partial Brutal.Bool8 ScaledShape_IsValidScale(ScaledShape self, float3 scale);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:126
///
/// virtual Vec3 MakeScaleValid(Vec3Arg inScale) const override
///
///
///
///
/// See Shape::MakeScaleValid
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_MakeScaleValid")]
public static partial float3 ScaledShape_MakeScaleValid(ScaledShape self, float3 scale);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ScaledShape.h:129
///
/// static void sRegister()
///
///
///
///
/// Register shape functions with the registry
///
///
[LibraryImport("jolt", EntryPoint = "ScaledShape_sRegister")]
public static partial void ScaledShape_sRegister();
[LibraryImport("jolt", EntryPoint = "ScaledShape_AddRef")]
public static partial void ScaledShape_AddRef(ScaledShape self);
[LibraryImport("jolt", EntryPoint = "ScaledShape_Release")]
public static partial void ScaledShape_Release(ScaledShape self);
[LibraryImport("jolt", EntryPoint = "ScaledShape_GetRefCount")]
public static partial uint ScaledShape_GetRefCount(ScaledShape self);
[LibraryImport("jolt", EntryPoint = "ScaledShape_AsDecoratedShape")]
public static partial DecoratedShape ScaledShape_AsDecoratedShape(ScaledShape self);
[LibraryImport("jolt", EntryPoint = "ScaledShape_AsShape")]
public static partial Shape ScaledShape_AsShape(ScaledShape self);
}
}
}