//
// 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/RotatedTranslatedShape.h:44
///
/// RotatedTranslatedShape()
///
///
///
///
/// Constructor
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_Create")]
public static partial RotatedTranslatedShape RotatedTranslatedShape_Create();
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:46
///
/// RotatedTranslatedShape(Vec3Arg inPosition, QuatArg inRotation, const Shape *inShape)
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_Create_2")]
public static partial RotatedTranslatedShape RotatedTranslatedShape_Create_2(float3 position, floatQuat rotation, Shape shape);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:49
///
/// Quat GetRotation() const
///
///
///
///
/// Access the rotation that is applied to the inner shape
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_GetRotation")]
public static partial floatQuat RotatedTranslatedShape_GetRotation(RotatedTranslatedShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:52
///
/// Vec3 GetPosition() const
///
///
///
///
/// Access the translation that has been applied to the inner shape
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_GetPosition")]
public static partial float3 RotatedTranslatedShape_GetPosition(RotatedTranslatedShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:55
///
/// virtual Vec3 GetCenterOfMass() const override
///
///
///
///
/// See Shape::GetCenterOfMass
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_GetCenterOfMass")]
public static partial float3 RotatedTranslatedShape_GetCenterOfMass(RotatedTranslatedShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:65
///
/// virtual float GetInnerRadius() const override
///
///
///
///
/// See Shape::GetInnerRadius
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_GetInnerRadius")]
public static partial float RotatedTranslatedShape_GetInnerRadius(RotatedTranslatedShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:74
///
/// virtual Vec3 GetSurfaceNormal(const SubShapeID &inSubShapeID, Vec3Arg inLocalSurfacePosition) const override
///
///
///
///
/// See Shape::GetSurfaceNormal
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_GetSurfaceNormal")]
public static partial float3 RotatedTranslatedShape_GetSurfaceNormal(RotatedTranslatedShape self, uint subShapeID, float3 localSurfacePosition);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:80
///
/// 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 = "RotatedTranslatedShape_GetSubmergedVolume")]
public static partial void RotatedTranslatedShape_GetSubmergedVolume(RotatedTranslatedShape self, float4x4 centerOfMassTransform, float3 scale, Plane surface, out float totalVolume, out float submergedVolume, out float3 centerOfBuoyancy, float3 baseOffset);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:84
///
/// virtual void Draw(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale, ColorArg inColor, bool inUseMaterialColors, bool inDrawWireframe) const override
///
///
///
///
/// See Shape::Draw
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_Draw")]
public static partial void RotatedTranslatedShape_Draw(RotatedTranslatedShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale, uint color, Brutal.Bool8 useMaterialColors, Brutal.Bool8 drawWireframe);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:87
///
/// virtual void DrawGetSupportFunction(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale, ColorArg inColor, bool inDrawSupportDirection) const override
///
///
///
///
/// See Shape::DrawGetSupportFunction
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_DrawGetSupportFunction")]
public static partial void RotatedTranslatedShape_DrawGetSupportFunction(RotatedTranslatedShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale, uint color, Brutal.Bool8 drawSupportDirection);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:90
///
/// virtual void DrawGetSupportingFace(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale) const override
///
///
///
///
/// See Shape::DrawGetSupportingFace
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_DrawGetSupportingFace")]
public static partial void RotatedTranslatedShape_DrawGetSupportingFace(RotatedTranslatedShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:101
///
/// virtual void CollideSoftBodyVertices(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const CollideSoftBodyVertexIterator &inVertices, uint inNumVertices, int inCollidingShapeIndex) const override
///
///
///
///
/// See: Shape::CollideSoftBodyVertices
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_CollideSoftBodyVertices")]
public static partial void RotatedTranslatedShape_CollideSoftBodyVertices(RotatedTranslatedShape self, float4x4 centerOfMassTransform, float3 scale, CollideSoftBodyVertexIterator vertices, uint numVertices, int collidingShapeIndex);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:110
///
/// virtual void GetTrianglesStart(GetTrianglesContext &ioContext, const AABox &inBox, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale) const override
///
///
///
///
/// See Shape::GetTrianglesStart
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_GetTrianglesStart")]
public static partial void RotatedTranslatedShape_GetTrianglesStart(RotatedTranslatedShape self, ref Shape.GetTrianglesContext context, AABox box, float3 positionCOM, floatQuat rotation, float3 scale);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:116
///
/// virtual void SaveBinaryState(StreamOut &inStream) const override
///
///
///
///
/// See Shape
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_SaveBinaryState")]
public static partial void RotatedTranslatedShape_SaveBinaryState(RotatedTranslatedShape self, StreamOut stream);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:122
///
/// virtual float GetVolume() const override
///
///
///
///
/// See Shape::GetVolume
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_GetVolume")]
public static partial float RotatedTranslatedShape_GetVolume(RotatedTranslatedShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:125
///
/// virtual bool IsValidScale(Vec3Arg inScale) const override
///
///
///
///
/// See Shape::IsValidScale
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_IsValidScale")]
public static partial Brutal.Bool8 RotatedTranslatedShape_IsValidScale(RotatedTranslatedShape self, float3 scale);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:128
///
/// virtual Vec3 MakeScaleValid(Vec3Arg inScale) const override
///
///
///
///
/// See Shape::MakeScaleValid
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_MakeScaleValid")]
public static partial float3 RotatedTranslatedShape_MakeScaleValid(RotatedTranslatedShape self, float3 scale);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:131
///
/// inline Vec3 TransformScale(Vec3Arg inScale) const
///
///
///
///
/// Transform the scale to the local space of the child shape
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_TransformScale")]
public static partial float3 RotatedTranslatedShape_TransformScale(RotatedTranslatedShape self, float3 scale);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h:141
///
/// static void sRegister()
///
///
///
///
/// Register shape functions with the registry
///
///
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_sRegister")]
public static partial void RotatedTranslatedShape_sRegister();
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_AddRef")]
public static partial void RotatedTranslatedShape_AddRef(RotatedTranslatedShape self);
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_Release")]
public static partial void RotatedTranslatedShape_Release(RotatedTranslatedShape self);
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_GetRefCount")]
public static partial uint RotatedTranslatedShape_GetRefCount(RotatedTranslatedShape self);
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_AsDecoratedShape")]
public static partial DecoratedShape RotatedTranslatedShape_AsDecoratedShape(RotatedTranslatedShape self);
[LibraryImport("jolt", EntryPoint = "RotatedTranslatedShape_AsShape")]
public static partial Shape RotatedTranslatedShape_AsShape(RotatedTranslatedShape self);
}
}
}