Skip to content

Instantly share code, notes, and snippets.

@PhoenixIllusion
Created January 23, 2026 00:19
Show Gist options
  • Select an option

  • Save PhoenixIllusion/957f15aed72e712dd29402b037db8a03 to your computer and use it in GitHub Desktop.

Select an option

Save PhoenixIllusion/957f15aed72e712dd29402b037db8a03 to your computer and use it in GitHub Desktop.
AssemblyScript jolt-physics library interface
This file has been truncated, but you can view the full file.
export const enum EBodyType {
EBodyType_RigidBody = 0,
EBodyType_SoftBody = 1
}
export const enum EMotionType {
EMotionType_Static = 0,
EMotionType_Kinematic = 1,
EMotionType_Dynamic = 2
}
export const enum EMotionQuality {
EMotionQuality_Discrete = 0,
EMotionQuality_LinearCast = 1
}
export const enum EActivation {
EActivation_Activate = 0,
EActivation_DontActivate = 1
}
export const enum EShapeType {
EShapeType_Convex = 0,
EShapeType_Compound = 1,
EShapeType_Decorated = 2,
EShapeType_Mesh = 3,
EShapeType_HeightField = 4,
EShapeType_Plane = 10,
EShapeType_Empty = 11
}
export const enum EShapeSubType {
EShapeSubType_Sphere = 0,
EShapeSubType_Box = 1,
EShapeSubType_Capsule = 3,
EShapeSubType_TaperedCapsule = 4,
EShapeSubType_Cylinder = 5,
EShapeSubType_TaperedCylinder = 32,
EShapeSubType_ConvexHull = 6,
EShapeSubType_StaticCompound = 7,
EShapeSubType_MutableCompound = 8,
EShapeSubType_RotatedTranslated = 9,
EShapeSubType_Scaled = 10,
EShapeSubType_OffsetCenterOfMass = 11,
EShapeSubType_Mesh = 12,
EShapeSubType_HeightField = 13,
EShapeSubType_Plane = 31,
EShapeSubType_Empty = 33
}
export const enum EConstraintSpace {
EConstraintSpace_LocalToBodyCOM = 0,
EConstraintSpace_WorldSpace = 1
}
export const enum ESpringMode {
ESpringMode_FrequencyAndDamping = 0,
ESpringMode_StiffnessAndDamping = 1
}
export const enum EOverrideMassProperties {
EOverrideMassProperties_CalculateMassAndInertia = 0,
EOverrideMassProperties_CalculateInertia = 1,
EOverrideMassProperties_MassAndInertiaProvided = 2
}
export const enum EAllowedDOFs {
EAllowedDOFs_TranslationX = 1,
EAllowedDOFs_TranslationY = 2,
EAllowedDOFs_TranslationZ = 4,
EAllowedDOFs_RotationX = 8,
EAllowedDOFs_RotationY = 16,
EAllowedDOFs_RotationZ = 32,
EAllowedDOFs_Plane2D = 35,
EAllowedDOFs_All = 63
}
export const enum EStateRecorderState {
EStateRecorderState_None = 0,
EStateRecorderState_Global = 1,
EStateRecorderState_Bodies = 2,
EStateRecorderState_Contacts = 4,
EStateRecorderState_Constraints = 8,
EStateRecorderState_All = 15
}
export const enum EBackFaceMode {
EBackFaceMode_IgnoreBackFaces = 0,
EBackFaceMode_CollideWithBackFaces = 1
}
export const enum EGroundState {
EGroundState_OnGround = 0,
EGroundState_OnSteepGround = 1,
EGroundState_NotSupported = 2,
EGroundState_InAir = 3
}
export const enum ValidateResult {
ValidateResult_AcceptAllContactsForThisBodyPair = 0,
ValidateResult_AcceptContact = 1,
ValidateResult_RejectContact = 2,
ValidateResult_RejectAllContactsForThisBodyPair = 3
}
export const enum SoftBodyValidateResult {
SoftBodyValidateResult_AcceptContact = 0,
SoftBodyValidateResult_RejectContact = 1
}
export const enum EActiveEdgeMode {
EActiveEdgeMode_CollideOnlyWithActive = 0,
EActiveEdgeMode_CollideWithAll = 1
}
export const enum ECollectFacesMode {
ECollectFacesMode_CollectFaces = 0,
ECollectFacesMode_NoFaces = 1
}
export const enum SixDOFConstraintSettings_EAxis {
SixDOFConstraintSettings_EAxis_TranslationX = 0,
SixDOFConstraintSettings_EAxis_TranslationY = 1,
SixDOFConstraintSettings_EAxis_TranslationZ = 2,
SixDOFConstraintSettings_EAxis_RotationX = 3,
SixDOFConstraintSettings_EAxis_RotationY = 4,
SixDOFConstraintSettings_EAxis_RotationZ = 5
}
export const enum EConstraintType {
EConstraintType_Constraint = 0,
EConstraintType_TwoBodyConstraint = 1
}
export const enum EConstraintSubType {
EConstraintSubType_Fixed = 0,
EConstraintSubType_Point = 1,
EConstraintSubType_Hinge = 2,
EConstraintSubType_Slider = 3,
EConstraintSubType_Distance = 4,
EConstraintSubType_Cone = 5,
EConstraintSubType_SwingTwist = 6,
EConstraintSubType_SixDOF = 7,
EConstraintSubType_Path = 8,
EConstraintSubType_Vehicle = 9,
EConstraintSubType_RackAndPinion = 10,
EConstraintSubType_Gear = 11,
EConstraintSubType_Pulley = 12
}
export const enum EMotorState {
EMotorState_Off = 0,
EMotorState_Velocity = 1,
EMotorState_Position = 2
}
export const enum ETransmissionMode {
ETransmissionMode_Auto = 0,
ETransmissionMode_Manual = 1
}
export const enum ETireFrictionDirection {
ETireFrictionDirection_Longitudinal = 0,
ETireFrictionDirection_Lateral = 1
}
export const enum ESwingType {
ESwingType_Cone = 0,
ESwingType_Pyramid = 1
}
export const enum EPathRotationConstraintType {
EPathRotationConstraintType_Free = 0,
EPathRotationConstraintType_ConstrainAroundTangent = 1,
EPathRotationConstraintType_ConstrainAroundNormal = 2,
EPathRotationConstraintType_ConstrainAroundBinormal = 3,
EPathRotationConstraintType_ConstrainToPath = 4,
EPathRotationConstraintType_FullyConstrained = 5
}
export const enum SoftBodySharedSettings_EBendType {
SoftBodySharedSettings_EBendType_None = 0,
SoftBodySharedSettings_EBendType_Distance = 1,
SoftBodySharedSettings_EBendType_Dihedral = 2
}
export const enum SoftBodySharedSettings_ELRAType {
SoftBodySharedSettings_ELRAType_None = 0,
SoftBodySharedSettings_ELRAType_EuclideanDistance = 1,
SoftBodySharedSettings_ELRAType_GeodesicDistance = 2
}
export const enum MeshShapeSettings_EBuildQuality {
MeshShapeSettings_EBuildQuality_FavorRuntimePerformance = 0,
MeshShapeSettings_EBuildQuality_FavorBuildSpeed = 1
}
@external("Jolt", "_emscripten_bind_JPHString_JPHString_2")
declare function _emscripten_bind_JPHString_JPHString_2(str: usize, length: usize): usize;
@external("Jolt", "_emscripten_bind_JPHString___destroy___0")
declare function _emscripten_bind_JPHString___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_JPHString_c_str_0")
declare function _emscripten_bind_JPHString_c_str_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_JPHString_size_0")
declare function _emscripten_bind_JPHString_size_0(self: usize): usize;
@final
@unmanaged
export class JPHString {
static new(str: DOMString, length: i32): JPHString {
return changetype<JPHString>(_emscripten_bind_JPHString_JPHString_2(changetype<usize>(str), length));
}
__destroy__(): void {
_emscripten_bind_JPHString___destroy___0(changetype<usize>(this));
}
c_str(): DOMString {
return changetype<DOMString>(_emscripten_bind_JPHString_c_str_0(changetype<usize>(this)));
}
size(): i32 {
return _emscripten_bind_JPHString_size_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_ArrayVec3_ArrayVec3_0")
declare function _emscripten_bind_ArrayVec3_ArrayVec3_0(): usize;
@external("Jolt", "_emscripten_bind_ArrayVec3___destroy___0")
declare function _emscripten_bind_ArrayVec3___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ArrayVec3_empty_0")
declare function _emscripten_bind_ArrayVec3_empty_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ArrayVec3_size_0")
declare function _emscripten_bind_ArrayVec3_size_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ArrayVec3_at_1")
declare function _emscripten_bind_ArrayVec3_at_1(self: usize, inIndex: usize): usize;
@external("Jolt", "_emscripten_bind_ArrayVec3_push_back_1")
declare function _emscripten_bind_ArrayVec3_push_back_1(self: usize, inValue: usize): void;
@external("Jolt", "_emscripten_bind_ArrayVec3_reserve_1")
declare function _emscripten_bind_ArrayVec3_reserve_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_ArrayVec3_resize_1")
declare function _emscripten_bind_ArrayVec3_resize_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_ArrayVec3_clear_0")
declare function _emscripten_bind_ArrayVec3_clear_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ArrayVec3_data_0")
declare function _emscripten_bind_ArrayVec3_data_0(self: usize): usize;
@final
@unmanaged
export class ArrayVec3 {
static new(): ArrayVec3 {
return changetype<ArrayVec3>(_emscripten_bind_ArrayVec3_ArrayVec3_0());
}
__destroy__(): void {
_emscripten_bind_ArrayVec3___destroy___0(changetype<usize>(this));
}
empty(): bool {
return _emscripten_bind_ArrayVec3_empty_0(changetype<usize>(this));
}
size(): i32 {
return _emscripten_bind_ArrayVec3_size_0(changetype<usize>(this));
}
at(inIndex: i32): Vec3 {
return changetype<Vec3>(_emscripten_bind_ArrayVec3_at_1(changetype<usize>(this), inIndex));
}
push_back(inValue: Vec3): void {
_emscripten_bind_ArrayVec3_push_back_1(changetype<usize>(this), changetype<usize>(inValue));
}
reserve(inSize: i32): void {
_emscripten_bind_ArrayVec3_reserve_1(changetype<usize>(this), inSize);
}
resize(inSize: i32): void {
_emscripten_bind_ArrayVec3_resize_1(changetype<usize>(this), inSize);
}
clear(): void {
_emscripten_bind_ArrayVec3_clear_0(changetype<usize>(this));
}
data(): Vec3MemRef {
return changetype<Vec3MemRef>(_emscripten_bind_ArrayVec3_data_0(changetype<usize>(this)));
}
}
@external("Jolt", "_emscripten_bind_ArrayQuat_ArrayQuat_0")
declare function _emscripten_bind_ArrayQuat_ArrayQuat_0(): usize;
@external("Jolt", "_emscripten_bind_ArrayQuat___destroy___0")
declare function _emscripten_bind_ArrayQuat___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ArrayQuat_empty_0")
declare function _emscripten_bind_ArrayQuat_empty_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ArrayQuat_size_0")
declare function _emscripten_bind_ArrayQuat_size_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ArrayQuat_at_1")
declare function _emscripten_bind_ArrayQuat_at_1(self: usize, inIndex: usize): usize;
@external("Jolt", "_emscripten_bind_ArrayQuat_push_back_1")
declare function _emscripten_bind_ArrayQuat_push_back_1(self: usize, inValue: usize): void;
@external("Jolt", "_emscripten_bind_ArrayQuat_reserve_1")
declare function _emscripten_bind_ArrayQuat_reserve_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_ArrayQuat_resize_1")
declare function _emscripten_bind_ArrayQuat_resize_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_ArrayQuat_clear_0")
declare function _emscripten_bind_ArrayQuat_clear_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ArrayQuat_data_0")
declare function _emscripten_bind_ArrayQuat_data_0(self: usize): usize;
@final
@unmanaged
export class ArrayQuat {
static new(): ArrayQuat {
return changetype<ArrayQuat>(_emscripten_bind_ArrayQuat_ArrayQuat_0());
}
__destroy__(): void {
_emscripten_bind_ArrayQuat___destroy___0(changetype<usize>(this));
}
empty(): bool {
return _emscripten_bind_ArrayQuat_empty_0(changetype<usize>(this));
}
size(): i32 {
return _emscripten_bind_ArrayQuat_size_0(changetype<usize>(this));
}
at(inIndex: i32): Quat {
return changetype<Quat>(_emscripten_bind_ArrayQuat_at_1(changetype<usize>(this), inIndex));
}
push_back(inValue: Quat): void {
_emscripten_bind_ArrayQuat_push_back_1(changetype<usize>(this), changetype<usize>(inValue));
}
reserve(inSize: i32): void {
_emscripten_bind_ArrayQuat_reserve_1(changetype<usize>(this), inSize);
}
resize(inSize: i32): void {
_emscripten_bind_ArrayQuat_resize_1(changetype<usize>(this), inSize);
}
clear(): void {
_emscripten_bind_ArrayQuat_clear_0(changetype<usize>(this));
}
data(): QuatMemRef {
return changetype<QuatMemRef>(_emscripten_bind_ArrayQuat_data_0(changetype<usize>(this)));
}
}
@external("Jolt", "_emscripten_bind_ArrayMat44_ArrayMat44_0")
declare function _emscripten_bind_ArrayMat44_ArrayMat44_0(): usize;
@external("Jolt", "_emscripten_bind_ArrayMat44___destroy___0")
declare function _emscripten_bind_ArrayMat44___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ArrayMat44_empty_0")
declare function _emscripten_bind_ArrayMat44_empty_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ArrayMat44_size_0")
declare function _emscripten_bind_ArrayMat44_size_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ArrayMat44_at_1")
declare function _emscripten_bind_ArrayMat44_at_1(self: usize, inIndex: usize): usize;
@external("Jolt", "_emscripten_bind_ArrayMat44_push_back_1")
declare function _emscripten_bind_ArrayMat44_push_back_1(self: usize, inValue: usize): void;
@external("Jolt", "_emscripten_bind_ArrayMat44_reserve_1")
declare function _emscripten_bind_ArrayMat44_reserve_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_ArrayMat44_resize_1")
declare function _emscripten_bind_ArrayMat44_resize_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_ArrayMat44_clear_0")
declare function _emscripten_bind_ArrayMat44_clear_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ArrayMat44_data_0")
declare function _emscripten_bind_ArrayMat44_data_0(self: usize): usize;
@final
@unmanaged
export class ArrayMat44 {
static new(): ArrayMat44 {
return changetype<ArrayMat44>(_emscripten_bind_ArrayMat44_ArrayMat44_0());
}
__destroy__(): void {
_emscripten_bind_ArrayMat44___destroy___0(changetype<usize>(this));
}
empty(): bool {
return _emscripten_bind_ArrayMat44_empty_0(changetype<usize>(this));
}
size(): i32 {
return _emscripten_bind_ArrayMat44_size_0(changetype<usize>(this));
}
at(inIndex: i32): Mat44 {
return changetype<Mat44>(_emscripten_bind_ArrayMat44_at_1(changetype<usize>(this), inIndex));
}
push_back(inValue: Mat44): void {
_emscripten_bind_ArrayMat44_push_back_1(changetype<usize>(this), changetype<usize>(inValue));
}
reserve(inSize: i32): void {
_emscripten_bind_ArrayMat44_reserve_1(changetype<usize>(this), inSize);
}
resize(inSize: i32): void {
_emscripten_bind_ArrayMat44_resize_1(changetype<usize>(this), inSize);
}
clear(): void {
_emscripten_bind_ArrayMat44_clear_0(changetype<usize>(this));
}
data(): Mat44MemRef {
return changetype<Mat44MemRef>(_emscripten_bind_ArrayMat44_data_0(changetype<usize>(this)));
}
}
@external("Jolt", "_emscripten_bind_ArrayBodyID_ArrayBodyID_0")
declare function _emscripten_bind_ArrayBodyID_ArrayBodyID_0(): usize;
@external("Jolt", "_emscripten_bind_ArrayBodyID___destroy___0")
declare function _emscripten_bind_ArrayBodyID___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ArrayBodyID_empty_0")
declare function _emscripten_bind_ArrayBodyID_empty_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ArrayBodyID_size_0")
declare function _emscripten_bind_ArrayBodyID_size_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ArrayBodyID_at_1")
declare function _emscripten_bind_ArrayBodyID_at_1(self: usize, inIndex: usize): usize;
@external("Jolt", "_emscripten_bind_ArrayBodyID_push_back_1")
declare function _emscripten_bind_ArrayBodyID_push_back_1(self: usize, inValue: usize): void;
@external("Jolt", "_emscripten_bind_ArrayBodyID_reserve_1")
declare function _emscripten_bind_ArrayBodyID_reserve_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_ArrayBodyID_resize_1")
declare function _emscripten_bind_ArrayBodyID_resize_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_ArrayBodyID_clear_0")
declare function _emscripten_bind_ArrayBodyID_clear_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ArrayBodyID_data_0")
declare function _emscripten_bind_ArrayBodyID_data_0(self: usize): usize;
@final
@unmanaged
export class ArrayBodyID {
static new(): ArrayBodyID {
return changetype<ArrayBodyID>(_emscripten_bind_ArrayBodyID_ArrayBodyID_0());
}
__destroy__(): void {
_emscripten_bind_ArrayBodyID___destroy___0(changetype<usize>(this));
}
empty(): bool {
return _emscripten_bind_ArrayBodyID_empty_0(changetype<usize>(this));
}
size(): i32 {
return _emscripten_bind_ArrayBodyID_size_0(changetype<usize>(this));
}
at(inIndex: i32): BodyID {
return changetype<BodyID>(_emscripten_bind_ArrayBodyID_at_1(changetype<usize>(this), inIndex));
}
push_back(inValue: BodyID): void {
_emscripten_bind_ArrayBodyID_push_back_1(changetype<usize>(this), changetype<usize>(inValue));
}
reserve(inSize: i32): void {
_emscripten_bind_ArrayBodyID_reserve_1(changetype<usize>(this), inSize);
}
resize(inSize: i32): void {
_emscripten_bind_ArrayBodyID_resize_1(changetype<usize>(this), inSize);
}
clear(): void {
_emscripten_bind_ArrayBodyID_clear_0(changetype<usize>(this));
}
data(): BodyIDMemRef {
return changetype<BodyIDMemRef>(_emscripten_bind_ArrayBodyID_data_0(changetype<usize>(this)));
}
}
@external("Jolt", "_emscripten_bind_ArrayBodyPtr_ArrayBodyPtr_0")
declare function _emscripten_bind_ArrayBodyPtr_ArrayBodyPtr_0(): usize;
@external("Jolt", "_emscripten_bind_ArrayBodyPtr___destroy___0")
declare function _emscripten_bind_ArrayBodyPtr___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ArrayBodyPtr_empty_0")
declare function _emscripten_bind_ArrayBodyPtr_empty_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ArrayBodyPtr_size_0")
declare function _emscripten_bind_ArrayBodyPtr_size_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ArrayBodyPtr_at_1")
declare function _emscripten_bind_ArrayBodyPtr_at_1(self: usize, inIndex: usize): usize;
@external("Jolt", "_emscripten_bind_ArrayBodyPtr_push_back_1")
declare function _emscripten_bind_ArrayBodyPtr_push_back_1(self: usize, inValue: usize): void;
@external("Jolt", "_emscripten_bind_ArrayBodyPtr_reserve_1")
declare function _emscripten_bind_ArrayBodyPtr_reserve_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_ArrayBodyPtr_resize_1")
declare function _emscripten_bind_ArrayBodyPtr_resize_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_ArrayBodyPtr_clear_0")
declare function _emscripten_bind_ArrayBodyPtr_clear_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ArrayBodyPtr_data_0")
declare function _emscripten_bind_ArrayBodyPtr_data_0(self: usize): usize;
@final
@unmanaged
export class ArrayBodyPtr {
static new(): ArrayBodyPtr {
return changetype<ArrayBodyPtr>(_emscripten_bind_ArrayBodyPtr_ArrayBodyPtr_0());
}
__destroy__(): void {
_emscripten_bind_ArrayBodyPtr___destroy___0(changetype<usize>(this));
}
empty(): bool {
return _emscripten_bind_ArrayBodyPtr_empty_0(changetype<usize>(this));
}
size(): i32 {
return _emscripten_bind_ArrayBodyPtr_size_0(changetype<usize>(this));
}
at(inIndex: i32): Body {
return changetype<Body>(_emscripten_bind_ArrayBodyPtr_at_1(changetype<usize>(this), inIndex));
}
push_back(inValue: Body): void {
_emscripten_bind_ArrayBodyPtr_push_back_1(changetype<usize>(this), changetype<usize>(inValue));
}
reserve(inSize: i32): void {
_emscripten_bind_ArrayBodyPtr_reserve_1(changetype<usize>(this), inSize);
}
resize(inSize: i32): void {
_emscripten_bind_ArrayBodyPtr_resize_1(changetype<usize>(this), inSize);
}
clear(): void {
_emscripten_bind_ArrayBodyPtr_clear_0(changetype<usize>(this));
}
data(): BodyPtrMemRef {
return changetype<BodyPtrMemRef>(_emscripten_bind_ArrayBodyPtr_data_0(changetype<usize>(this)));
}
}
@external("Jolt", "_emscripten_bind_Vec3MemRef___destroy___0")
declare function _emscripten_bind_Vec3MemRef___destroy___0(self: usize): void;
@final
@unmanaged
export class Vec3MemRef {
__destroy__(): void {
_emscripten_bind_Vec3MemRef___destroy___0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_QuatMemRef___destroy___0")
declare function _emscripten_bind_QuatMemRef___destroy___0(self: usize): void;
@final
@unmanaged
export class QuatMemRef {
__destroy__(): void {
_emscripten_bind_QuatMemRef___destroy___0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_Mat44MemRef___destroy___0")
declare function _emscripten_bind_Mat44MemRef___destroy___0(self: usize): void;
@final
@unmanaged
export class Mat44MemRef {
__destroy__(): void {
_emscripten_bind_Mat44MemRef___destroy___0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_BodyIDMemRef___destroy___0")
declare function _emscripten_bind_BodyIDMemRef___destroy___0(self: usize): void;
@final
@unmanaged
export class BodyIDMemRef {
__destroy__(): void {
_emscripten_bind_BodyIDMemRef___destroy___0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_BodyPtrMemRef___destroy___0")
declare function _emscripten_bind_BodyPtrMemRef___destroy___0(self: usize): void;
@final
@unmanaged
export class BodyPtrMemRef {
__destroy__(): void {
_emscripten_bind_BodyPtrMemRef___destroy___0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_FloatMemRef___destroy___0")
declare function _emscripten_bind_FloatMemRef___destroy___0(self: usize): void;
@final
@unmanaged
export class FloatMemRef {
__destroy__(): void {
_emscripten_bind_FloatMemRef___destroy___0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_Uint8MemRef___destroy___0")
declare function _emscripten_bind_Uint8MemRef___destroy___0(self: usize): void;
@final
@unmanaged
export class Uint8MemRef {
__destroy__(): void {
_emscripten_bind_Uint8MemRef___destroy___0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_UintMemRef___destroy___0")
declare function _emscripten_bind_UintMemRef___destroy___0(self: usize): void;
@final
@unmanaged
export class UintMemRef {
__destroy__(): void {
_emscripten_bind_UintMemRef___destroy___0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_Vec3_Vec3_0")
declare function _emscripten_bind_Vec3_Vec3_0(): usize;
@external("Jolt", "_emscripten_bind_Vec3_Vec3_1")
declare function _emscripten_bind_Vec3_Vec3_1(inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_Vec3_3")
declare function _emscripten_bind_Vec3_Vec3_3(inX: f32, inY: f32, inZ: f32): usize;
@external("Jolt", "_emscripten_bind_Vec3___destroy___0")
declare function _emscripten_bind_Vec3___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_Vec3_sZero_0")
declare function _emscripten_bind_Vec3_sZero_0(): usize;
@external("Jolt", "_emscripten_bind_Vec3_sOne_0")
declare function _emscripten_bind_Vec3_sOne_0(): usize;
@external("Jolt", "_emscripten_bind_Vec3_sAxisX_0")
declare function _emscripten_bind_Vec3_sAxisX_0(): usize;
@external("Jolt", "_emscripten_bind_Vec3_sAxisY_0")
declare function _emscripten_bind_Vec3_sAxisY_0(): usize;
@external("Jolt", "_emscripten_bind_Vec3_sAxisZ_0")
declare function _emscripten_bind_Vec3_sAxisZ_0(): usize;
@external("Jolt", "_emscripten_bind_Vec3_sReplicate_1")
declare function _emscripten_bind_Vec3_sReplicate_1(inValue: f32): usize;
@external("Jolt", "_emscripten_bind_Vec3_sMin_2")
declare function _emscripten_bind_Vec3_sMin_2(inLHS: usize, inRHS: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_sMax_2")
declare function _emscripten_bind_Vec3_sMax_2(inLHS: usize, inRHS: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_sClamp_3")
declare function _emscripten_bind_Vec3_sClamp_3(inValue: usize, inMin: usize, inMax: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_sFusedMultiplyAdd_3")
declare function _emscripten_bind_Vec3_sFusedMultiplyAdd_3(inMul1: usize, inMul2: usize, inAdd: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_sOr_2")
declare function _emscripten_bind_Vec3_sOr_2(inV1: usize, inV2: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_sXor_2")
declare function _emscripten_bind_Vec3_sXor_2(inV1: usize, inV2: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_sAnd_2")
declare function _emscripten_bind_Vec3_sAnd_2(inV1: usize, inV2: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_sUnitSpherical_2")
declare function _emscripten_bind_Vec3_sUnitSpherical_2(inTheta: f32, inPhi: f32): usize;
@external("Jolt", "_emscripten_bind_Vec3_GetComponent_1")
declare function _emscripten_bind_Vec3_GetComponent_1(self: usize, inCoordinate: usize): f32;
@external("Jolt", "_emscripten_bind_Vec3_Equals_1")
declare function _emscripten_bind_Vec3_Equals_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_NotEquals_1")
declare function _emscripten_bind_Vec3_NotEquals_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_LengthSq_0")
declare function _emscripten_bind_Vec3_LengthSq_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Vec3_Length_0")
declare function _emscripten_bind_Vec3_Length_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Vec3_Normalized_0")
declare function _emscripten_bind_Vec3_Normalized_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_NormalizedOr_1")
declare function _emscripten_bind_Vec3_NormalizedOr_1(self: usize, inZeroValue: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_GetNormalizedPerpendicular_0")
declare function _emscripten_bind_Vec3_GetNormalizedPerpendicular_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_GetX_0")
declare function _emscripten_bind_Vec3_GetX_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Vec3_GetY_0")
declare function _emscripten_bind_Vec3_GetY_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Vec3_GetZ_0")
declare function _emscripten_bind_Vec3_GetZ_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Vec3_SetX_1")
declare function _emscripten_bind_Vec3_SetX_1(self: usize, inX: f32): void;
@external("Jolt", "_emscripten_bind_Vec3_SetY_1")
declare function _emscripten_bind_Vec3_SetY_1(self: usize, inY: f32): void;
@external("Jolt", "_emscripten_bind_Vec3_SetZ_1")
declare function _emscripten_bind_Vec3_SetZ_1(self: usize, inZ: f32): void;
@external("Jolt", "_emscripten_bind_Vec3_Set_3")
declare function _emscripten_bind_Vec3_Set_3(self: usize, inX: f32, inY: f32, inZ: f32): void;
@external("Jolt", "_emscripten_bind_Vec3_SetComponent_2")
declare function _emscripten_bind_Vec3_SetComponent_2(self: usize, inCoordinate: usize, inValue: f32): void;
@external("Jolt", "_emscripten_bind_Vec3_IsNearZero_1")
declare function _emscripten_bind_Vec3_IsNearZero_1(self: usize, inMaxDistSq: f32): usize;
@external("Jolt", "_emscripten_bind_Vec3_IsNearZero_0")
declare function _emscripten_bind_Vec3_IsNearZero_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_IsClose_2")
declare function _emscripten_bind_Vec3_IsClose_2(self: usize, inV: usize, inMaxDistSq: f32): usize;
@external("Jolt", "_emscripten_bind_Vec3_IsClose_1")
declare function _emscripten_bind_Vec3_IsClose_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_IsNormalized_1")
declare function _emscripten_bind_Vec3_IsNormalized_1(self: usize, inTolerance: f32): usize;
@external("Jolt", "_emscripten_bind_Vec3_IsNormalized_0")
declare function _emscripten_bind_Vec3_IsNormalized_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_GetLowestComponentIndex_0")
declare function _emscripten_bind_Vec3_GetLowestComponentIndex_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_GetHighestComponentIndex_0")
declare function _emscripten_bind_Vec3_GetHighestComponentIndex_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_Abs_0")
declare function _emscripten_bind_Vec3_Abs_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_Reciprocal_0")
declare function _emscripten_bind_Vec3_Reciprocal_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_Cross_1")
declare function _emscripten_bind_Vec3_Cross_1(self: usize, inRHS: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_Dot_1")
declare function _emscripten_bind_Vec3_Dot_1(self: usize, inRHS: usize): f32;
@external("Jolt", "_emscripten_bind_Vec3_DotV_1")
declare function _emscripten_bind_Vec3_DotV_1(self: usize, inRHS: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_DotV4_1")
declare function _emscripten_bind_Vec3_DotV4_1(self: usize, inRHS: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_Add_1")
declare function _emscripten_bind_Vec3_Add_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_Sub_1")
declare function _emscripten_bind_Vec3_Sub_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_Mul_1")
declare function _emscripten_bind_Vec3_Mul_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_Vec3_Div_1")
declare function _emscripten_bind_Vec3_Div_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_Vec3_MulVec3_1")
declare function _emscripten_bind_Vec3_MulVec3_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_MulFloat_1")
declare function _emscripten_bind_Vec3_MulFloat_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_Vec3_DivVec3_1")
declare function _emscripten_bind_Vec3_DivVec3_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_DivFloat_1")
declare function _emscripten_bind_Vec3_DivFloat_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_Vec3_AddVec3_1")
declare function _emscripten_bind_Vec3_AddVec3_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_SubVec3_1")
declare function _emscripten_bind_Vec3_SubVec3_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_SplatX_0")
declare function _emscripten_bind_Vec3_SplatX_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_SplatY_0")
declare function _emscripten_bind_Vec3_SplatY_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_SplatZ_0")
declare function _emscripten_bind_Vec3_SplatZ_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_ReduceMin_0")
declare function _emscripten_bind_Vec3_ReduceMin_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Vec3_ReduceMax_0")
declare function _emscripten_bind_Vec3_ReduceMax_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Vec3_Sqrt_0")
declare function _emscripten_bind_Vec3_Sqrt_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec3_GetSign_0")
declare function _emscripten_bind_Vec3_GetSign_0(self: usize): usize;
@final
@unmanaged
export class Vec3 {
static new0(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_Vec3_0());
}
static new1(inV: Float3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_Vec3_1(changetype<usize>(inV)));
}
static new3(inX: f32, inY: f32, inZ: f32): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_Vec3_3(inX, inY, inZ));
}
__destroy__(): void {
_emscripten_bind_Vec3___destroy___0(changetype<usize>(this));
}
static sZero(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_sZero_0());
}
static sOne(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_sOne_0());
}
static sAxisX(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_sAxisX_0());
}
static sAxisY(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_sAxisY_0());
}
static sAxisZ(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_sAxisZ_0());
}
static sReplicate(inValue: f32): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_sReplicate_1(inValue));
}
static sMin(inLHS: Vec3, inRHS: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_sMin_2(changetype<usize>(inLHS), changetype<usize>(inRHS)));
}
static sMax(inLHS: Vec3, inRHS: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_sMax_2(changetype<usize>(inLHS), changetype<usize>(inRHS)));
}
static sClamp(inValue: Vec3, inMin: Vec3, inMax: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_sClamp_3(changetype<usize>(inValue), changetype<usize>(inMin), changetype<usize>(inMax)));
}
static sFusedMultiplyAdd(inMul1: Vec3, inMul2: Vec3, inAdd: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_sFusedMultiplyAdd_3(changetype<usize>(inMul1), changetype<usize>(inMul2), changetype<usize>(inAdd)));
}
static sOr(inV1: Vec3, inV2: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_sOr_2(changetype<usize>(inV1), changetype<usize>(inV2)));
}
static sXor(inV1: Vec3, inV2: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_sXor_2(changetype<usize>(inV1), changetype<usize>(inV2)));
}
static sAnd(inV1: Vec3, inV2: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_sAnd_2(changetype<usize>(inV1), changetype<usize>(inV2)));
}
static sUnitSpherical(inTheta: f32, inPhi: f32): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_sUnitSpherical_2(inTheta, inPhi));
}
GetComponent(inCoordinate: i32): f32 {
return _emscripten_bind_Vec3_GetComponent_1(changetype<usize>(this), inCoordinate);
}
Equals(inV: Vec3): bool {
return _emscripten_bind_Vec3_Equals_1(changetype<usize>(this), changetype<usize>(inV));
}
NotEquals(inV: Vec3): bool {
return _emscripten_bind_Vec3_NotEquals_1(changetype<usize>(this), changetype<usize>(inV));
}
LengthSq(): f32 {
return _emscripten_bind_Vec3_LengthSq_0(changetype<usize>(this));
}
Length(): f32 {
return _emscripten_bind_Vec3_Length_0(changetype<usize>(this));
}
Normalized(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_Normalized_0(changetype<usize>(this)));
}
NormalizedOr(inZeroValue: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_NormalizedOr_1(changetype<usize>(this), changetype<usize>(inZeroValue)));
}
GetNormalizedPerpendicular(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_GetNormalizedPerpendicular_0(changetype<usize>(this)));
}
GetX(): f32 {
return _emscripten_bind_Vec3_GetX_0(changetype<usize>(this));
}
GetY(): f32 {
return _emscripten_bind_Vec3_GetY_0(changetype<usize>(this));
}
GetZ(): f32 {
return _emscripten_bind_Vec3_GetZ_0(changetype<usize>(this));
}
SetX(inX: f32): void {
_emscripten_bind_Vec3_SetX_1(changetype<usize>(this), inX);
}
SetY(inY: f32): void {
_emscripten_bind_Vec3_SetY_1(changetype<usize>(this), inY);
}
SetZ(inZ: f32): void {
_emscripten_bind_Vec3_SetZ_1(changetype<usize>(this), inZ);
}
Set(inX: f32, inY: f32, inZ: f32): void {
_emscripten_bind_Vec3_Set_3(changetype<usize>(this), inX, inY, inZ);
}
SetComponent(inCoordinate: i32, inValue: f32): void {
_emscripten_bind_Vec3_SetComponent_2(changetype<usize>(this), inCoordinate, inValue);
}
IsNearZero_1(inMaxDistSq: f32): bool {
return _emscripten_bind_Vec3_IsNearZero_1(changetype<usize>(this), inMaxDistSq);
}
IsNearZero_0(): bool {
return _emscripten_bind_Vec3_IsNearZero_0(changetype<usize>(this));
}
IsClose_2(inV: Vec3, inMaxDistSq: f32): bool {
return _emscripten_bind_Vec3_IsClose_2(changetype<usize>(this), changetype<usize>(inV), inMaxDistSq);
}
IsClose_1(inV: Vec3): bool {
return _emscripten_bind_Vec3_IsClose_1(changetype<usize>(this), changetype<usize>(inV));
}
IsNormalized_1(inTolerance: f32): bool {
return _emscripten_bind_Vec3_IsNormalized_1(changetype<usize>(this), inTolerance);
}
IsNormalized_0(): bool {
return _emscripten_bind_Vec3_IsNormalized_0(changetype<usize>(this));
}
GetLowestComponentIndex(): i32 {
return _emscripten_bind_Vec3_GetLowestComponentIndex_0(changetype<usize>(this));
}
GetHighestComponentIndex(): i32 {
return _emscripten_bind_Vec3_GetHighestComponentIndex_0(changetype<usize>(this));
}
Abs(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_Abs_0(changetype<usize>(this)));
}
Reciprocal(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_Reciprocal_0(changetype<usize>(this)));
}
Cross(inRHS: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_Cross_1(changetype<usize>(this), changetype<usize>(inRHS)));
}
Dot(inRHS: Vec3): f32 {
return _emscripten_bind_Vec3_Dot_1(changetype<usize>(this), changetype<usize>(inRHS));
}
DotV(inRHS: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_DotV_1(changetype<usize>(this), changetype<usize>(inRHS)));
}
DotV4(inRHS: Vec3): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec3_DotV4_1(changetype<usize>(this), changetype<usize>(inRHS)));
}
Add(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_Add_1(changetype<usize>(this), changetype<usize>(inV)));
}
Sub(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_Sub_1(changetype<usize>(this), changetype<usize>(inV)));
}
Mul(inV: f32): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_Mul_1(changetype<usize>(this), inV));
}
Div(inV: f32): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_Div_1(changetype<usize>(this), inV));
}
MulVec3(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_MulVec3_1(changetype<usize>(this), changetype<usize>(inV)));
}
MulFloat(inV: f32): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_MulFloat_1(changetype<usize>(this), inV));
}
DivVec3(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_DivVec3_1(changetype<usize>(this), changetype<usize>(inV)));
}
DivFloat(inV: f32): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_DivFloat_1(changetype<usize>(this), inV));
}
AddVec3(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_AddVec3_1(changetype<usize>(this), changetype<usize>(inV)));
}
SubVec3(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_SubVec3_1(changetype<usize>(this), changetype<usize>(inV)));
}
SplatX(): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec3_SplatX_0(changetype<usize>(this)));
}
SplatY(): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec3_SplatY_0(changetype<usize>(this)));
}
SplatZ(): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec3_SplatZ_0(changetype<usize>(this)));
}
ReduceMin(): f32 {
return _emscripten_bind_Vec3_ReduceMin_0(changetype<usize>(this));
}
ReduceMax(): f32 {
return _emscripten_bind_Vec3_ReduceMax_0(changetype<usize>(this));
}
Sqrt(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_Sqrt_0(changetype<usize>(this)));
}
GetSign(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Vec3_GetSign_0(changetype<usize>(this)));
}
}
@external("Jolt", "_emscripten_bind_RVec3_RVec3_0")
declare function _emscripten_bind_RVec3_RVec3_0(): usize;
@external("Jolt", "_emscripten_bind_RVec3_RVec3_3")
declare function _emscripten_bind_RVec3_RVec3_3(inX: f64, inY: f64, inZ: f64): usize;
@external("Jolt", "_emscripten_bind_RVec3___destroy___0")
declare function _emscripten_bind_RVec3___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_RVec3_sZero_0")
declare function _emscripten_bind_RVec3_sZero_0(): usize;
@external("Jolt", "_emscripten_bind_RVec3_sOne_0")
declare function _emscripten_bind_RVec3_sOne_0(): usize;
@external("Jolt", "_emscripten_bind_RVec3_sAxisX_0")
declare function _emscripten_bind_RVec3_sAxisX_0(): usize;
@external("Jolt", "_emscripten_bind_RVec3_sAxisY_0")
declare function _emscripten_bind_RVec3_sAxisY_0(): usize;
@external("Jolt", "_emscripten_bind_RVec3_sAxisZ_0")
declare function _emscripten_bind_RVec3_sAxisZ_0(): usize;
@external("Jolt", "_emscripten_bind_RVec3_sReplicate_1")
declare function _emscripten_bind_RVec3_sReplicate_1(inValue: f64): usize;
@external("Jolt", "_emscripten_bind_RVec3_sMin_2")
declare function _emscripten_bind_RVec3_sMin_2(inLHS: usize, inRHS: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_sMax_2")
declare function _emscripten_bind_RVec3_sMax_2(inLHS: usize, inRHS: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_sClamp_3")
declare function _emscripten_bind_RVec3_sClamp_3(inValue: usize, inMin: usize, inMax: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_GetComponent_1")
declare function _emscripten_bind_RVec3_GetComponent_1(self: usize, inCoordinate: usize): f64;
@external("Jolt", "_emscripten_bind_RVec3_Equals_1")
declare function _emscripten_bind_RVec3_Equals_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_NotEquals_1")
declare function _emscripten_bind_RVec3_NotEquals_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_LengthSq_0")
declare function _emscripten_bind_RVec3_LengthSq_0(self: usize): f64;
@external("Jolt", "_emscripten_bind_RVec3_Length_0")
declare function _emscripten_bind_RVec3_Length_0(self: usize): f64;
@external("Jolt", "_emscripten_bind_RVec3_Normalized_0")
declare function _emscripten_bind_RVec3_Normalized_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_GetX_0")
declare function _emscripten_bind_RVec3_GetX_0(self: usize): f64;
@external("Jolt", "_emscripten_bind_RVec3_GetY_0")
declare function _emscripten_bind_RVec3_GetY_0(self: usize): f64;
@external("Jolt", "_emscripten_bind_RVec3_GetZ_0")
declare function _emscripten_bind_RVec3_GetZ_0(self: usize): f64;
@external("Jolt", "_emscripten_bind_RVec3_SetX_1")
declare function _emscripten_bind_RVec3_SetX_1(self: usize, inX: f64): void;
@external("Jolt", "_emscripten_bind_RVec3_SetY_1")
declare function _emscripten_bind_RVec3_SetY_1(self: usize, inY: f64): void;
@external("Jolt", "_emscripten_bind_RVec3_SetZ_1")
declare function _emscripten_bind_RVec3_SetZ_1(self: usize, inZ: f64): void;
@external("Jolt", "_emscripten_bind_RVec3_Set_3")
declare function _emscripten_bind_RVec3_Set_3(self: usize, inX: f64, inY: f64, inZ: f64): void;
@external("Jolt", "_emscripten_bind_RVec3_SetComponent_2")
declare function _emscripten_bind_RVec3_SetComponent_2(self: usize, inCoordinate: usize, inValue: f64): void;
@external("Jolt", "_emscripten_bind_RVec3_IsNearZero_1")
declare function _emscripten_bind_RVec3_IsNearZero_1(self: usize, inMaxDistSq: f64): usize;
@external("Jolt", "_emscripten_bind_RVec3_IsNearZero_0")
declare function _emscripten_bind_RVec3_IsNearZero_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_IsClose_2")
declare function _emscripten_bind_RVec3_IsClose_2(self: usize, inV: usize, inMaxDistSq: f64): usize;
@external("Jolt", "_emscripten_bind_RVec3_IsClose_1")
declare function _emscripten_bind_RVec3_IsClose_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_IsNormalized_1")
declare function _emscripten_bind_RVec3_IsNormalized_1(self: usize, inTolerance: f64): usize;
@external("Jolt", "_emscripten_bind_RVec3_IsNormalized_0")
declare function _emscripten_bind_RVec3_IsNormalized_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_Abs_0")
declare function _emscripten_bind_RVec3_Abs_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_Reciprocal_0")
declare function _emscripten_bind_RVec3_Reciprocal_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_Cross_1")
declare function _emscripten_bind_RVec3_Cross_1(self: usize, inRHS: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_Dot_1")
declare function _emscripten_bind_RVec3_Dot_1(self: usize, inRHS: usize): f64;
@external("Jolt", "_emscripten_bind_RVec3_Add_1")
declare function _emscripten_bind_RVec3_Add_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_Sub_1")
declare function _emscripten_bind_RVec3_Sub_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_Mul_1")
declare function _emscripten_bind_RVec3_Mul_1(self: usize, inV: f64): usize;
@external("Jolt", "_emscripten_bind_RVec3_Div_1")
declare function _emscripten_bind_RVec3_Div_1(self: usize, inV: f64): usize;
@external("Jolt", "_emscripten_bind_RVec3_MulRVec3_1")
declare function _emscripten_bind_RVec3_MulRVec3_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_MulFloat_1")
declare function _emscripten_bind_RVec3_MulFloat_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_RVec3_DivRVec3_1")
declare function _emscripten_bind_RVec3_DivRVec3_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_DivFloat_1")
declare function _emscripten_bind_RVec3_DivFloat_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_RVec3_AddRVec3_1")
declare function _emscripten_bind_RVec3_AddRVec3_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_SubRVec3_1")
declare function _emscripten_bind_RVec3_SubRVec3_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_Sqrt_0")
declare function _emscripten_bind_RVec3_Sqrt_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RVec3_GetSign_0")
declare function _emscripten_bind_RVec3_GetSign_0(self: usize): usize;
@final
@unmanaged
export class RVec3 {
static new0(): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_RVec3_0());
}
static new3(inX: f64, inY: f64, inZ: f64): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_RVec3_3(inX, inY, inZ));
}
__destroy__(): void {
_emscripten_bind_RVec3___destroy___0(changetype<usize>(this));
}
static sZero(): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_sZero_0());
}
static sOne(): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_sOne_0());
}
static sAxisX(): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_sAxisX_0());
}
static sAxisY(): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_sAxisY_0());
}
static sAxisZ(): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_sAxisZ_0());
}
static sReplicate(inValue: f64): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_sReplicate_1(inValue));
}
static sMin(inLHS: RVec3, inRHS: RVec3): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_sMin_2(changetype<usize>(inLHS), changetype<usize>(inRHS)));
}
static sMax(inLHS: RVec3, inRHS: RVec3): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_sMax_2(changetype<usize>(inLHS), changetype<usize>(inRHS)));
}
static sClamp(inValue: RVec3, inMin: RVec3, inMax: RVec3): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_sClamp_3(changetype<usize>(inValue), changetype<usize>(inMin), changetype<usize>(inMax)));
}
GetComponent(inCoordinate: i32): f64 {
return _emscripten_bind_RVec3_GetComponent_1(changetype<usize>(this), inCoordinate);
}
Equals(inV: RVec3): bool {
return _emscripten_bind_RVec3_Equals_1(changetype<usize>(this), changetype<usize>(inV));
}
NotEquals(inV: RVec3): bool {
return _emscripten_bind_RVec3_NotEquals_1(changetype<usize>(this), changetype<usize>(inV));
}
LengthSq(): f64 {
return _emscripten_bind_RVec3_LengthSq_0(changetype<usize>(this));
}
Length(): f64 {
return _emscripten_bind_RVec3_Length_0(changetype<usize>(this));
}
Normalized(): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_Normalized_0(changetype<usize>(this)));
}
GetX(): f64 {
return _emscripten_bind_RVec3_GetX_0(changetype<usize>(this));
}
GetY(): f64 {
return _emscripten_bind_RVec3_GetY_0(changetype<usize>(this));
}
GetZ(): f64 {
return _emscripten_bind_RVec3_GetZ_0(changetype<usize>(this));
}
SetX(inX: f64): void {
_emscripten_bind_RVec3_SetX_1(changetype<usize>(this), inX);
}
SetY(inY: f64): void {
_emscripten_bind_RVec3_SetY_1(changetype<usize>(this), inY);
}
SetZ(inZ: f64): void {
_emscripten_bind_RVec3_SetZ_1(changetype<usize>(this), inZ);
}
Set(inX: f64, inY: f64, inZ: f64): void {
_emscripten_bind_RVec3_Set_3(changetype<usize>(this), inX, inY, inZ);
}
SetComponent(inCoordinate: i32, inValue: f64): void {
_emscripten_bind_RVec3_SetComponent_2(changetype<usize>(this), inCoordinate, inValue);
}
IsNearZero_1(inMaxDistSq: f64): bool {
return _emscripten_bind_RVec3_IsNearZero_1(changetype<usize>(this), inMaxDistSq);
}
IsNearZero_0(): bool {
return _emscripten_bind_RVec3_IsNearZero_0(changetype<usize>(this));
}
IsClose_2(inV: RVec3, inMaxDistSq: f64): bool {
return _emscripten_bind_RVec3_IsClose_2(changetype<usize>(this), changetype<usize>(inV), inMaxDistSq);
}
IsClose_1(inV: RVec3): bool {
return _emscripten_bind_RVec3_IsClose_1(changetype<usize>(this), changetype<usize>(inV));
}
IsNormalized_1(inTolerance: f64): bool {
return _emscripten_bind_RVec3_IsNormalized_1(changetype<usize>(this), inTolerance);
}
IsNormalized_0(): bool {
return _emscripten_bind_RVec3_IsNormalized_0(changetype<usize>(this));
}
Abs(): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_Abs_0(changetype<usize>(this)));
}
Reciprocal(): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_Reciprocal_0(changetype<usize>(this)));
}
Cross(inRHS: RVec3): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_Cross_1(changetype<usize>(this), changetype<usize>(inRHS)));
}
Dot(inRHS: RVec3): f64 {
return _emscripten_bind_RVec3_Dot_1(changetype<usize>(this), changetype<usize>(inRHS));
}
Add(inV: Vec3): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_Add_1(changetype<usize>(this), changetype<usize>(inV)));
}
Sub(inV: Vec3): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_Sub_1(changetype<usize>(this), changetype<usize>(inV)));
}
Mul(inV: f64): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_Mul_1(changetype<usize>(this), inV));
}
Div(inV: f64): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_Div_1(changetype<usize>(this), inV));
}
MulRVec3(inV: RVec3): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_MulRVec3_1(changetype<usize>(this), changetype<usize>(inV)));
}
MulFloat(inV: f32): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_MulFloat_1(changetype<usize>(this), inV));
}
DivRVec3(inV: RVec3): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_DivRVec3_1(changetype<usize>(this), changetype<usize>(inV)));
}
DivFloat(inV: f32): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_DivFloat_1(changetype<usize>(this), inV));
}
AddRVec3(inV: RVec3): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_AddRVec3_1(changetype<usize>(this), changetype<usize>(inV)));
}
SubRVec3(inV: RVec3): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_SubRVec3_1(changetype<usize>(this), changetype<usize>(inV)));
}
Sqrt(): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_Sqrt_0(changetype<usize>(this)));
}
GetSign(): RVec3 {
return changetype<RVec3>(_emscripten_bind_RVec3_GetSign_0(changetype<usize>(this)));
}
}
@external("Jolt", "_emscripten_bind_Vec4_Vec4_0")
declare function _emscripten_bind_Vec4_Vec4_0(): usize;
@external("Jolt", "_emscripten_bind_Vec4_Vec4_1")
declare function _emscripten_bind_Vec4_Vec4_1(inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_Vec4_2")
declare function _emscripten_bind_Vec4_Vec4_2(inV: usize, inW: f32): usize;
@external("Jolt", "_emscripten_bind_Vec4_Vec4_4")
declare function _emscripten_bind_Vec4_Vec4_4(inX: f32, inY: f32, inZ: f32, inW: f32): usize;
@external("Jolt", "_emscripten_bind_Vec4___destroy___0")
declare function _emscripten_bind_Vec4___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_Vec4_sZero_0")
declare function _emscripten_bind_Vec4_sZero_0(): usize;
@external("Jolt", "_emscripten_bind_Vec4_sOne_0")
declare function _emscripten_bind_Vec4_sOne_0(): usize;
@external("Jolt", "_emscripten_bind_Vec4_sReplicate_1")
declare function _emscripten_bind_Vec4_sReplicate_1(inV: f32): usize;
@external("Jolt", "_emscripten_bind_Vec4_sMin_2")
declare function _emscripten_bind_Vec4_sMin_2(inLHS: usize, inRHS: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_sMax_2")
declare function _emscripten_bind_Vec4_sMax_2(inLHS: usize, inRHS: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_sClamp_3")
declare function _emscripten_bind_Vec4_sClamp_3(inValue: usize, inMin: usize, inMax: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_sFusedMultiplyAdd_3")
declare function _emscripten_bind_Vec4_sFusedMultiplyAdd_3(inMul1: usize, inMul2: usize, inAdd: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_sOr_2")
declare function _emscripten_bind_Vec4_sOr_2(inV1: usize, inV2: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_sXor_2")
declare function _emscripten_bind_Vec4_sXor_2(inV1: usize, inV2: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_sAnd_2")
declare function _emscripten_bind_Vec4_sAnd_2(inV1: usize, inV2: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_GetX_0")
declare function _emscripten_bind_Vec4_GetX_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Vec4_GetY_0")
declare function _emscripten_bind_Vec4_GetY_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Vec4_GetZ_0")
declare function _emscripten_bind_Vec4_GetZ_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Vec4_GetW_0")
declare function _emscripten_bind_Vec4_GetW_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Vec4_SetX_1")
declare function _emscripten_bind_Vec4_SetX_1(self: usize, inX: f32): void;
@external("Jolt", "_emscripten_bind_Vec4_SetY_1")
declare function _emscripten_bind_Vec4_SetY_1(self: usize, inY: f32): void;
@external("Jolt", "_emscripten_bind_Vec4_SetZ_1")
declare function _emscripten_bind_Vec4_SetZ_1(self: usize, inZ: f32): void;
@external("Jolt", "_emscripten_bind_Vec4_SetW_1")
declare function _emscripten_bind_Vec4_SetW_1(self: usize, inW: f32): void;
@external("Jolt", "_emscripten_bind_Vec4_Set_4")
declare function _emscripten_bind_Vec4_Set_4(self: usize, inX: f32, inY: f32, inZ: f32, inW: f32): void;
@external("Jolt", "_emscripten_bind_Vec4_GetComponent_1")
declare function _emscripten_bind_Vec4_GetComponent_1(self: usize, inCoordinate: usize): f32;
@external("Jolt", "_emscripten_bind_Vec4_IsClose_2")
declare function _emscripten_bind_Vec4_IsClose_2(self: usize, inV: usize, inMaxDistSq: f32): usize;
@external("Jolt", "_emscripten_bind_Vec4_IsClose_1")
declare function _emscripten_bind_Vec4_IsClose_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_IsNearZero_1")
declare function _emscripten_bind_Vec4_IsNearZero_1(self: usize, inMaxDistSq: f32): usize;
@external("Jolt", "_emscripten_bind_Vec4_IsNearZero_0")
declare function _emscripten_bind_Vec4_IsNearZero_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_IsNormalized_1")
declare function _emscripten_bind_Vec4_IsNormalized_1(self: usize, inTolerance: f32): usize;
@external("Jolt", "_emscripten_bind_Vec4_IsNormalized_0")
declare function _emscripten_bind_Vec4_IsNormalized_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_GetLowestComponentIndex_0")
declare function _emscripten_bind_Vec4_GetLowestComponentIndex_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_GetHighestComponentIndex_0")
declare function _emscripten_bind_Vec4_GetHighestComponentIndex_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_Add_1")
declare function _emscripten_bind_Vec4_Add_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_Sub_1")
declare function _emscripten_bind_Vec4_Sub_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_Mul_1")
declare function _emscripten_bind_Vec4_Mul_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_Vec4_Div_1")
declare function _emscripten_bind_Vec4_Div_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_Vec4_MulVec4_1")
declare function _emscripten_bind_Vec4_MulVec4_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_MulFloat_1")
declare function _emscripten_bind_Vec4_MulFloat_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_Vec4_DivVec4_1")
declare function _emscripten_bind_Vec4_DivVec4_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_DivFloat_1")
declare function _emscripten_bind_Vec4_DivFloat_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_Vec4_AddVec4_1")
declare function _emscripten_bind_Vec4_AddVec4_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vec4_SubVec4_1")
declare function _emscripten_bind_Vec4_SubVec4_1(self: usize, inV: usize): usize;
@final
@unmanaged
export class Vec4 {
static new0(): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_Vec4_0());
}
static new1(inV: Vec4): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_Vec4_1(changetype<usize>(inV)));
}
static new2(inV: Vec3, inW: f32): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_Vec4_2(changetype<usize>(inV), inW));
}
static new4(inX: f32, inY: f32, inZ: f32, inW: f32): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_Vec4_4(inX, inY, inZ, inW));
}
__destroy__(): void {
_emscripten_bind_Vec4___destroy___0(changetype<usize>(this));
}
static sZero(): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_sZero_0());
}
static sOne(): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_sOne_0());
}
static sReplicate(inV: f32): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_sReplicate_1(inV));
}
static sMin(inLHS: Vec4, inRHS: Vec4): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_sMin_2(changetype<usize>(inLHS), changetype<usize>(inRHS)));
}
static sMax(inLHS: Vec4, inRHS: Vec4): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_sMax_2(changetype<usize>(inLHS), changetype<usize>(inRHS)));
}
static sClamp(inValue: Vec4, inMin: Vec4, inMax: Vec4): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_sClamp_3(changetype<usize>(inValue), changetype<usize>(inMin), changetype<usize>(inMax)));
}
static sFusedMultiplyAdd(inMul1: Vec4, inMul2: Vec4, inAdd: Vec4): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_sFusedMultiplyAdd_3(changetype<usize>(inMul1), changetype<usize>(inMul2), changetype<usize>(inAdd)));
}
static sOr(inV1: Vec4, inV2: Vec4): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_sOr_2(changetype<usize>(inV1), changetype<usize>(inV2)));
}
static sXor(inV1: Vec4, inV2: Vec4): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_sXor_2(changetype<usize>(inV1), changetype<usize>(inV2)));
}
static sAnd(inV1: Vec4, inV2: Vec4): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_sAnd_2(changetype<usize>(inV1), changetype<usize>(inV2)));
}
GetX(): f32 {
return _emscripten_bind_Vec4_GetX_0(changetype<usize>(this));
}
GetY(): f32 {
return _emscripten_bind_Vec4_GetY_0(changetype<usize>(this));
}
GetZ(): f32 {
return _emscripten_bind_Vec4_GetZ_0(changetype<usize>(this));
}
GetW(): f32 {
return _emscripten_bind_Vec4_GetW_0(changetype<usize>(this));
}
SetX(inX: f32): void {
_emscripten_bind_Vec4_SetX_1(changetype<usize>(this), inX);
}
SetY(inY: f32): void {
_emscripten_bind_Vec4_SetY_1(changetype<usize>(this), inY);
}
SetZ(inZ: f32): void {
_emscripten_bind_Vec4_SetZ_1(changetype<usize>(this), inZ);
}
SetW(inW: f32): void {
_emscripten_bind_Vec4_SetW_1(changetype<usize>(this), inW);
}
Set(inX: f32, inY: f32, inZ: f32, inW: f32): void {
_emscripten_bind_Vec4_Set_4(changetype<usize>(this), inX, inY, inZ, inW);
}
GetComponent(inCoordinate: i32): f32 {
return _emscripten_bind_Vec4_GetComponent_1(changetype<usize>(this), inCoordinate);
}
IsClose_2(inV: Vec4, inMaxDistSq: f32): bool {
return _emscripten_bind_Vec4_IsClose_2(changetype<usize>(this), changetype<usize>(inV), inMaxDistSq);
}
IsClose_1(inV: Vec4): bool {
return _emscripten_bind_Vec4_IsClose_1(changetype<usize>(this), changetype<usize>(inV));
}
IsNearZero_1(inMaxDistSq: f32): bool {
return _emscripten_bind_Vec4_IsNearZero_1(changetype<usize>(this), inMaxDistSq);
}
IsNearZero_0(): bool {
return _emscripten_bind_Vec4_IsNearZero_0(changetype<usize>(this));
}
IsNormalized_1(inTolerance: f32): bool {
return _emscripten_bind_Vec4_IsNormalized_1(changetype<usize>(this), inTolerance);
}
IsNormalized_0(): bool {
return _emscripten_bind_Vec4_IsNormalized_0(changetype<usize>(this));
}
GetLowestComponentIndex(): i32 {
return _emscripten_bind_Vec4_GetLowestComponentIndex_0(changetype<usize>(this));
}
GetHighestComponentIndex(): i32 {
return _emscripten_bind_Vec4_GetHighestComponentIndex_0(changetype<usize>(this));
}
Add(inV: Vec4): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_Add_1(changetype<usize>(this), changetype<usize>(inV)));
}
Sub(inV: Vec4): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_Sub_1(changetype<usize>(this), changetype<usize>(inV)));
}
Mul(inV: f32): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_Mul_1(changetype<usize>(this), inV));
}
Div(inV: f32): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_Div_1(changetype<usize>(this), inV));
}
MulVec4(inV: Vec4): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_MulVec4_1(changetype<usize>(this), changetype<usize>(inV)));
}
MulFloat(inV: f32): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_MulFloat_1(changetype<usize>(this), inV));
}
DivVec4(inV: Vec4): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_DivVec4_1(changetype<usize>(this), changetype<usize>(inV)));
}
DivFloat(inV: f32): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_DivFloat_1(changetype<usize>(this), inV));
}
AddVec4(inV: Vec4): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_AddVec4_1(changetype<usize>(this), changetype<usize>(inV)));
}
SubVec4(inV: Vec4): Vec4 {
return changetype<Vec4>(_emscripten_bind_Vec4_SubVec4_1(changetype<usize>(this), changetype<usize>(inV)));
}
}
@external("Jolt", "_emscripten_bind_Vector2_Vector2_0")
declare function _emscripten_bind_Vector2_Vector2_0(): usize;
@external("Jolt", "_emscripten_bind_Vector2___destroy___0")
declare function _emscripten_bind_Vector2___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_Vector2_SetZero_0")
declare function _emscripten_bind_Vector2_SetZero_0(self: usize): void;
@external("Jolt", "_emscripten_bind_Vector2_IsZero_0")
declare function _emscripten_bind_Vector2_IsZero_0(self: usize): void;
@external("Jolt", "_emscripten_bind_Vector2_IsClose_2")
declare function _emscripten_bind_Vector2_IsClose_2(self: usize, inV: usize, inMaxDistSq: f32): void;
@external("Jolt", "_emscripten_bind_Vector2_IsClose_1")
declare function _emscripten_bind_Vector2_IsClose_1(self: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_Vector2_IsNormalized_1")
declare function _emscripten_bind_Vector2_IsNormalized_1(self: usize, inTolerance: f32): void;
@external("Jolt", "_emscripten_bind_Vector2_IsNormalized_0")
declare function _emscripten_bind_Vector2_IsNormalized_0(self: usize): void;
@external("Jolt", "_emscripten_bind_Vector2_Normalized_0")
declare function _emscripten_bind_Vector2_Normalized_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Vector2_GetComponent_1")
declare function _emscripten_bind_Vector2_GetComponent_1(self: usize, inCoordinate: usize): f32;
@external("Jolt", "_emscripten_bind_Vector2_Add_1")
declare function _emscripten_bind_Vector2_Add_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vector2_Sub_1")
declare function _emscripten_bind_Vector2_Sub_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vector2_Mul_1")
declare function _emscripten_bind_Vector2_Mul_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_Vector2_Div_1")
declare function _emscripten_bind_Vector2_Div_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_Vector2_MulFloat_1")
declare function _emscripten_bind_Vector2_MulFloat_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_Vector2_DivFloat_1")
declare function _emscripten_bind_Vector2_DivFloat_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_Vector2_AddVector2_1")
declare function _emscripten_bind_Vector2_AddVector2_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vector2_SubVector2_1")
declare function _emscripten_bind_Vector2_SubVector2_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Vector2_Dot_1")
declare function _emscripten_bind_Vector2_Dot_1(self: usize, inRHS: usize): f32;
@final
@unmanaged
export class Vector2 {
static new(): Vector2 {
return changetype<Vector2>(_emscripten_bind_Vector2_Vector2_0());
}
__destroy__(): void {
_emscripten_bind_Vector2___destroy___0(changetype<usize>(this));
}
SetZero(): void {
_emscripten_bind_Vector2_SetZero_0(changetype<usize>(this));
}
IsZero(): void {
_emscripten_bind_Vector2_IsZero_0(changetype<usize>(this));
}
IsClose_2(inV: Vector2, inMaxDistSq: f32): void {
_emscripten_bind_Vector2_IsClose_2(changetype<usize>(this), changetype<usize>(inV), inMaxDistSq);
}
IsClose_1(inV: Vector2): void {
_emscripten_bind_Vector2_IsClose_1(changetype<usize>(this), changetype<usize>(inV));
}
IsNormalized_1(inTolerance: f32): void {
_emscripten_bind_Vector2_IsNormalized_1(changetype<usize>(this), inTolerance);
}
IsNormalized_0(): void {
_emscripten_bind_Vector2_IsNormalized_0(changetype<usize>(this));
}
Normalized(): Vector2 {
return changetype<Vector2>(_emscripten_bind_Vector2_Normalized_0(changetype<usize>(this)));
}
GetComponent(inCoordinate: i32): f32 {
return _emscripten_bind_Vector2_GetComponent_1(changetype<usize>(this), inCoordinate);
}
Add(inV: Vector2): Vector2 {
return changetype<Vector2>(_emscripten_bind_Vector2_Add_1(changetype<usize>(this), changetype<usize>(inV)));
}
Sub(inV: Vector2): Vector2 {
return changetype<Vector2>(_emscripten_bind_Vector2_Sub_1(changetype<usize>(this), changetype<usize>(inV)));
}
Mul(inV: f32): Vector2 {
return changetype<Vector2>(_emscripten_bind_Vector2_Mul_1(changetype<usize>(this), inV));
}
Div(inV: f32): Vector2 {
return changetype<Vector2>(_emscripten_bind_Vector2_Div_1(changetype<usize>(this), inV));
}
MulFloat(inV: f32): Vector2 {
return changetype<Vector2>(_emscripten_bind_Vector2_MulFloat_1(changetype<usize>(this), inV));
}
DivFloat(inV: f32): Vector2 {
return changetype<Vector2>(_emscripten_bind_Vector2_DivFloat_1(changetype<usize>(this), inV));
}
AddVector2(inV: Vector2): Vector2 {
return changetype<Vector2>(_emscripten_bind_Vector2_AddVector2_1(changetype<usize>(this), changetype<usize>(inV)));
}
SubVector2(inV: Vector2): Vector2 {
return changetype<Vector2>(_emscripten_bind_Vector2_SubVector2_1(changetype<usize>(this), changetype<usize>(inV)));
}
Dot(inRHS: Vector2): f32 {
return _emscripten_bind_Vector2_Dot_1(changetype<usize>(this), changetype<usize>(inRHS));
}
}
@external("Jolt", "_emscripten_bind_Quat_Quat_0")
declare function _emscripten_bind_Quat_Quat_0(): usize;
@external("Jolt", "_emscripten_bind_Quat_Quat_4")
declare function _emscripten_bind_Quat_Quat_4(inX: f32, inY: f32, inZ: f32, inW: f32): usize;
@external("Jolt", "_emscripten_bind_Quat___destroy___0")
declare function _emscripten_bind_Quat___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_Quat_sZero_0")
declare function _emscripten_bind_Quat_sZero_0(): usize;
@external("Jolt", "_emscripten_bind_Quat_sIdentity_0")
declare function _emscripten_bind_Quat_sIdentity_0(): usize;
@external("Jolt", "_emscripten_bind_Quat_sRotation_2")
declare function _emscripten_bind_Quat_sRotation_2(inRotation: usize, inAngle: f32): usize;
@external("Jolt", "_emscripten_bind_Quat_sFromTo_2")
declare function _emscripten_bind_Quat_sFromTo_2(inFrom: usize, inTo: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_Equals_1")
declare function _emscripten_bind_Quat_Equals_1(self: usize, inQ: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_NotEquals_1")
declare function _emscripten_bind_Quat_NotEquals_1(self: usize, inQ: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_MulQuat_1")
declare function _emscripten_bind_Quat_MulQuat_1(self: usize, inQ: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_MulVec3_1")
declare function _emscripten_bind_Quat_MulVec3_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_MulFloat_1")
declare function _emscripten_bind_Quat_MulFloat_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_Quat_IsClose_2")
declare function _emscripten_bind_Quat_IsClose_2(self: usize, inQ: usize, inMaxDistSq: f32): usize;
@external("Jolt", "_emscripten_bind_Quat_IsClose_1")
declare function _emscripten_bind_Quat_IsClose_1(self: usize, inQ: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_IsNormalized_1")
declare function _emscripten_bind_Quat_IsNormalized_1(self: usize, inTolerance: f32): usize;
@external("Jolt", "_emscripten_bind_Quat_IsNormalized_0")
declare function _emscripten_bind_Quat_IsNormalized_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_Length_0")
declare function _emscripten_bind_Quat_Length_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Quat_LengthSq_0")
declare function _emscripten_bind_Quat_LengthSq_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Quat_Normalized_0")
declare function _emscripten_bind_Quat_Normalized_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_sEulerAngles_1")
declare function _emscripten_bind_Quat_sEulerAngles_1(inInput: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_GetEulerAngles_0")
declare function _emscripten_bind_Quat_GetEulerAngles_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_GetX_0")
declare function _emscripten_bind_Quat_GetX_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Quat_GetY_0")
declare function _emscripten_bind_Quat_GetY_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Quat_GetZ_0")
declare function _emscripten_bind_Quat_GetZ_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Quat_GetW_0")
declare function _emscripten_bind_Quat_GetW_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Quat_GetXYZ_0")
declare function _emscripten_bind_Quat_GetXYZ_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_SetX_1")
declare function _emscripten_bind_Quat_SetX_1(self: usize, inX: f32): void;
@external("Jolt", "_emscripten_bind_Quat_SetY_1")
declare function _emscripten_bind_Quat_SetY_1(self: usize, inY: f32): void;
@external("Jolt", "_emscripten_bind_Quat_SetZ_1")
declare function _emscripten_bind_Quat_SetZ_1(self: usize, inZ: f32): void;
@external("Jolt", "_emscripten_bind_Quat_SetW_1")
declare function _emscripten_bind_Quat_SetW_1(self: usize, inW: f32): void;
@external("Jolt", "_emscripten_bind_Quat_Set_4")
declare function _emscripten_bind_Quat_Set_4(self: usize, inX: f32, inY: f32, inZ: f32, inW: f32): void;
@external("Jolt", "_emscripten_bind_Quat_sMultiplyImaginary_2")
declare function _emscripten_bind_Quat_sMultiplyImaginary_2(self: usize, inLHS: usize, inRHS: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_InverseRotate_1")
declare function _emscripten_bind_Quat_InverseRotate_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_RotateAxisX_0")
declare function _emscripten_bind_Quat_RotateAxisX_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_RotateAxisY_0")
declare function _emscripten_bind_Quat_RotateAxisY_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_RotateAxisZ_0")
declare function _emscripten_bind_Quat_RotateAxisZ_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_Dot_1")
declare function _emscripten_bind_Quat_Dot_1(self: usize, inQ: usize): f32;
@external("Jolt", "_emscripten_bind_Quat_Conjugated_0")
declare function _emscripten_bind_Quat_Conjugated_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_Inversed_0")
declare function _emscripten_bind_Quat_Inversed_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_EnsureWPositive_0")
declare function _emscripten_bind_Quat_EnsureWPositive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_GetPerpendicular_0")
declare function _emscripten_bind_Quat_GetPerpendicular_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_GetRotationAngle_1")
declare function _emscripten_bind_Quat_GetRotationAngle_1(self: usize, inAxis: usize): f32;
@external("Jolt", "_emscripten_bind_Quat_GetTwist_1")
declare function _emscripten_bind_Quat_GetTwist_1(self: usize, inAxis: usize): usize;
@external("Jolt", "_emscripten_bind_Quat_GetSwingTwist_2")
declare function _emscripten_bind_Quat_GetSwingTwist_2(self: usize, outSwing: usize, outTwist: usize): void;
@external("Jolt", "_emscripten_bind_Quat_LERP_2")
declare function _emscripten_bind_Quat_LERP_2(self: usize, inDestination: usize, inFraction: f32): usize;
@external("Jolt", "_emscripten_bind_Quat_SLERP_2")
declare function _emscripten_bind_Quat_SLERP_2(self: usize, inDestination: usize, inFraction: f32): usize;
@final
@unmanaged
export class Quat {
static new0(): Quat {
return changetype<Quat>(_emscripten_bind_Quat_Quat_0());
}
static new4(inX: f32, inY: f32, inZ: f32, inW: f32): Quat {
return changetype<Quat>(_emscripten_bind_Quat_Quat_4(inX, inY, inZ, inW));
}
__destroy__(): void {
_emscripten_bind_Quat___destroy___0(changetype<usize>(this));
}
static sZero(): Quat {
return changetype<Quat>(_emscripten_bind_Quat_sZero_0());
}
static sIdentity(): Quat {
return changetype<Quat>(_emscripten_bind_Quat_sIdentity_0());
}
static sRotation(inRotation: Vec3, inAngle: f32): Quat {
return changetype<Quat>(_emscripten_bind_Quat_sRotation_2(changetype<usize>(inRotation), inAngle));
}
static sFromTo(inFrom: Vec3, inTo: Vec3): Quat {
return changetype<Quat>(_emscripten_bind_Quat_sFromTo_2(changetype<usize>(inFrom), changetype<usize>(inTo)));
}
Equals(inQ: Quat): bool {
return _emscripten_bind_Quat_Equals_1(changetype<usize>(this), changetype<usize>(inQ));
}
NotEquals(inQ: Quat): bool {
return _emscripten_bind_Quat_NotEquals_1(changetype<usize>(this), changetype<usize>(inQ));
}
MulQuat(inQ: Quat): Quat {
return changetype<Quat>(_emscripten_bind_Quat_MulQuat_1(changetype<usize>(this), changetype<usize>(inQ)));
}
MulVec3(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Quat_MulVec3_1(changetype<usize>(this), changetype<usize>(inV)));
}
MulFloat(inV: f32): Quat {
return changetype<Quat>(_emscripten_bind_Quat_MulFloat_1(changetype<usize>(this), inV));
}
IsClose_2(inQ: Quat, inMaxDistSq: f32): bool {
return _emscripten_bind_Quat_IsClose_2(changetype<usize>(this), changetype<usize>(inQ), inMaxDistSq);
}
IsClose_1(inQ: Quat): bool {
return _emscripten_bind_Quat_IsClose_1(changetype<usize>(this), changetype<usize>(inQ));
}
IsNormalized_1(inTolerance: f32): bool {
return _emscripten_bind_Quat_IsNormalized_1(changetype<usize>(this), inTolerance);
}
IsNormalized_0(): bool {
return _emscripten_bind_Quat_IsNormalized_0(changetype<usize>(this));
}
Length(): f32 {
return _emscripten_bind_Quat_Length_0(changetype<usize>(this));
}
LengthSq(): f32 {
return _emscripten_bind_Quat_LengthSq_0(changetype<usize>(this));
}
Normalized(): Quat {
return changetype<Quat>(_emscripten_bind_Quat_Normalized_0(changetype<usize>(this)));
}
static sEulerAngles(inInput: Vec3): Quat {
return changetype<Quat>(_emscripten_bind_Quat_sEulerAngles_1(changetype<usize>(inInput)));
}
GetEulerAngles(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Quat_GetEulerAngles_0(changetype<usize>(this)));
}
GetX(): f32 {
return _emscripten_bind_Quat_GetX_0(changetype<usize>(this));
}
GetY(): f32 {
return _emscripten_bind_Quat_GetY_0(changetype<usize>(this));
}
GetZ(): f32 {
return _emscripten_bind_Quat_GetZ_0(changetype<usize>(this));
}
GetW(): f32 {
return _emscripten_bind_Quat_GetW_0(changetype<usize>(this));
}
GetXYZ(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Quat_GetXYZ_0(changetype<usize>(this)));
}
SetX(inX: f32): void {
_emscripten_bind_Quat_SetX_1(changetype<usize>(this), inX);
}
SetY(inY: f32): void {
_emscripten_bind_Quat_SetY_1(changetype<usize>(this), inY);
}
SetZ(inZ: f32): void {
_emscripten_bind_Quat_SetZ_1(changetype<usize>(this), inZ);
}
SetW(inW: f32): void {
_emscripten_bind_Quat_SetW_1(changetype<usize>(this), inW);
}
Set(inX: f32, inY: f32, inZ: f32, inW: f32): void {
_emscripten_bind_Quat_Set_4(changetype<usize>(this), inX, inY, inZ, inW);
}
sMultiplyImaginary(inLHS: Vec3, inRHS: Quat): Quat {
return changetype<Quat>(_emscripten_bind_Quat_sMultiplyImaginary_2(changetype<usize>(this), changetype<usize>(inLHS), changetype<usize>(inRHS)));
}
InverseRotate(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Quat_InverseRotate_1(changetype<usize>(this), changetype<usize>(inV)));
}
RotateAxisX(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Quat_RotateAxisX_0(changetype<usize>(this)));
}
RotateAxisY(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Quat_RotateAxisY_0(changetype<usize>(this)));
}
RotateAxisZ(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Quat_RotateAxisZ_0(changetype<usize>(this)));
}
Dot(inQ: Quat): f32 {
return _emscripten_bind_Quat_Dot_1(changetype<usize>(this), changetype<usize>(inQ));
}
Conjugated(): Quat {
return changetype<Quat>(_emscripten_bind_Quat_Conjugated_0(changetype<usize>(this)));
}
Inversed(): Quat {
return changetype<Quat>(_emscripten_bind_Quat_Inversed_0(changetype<usize>(this)));
}
EnsureWPositive(): Quat {
return changetype<Quat>(_emscripten_bind_Quat_EnsureWPositive_0(changetype<usize>(this)));
}
GetPerpendicular(): Quat {
return changetype<Quat>(_emscripten_bind_Quat_GetPerpendicular_0(changetype<usize>(this)));
}
GetRotationAngle(inAxis: Vec3): f32 {
return _emscripten_bind_Quat_GetRotationAngle_1(changetype<usize>(this), changetype<usize>(inAxis));
}
GetTwist(inAxis: Vec3): Quat {
return changetype<Quat>(_emscripten_bind_Quat_GetTwist_1(changetype<usize>(this), changetype<usize>(inAxis)));
}
GetSwingTwist(outSwing: Quat, outTwist: Quat): void {
_emscripten_bind_Quat_GetSwingTwist_2(changetype<usize>(this), changetype<usize>(outSwing), changetype<usize>(outTwist));
}
LERP(inDestination: Quat, inFraction: f32): Quat {
return changetype<Quat>(_emscripten_bind_Quat_LERP_2(changetype<usize>(this), changetype<usize>(inDestination), inFraction));
}
SLERP(inDestination: Quat, inFraction: f32): Quat {
return changetype<Quat>(_emscripten_bind_Quat_SLERP_2(changetype<usize>(this), changetype<usize>(inDestination), inFraction));
}
}
@external("Jolt", "_emscripten_bind_Float3_Float3_3")
declare function _emscripten_bind_Float3_Float3_3(inX: f32, inY: f32, inZ: f32): usize;
@external("Jolt", "_emscripten_bind_Float3___destroy___0")
declare function _emscripten_bind_Float3___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_Float3_Equals_1")
declare function _emscripten_bind_Float3_Equals_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Float3_NotEquals_1")
declare function _emscripten_bind_Float3_NotEquals_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Float3_get_x_0")
declare function _emscripten_bind_Float3_get_x_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Float3_get_y_0")
declare function _emscripten_bind_Float3_get_y_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Float3_get_z_0")
declare function _emscripten_bind_Float3_get_z_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Float3_set_x_1")
declare function _emscripten_bind_Float3_set_x_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_Float3_set_y_1")
declare function _emscripten_bind_Float3_set_y_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_Float3_set_z_1")
declare function _emscripten_bind_Float3_set_z_1(self: usize, value: f32): void;
@final
@unmanaged
export class Float3 {
static new(inX: f32, inY: f32, inZ: f32): Float3 {
return changetype<Float3>(_emscripten_bind_Float3_Float3_3(inX, inY, inZ));
}
__destroy__(): void {
_emscripten_bind_Float3___destroy___0(changetype<usize>(this));
}
Equals(inV: Float3): bool {
return _emscripten_bind_Float3_Equals_1(changetype<usize>(this), changetype<usize>(inV));
}
NotEquals(inV: Float3): bool {
return _emscripten_bind_Float3_NotEquals_1(changetype<usize>(this), changetype<usize>(inV));
}
get x(): f32 {
return _emscripten_bind_Float3_get_x_0(changetype<usize>(this));
}
get y(): f32 {
return _emscripten_bind_Float3_get_y_0(changetype<usize>(this));
}
get z(): f32 {
return _emscripten_bind_Float3_get_z_0(changetype<usize>(this));
}
set x(value: f32) {
_emscripten_bind_Float3_set_x_1(changetype<usize>(this), value);
}
set y(value: f32) {
_emscripten_bind_Float3_set_y_1(changetype<usize>(this), value);
}
set z(value: f32) {
_emscripten_bind_Float3_set_z_1(changetype<usize>(this), value);
}
}
@external("Jolt", "_emscripten_bind_Mat44_Mat44_0")
declare function _emscripten_bind_Mat44_Mat44_0(): usize;
@external("Jolt", "_emscripten_bind_Mat44___destroy___0")
declare function _emscripten_bind_Mat44___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_Mat44_sZero_0")
declare function _emscripten_bind_Mat44_sZero_0(): usize;
@external("Jolt", "_emscripten_bind_Mat44_sIdentity_0")
declare function _emscripten_bind_Mat44_sIdentity_0(): usize;
@external("Jolt", "_emscripten_bind_Mat44_sRotationX_1")
declare function _emscripten_bind_Mat44_sRotationX_1(inX: f32): usize;
@external("Jolt", "_emscripten_bind_Mat44_sRotationY_1")
declare function _emscripten_bind_Mat44_sRotationY_1(inY: f32): usize;
@external("Jolt", "_emscripten_bind_Mat44_sRotationZ_1")
declare function _emscripten_bind_Mat44_sRotationZ_1(inZ: f32): usize;
@external("Jolt", "_emscripten_bind_Mat44_sRotation_1")
declare function _emscripten_bind_Mat44_sRotation_1(inQ: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_sRotationAxisAngle_2")
declare function _emscripten_bind_Mat44_sRotationAxisAngle_2(inAxis: usize, inAngle: f32): usize;
@external("Jolt", "_emscripten_bind_Mat44_sTranslation_1")
declare function _emscripten_bind_Mat44_sTranslation_1(inTranslation: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_sRotationTranslation_2")
declare function _emscripten_bind_Mat44_sRotationTranslation_2(inRotation: usize, inTranslation: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_sInverseRotationTranslation_2")
declare function _emscripten_bind_Mat44_sInverseRotationTranslation_2(inRotation: usize, inTranslation: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_sScale_1")
declare function _emscripten_bind_Mat44_sScale_1(inScale: f32): usize;
@external("Jolt", "_emscripten_bind_Mat44_sScaleVec3_1")
declare function _emscripten_bind_Mat44_sScaleVec3_1(inScale: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_sOuterProduct_2")
declare function _emscripten_bind_Mat44_sOuterProduct_2(inV1: usize, inV2: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_sCrossProduct_1")
declare function _emscripten_bind_Mat44_sCrossProduct_1(inV: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_sQuatLeftMultiply_1")
declare function _emscripten_bind_Mat44_sQuatLeftMultiply_1(inQ: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_sQuatRightMultiply_1")
declare function _emscripten_bind_Mat44_sQuatRightMultiply_1(inQ: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_sLookAt_3")
declare function _emscripten_bind_Mat44_sLookAt_3(inPos: usize, inTarget: usize, inUp: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_sPerspective_4")
declare function _emscripten_bind_Mat44_sPerspective_4(inFovY: f32, inAspect: f32, inNear: f32, inFar: f32): usize;
@external("Jolt", "_emscripten_bind_Mat44_GetAxisX_0")
declare function _emscripten_bind_Mat44_GetAxisX_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_GetAxisY_0")
declare function _emscripten_bind_Mat44_GetAxisY_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_GetAxisZ_0")
declare function _emscripten_bind_Mat44_GetAxisZ_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_GetDiagonal3_0")
declare function _emscripten_bind_Mat44_GetDiagonal3_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_GetDiagonal4_0")
declare function _emscripten_bind_Mat44_GetDiagonal4_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_GetRotation_0")
declare function _emscripten_bind_Mat44_GetRotation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_GetRotationSafe_0")
declare function _emscripten_bind_Mat44_GetRotationSafe_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_GetQuaternion_0")
declare function _emscripten_bind_Mat44_GetQuaternion_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_GetTranslation_0")
declare function _emscripten_bind_Mat44_GetTranslation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_Equals_1")
declare function _emscripten_bind_Mat44_Equals_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_NotEquals_1")
declare function _emscripten_bind_Mat44_NotEquals_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_IsClose_2")
declare function _emscripten_bind_Mat44_IsClose_2(self: usize, inM: usize, inMaxDistSq: f32): usize;
@external("Jolt", "_emscripten_bind_Mat44_IsClose_1")
declare function _emscripten_bind_Mat44_IsClose_1(self: usize, inM: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_Add_1")
declare function _emscripten_bind_Mat44_Add_1(self: usize, inM: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_MulFloat_1")
declare function _emscripten_bind_Mat44_MulFloat_1(self: usize, inV: f32): usize;
@external("Jolt", "_emscripten_bind_Mat44_MulMat44_1")
declare function _emscripten_bind_Mat44_MulMat44_1(self: usize, inM: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_MulVec3_1")
declare function _emscripten_bind_Mat44_MulVec3_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_MulVec4_1")
declare function _emscripten_bind_Mat44_MulVec4_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_AddMat44_1")
declare function _emscripten_bind_Mat44_AddMat44_1(self: usize, inM: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_SubMat44_1")
declare function _emscripten_bind_Mat44_SubMat44_1(self: usize, inM: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_Multiply3x3_1")
declare function _emscripten_bind_Mat44_Multiply3x3_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_Multiply3x3Transposed_1")
declare function _emscripten_bind_Mat44_Multiply3x3Transposed_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_Multiply3x3LeftTransposed_1")
declare function _emscripten_bind_Mat44_Multiply3x3LeftTransposed_1(self: usize, inM: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_Multiply3x3RightTransposed_1")
declare function _emscripten_bind_Mat44_Multiply3x3RightTransposed_1(self: usize, inM: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_Transposed_0")
declare function _emscripten_bind_Mat44_Transposed_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_Transposed3x3_0")
declare function _emscripten_bind_Mat44_Transposed3x3_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_Inversed_0")
declare function _emscripten_bind_Mat44_Inversed_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_InversedRotationTranslation_0")
declare function _emscripten_bind_Mat44_InversedRotationTranslation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_Adjointed3x3_0")
declare function _emscripten_bind_Mat44_Adjointed3x3_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_SetInversed3x3_1")
declare function _emscripten_bind_Mat44_SetInversed3x3_1(self: usize, inM: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_GetDeterminant3x3_0")
declare function _emscripten_bind_Mat44_GetDeterminant3x3_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Mat44_Inversed3x3_0")
declare function _emscripten_bind_Mat44_Inversed3x3_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_GetDirectionPreservingMatrix_0")
declare function _emscripten_bind_Mat44_GetDirectionPreservingMatrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_PreTranslated_1")
declare function _emscripten_bind_Mat44_PreTranslated_1(self: usize, inTranslation: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_PostTranslated_1")
declare function _emscripten_bind_Mat44_PostTranslated_1(self: usize, inTranslation: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_PreScaled_1")
declare function _emscripten_bind_Mat44_PreScaled_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_PostScaled_1")
declare function _emscripten_bind_Mat44_PostScaled_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_Decompose_1")
declare function _emscripten_bind_Mat44_Decompose_1(self: usize, outScale: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_SetColumn3_2")
declare function _emscripten_bind_Mat44_SetColumn3_2(self: usize, inCol: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_Mat44_SetColumn4_2")
declare function _emscripten_bind_Mat44_SetColumn4_2(self: usize, inCol: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_Mat44_SetAxisX_1")
declare function _emscripten_bind_Mat44_SetAxisX_1(self: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_Mat44_SetAxisY_1")
declare function _emscripten_bind_Mat44_SetAxisY_1(self: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_Mat44_SetAxisZ_1")
declare function _emscripten_bind_Mat44_SetAxisZ_1(self: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_Mat44_SetDiagonal3_1")
declare function _emscripten_bind_Mat44_SetDiagonal3_1(self: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_Mat44_SetDiagonal4_1")
declare function _emscripten_bind_Mat44_SetDiagonal4_1(self: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_Mat44_SetTranslation_1")
declare function _emscripten_bind_Mat44_SetTranslation_1(self: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_Mat44_GetColumn3_1")
declare function _emscripten_bind_Mat44_GetColumn3_1(self: usize, inCol: usize): usize;
@external("Jolt", "_emscripten_bind_Mat44_GetColumn4_1")
declare function _emscripten_bind_Mat44_GetColumn4_1(self: usize, inCol: usize): usize;
@final
@unmanaged
export class Mat44 {
static new(): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_Mat44_0());
}
__destroy__(): void {
_emscripten_bind_Mat44___destroy___0(changetype<usize>(this));
}
static sZero(): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sZero_0());
}
static sIdentity(): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sIdentity_0());
}
static sRotationX(inX: f32): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sRotationX_1(inX));
}
static sRotationY(inY: f32): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sRotationY_1(inY));
}
static sRotationZ(inZ: f32): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sRotationZ_1(inZ));
}
static sRotation(inQ: Quat): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sRotation_1(changetype<usize>(inQ)));
}
static sRotationAxisAngle(inAxis: Vec3, inAngle: f32): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sRotationAxisAngle_2(changetype<usize>(inAxis), inAngle));
}
static sTranslation(inTranslation: Vec3): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sTranslation_1(changetype<usize>(inTranslation)));
}
static sRotationTranslation(inRotation: Quat, inTranslation: Vec3): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sRotationTranslation_2(changetype<usize>(inRotation), changetype<usize>(inTranslation)));
}
static sInverseRotationTranslation(inRotation: Quat, inTranslation: Vec3): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sInverseRotationTranslation_2(changetype<usize>(inRotation), changetype<usize>(inTranslation)));
}
static sScale(inScale: f32): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sScale_1(inScale));
}
static sScaleVec3(inScale: Vec3): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sScaleVec3_1(changetype<usize>(inScale)));
}
static sOuterProduct(inV1: Vec3, inV2: Vec3): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sOuterProduct_2(changetype<usize>(inV1), changetype<usize>(inV2)));
}
static sCrossProduct(inV: Vec3): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sCrossProduct_1(changetype<usize>(inV)));
}
static sQuatLeftMultiply(inQ: Quat): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sQuatLeftMultiply_1(changetype<usize>(inQ)));
}
static sQuatRightMultiply(inQ: Quat): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sQuatRightMultiply_1(changetype<usize>(inQ)));
}
static sLookAt(inPos: Vec3, inTarget: Vec3, inUp: Vec3): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sLookAt_3(changetype<usize>(inPos), changetype<usize>(inTarget), changetype<usize>(inUp)));
}
static sPerspective(inFovY: f32, inAspect: f32, inNear: f32, inFar: f32): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_sPerspective_4(inFovY, inAspect, inNear, inFar));
}
GetAxisX(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Mat44_GetAxisX_0(changetype<usize>(this)));
}
GetAxisY(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Mat44_GetAxisY_0(changetype<usize>(this)));
}
GetAxisZ(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Mat44_GetAxisZ_0(changetype<usize>(this)));
}
GetDiagonal3(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Mat44_GetDiagonal3_0(changetype<usize>(this)));
}
GetDiagonal4(): Vec4 {
return changetype<Vec4>(_emscripten_bind_Mat44_GetDiagonal4_0(changetype<usize>(this)));
}
GetRotation(): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_GetRotation_0(changetype<usize>(this)));
}
GetRotationSafe(): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_GetRotationSafe_0(changetype<usize>(this)));
}
GetQuaternion(): Quat {
return changetype<Quat>(_emscripten_bind_Mat44_GetQuaternion_0(changetype<usize>(this)));
}
GetTranslation(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Mat44_GetTranslation_0(changetype<usize>(this)));
}
Equals(inV: Mat44): bool {
return _emscripten_bind_Mat44_Equals_1(changetype<usize>(this), changetype<usize>(inV));
}
NotEquals(inV: Mat44): bool {
return _emscripten_bind_Mat44_NotEquals_1(changetype<usize>(this), changetype<usize>(inV));
}
IsClose_2(inM: Mat44, inMaxDistSq: f32): bool {
return _emscripten_bind_Mat44_IsClose_2(changetype<usize>(this), changetype<usize>(inM), inMaxDistSq);
}
IsClose_1(inM: Mat44): bool {
return _emscripten_bind_Mat44_IsClose_1(changetype<usize>(this), changetype<usize>(inM));
}
Add(inM: Mat44): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_Add_1(changetype<usize>(this), changetype<usize>(inM)));
}
MulFloat(inV: f32): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_MulFloat_1(changetype<usize>(this), inV));
}
MulMat44(inM: Mat44): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_MulMat44_1(changetype<usize>(this), changetype<usize>(inM)));
}
MulVec3(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Mat44_MulVec3_1(changetype<usize>(this), changetype<usize>(inV)));
}
MulVec4(inV: Vec4): Vec4 {
return changetype<Vec4>(_emscripten_bind_Mat44_MulVec4_1(changetype<usize>(this), changetype<usize>(inV)));
}
AddMat44(inM: Mat44): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_AddMat44_1(changetype<usize>(this), changetype<usize>(inM)));
}
SubMat44(inM: Mat44): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_SubMat44_1(changetype<usize>(this), changetype<usize>(inM)));
}
Multiply3x3(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Mat44_Multiply3x3_1(changetype<usize>(this), changetype<usize>(inV)));
}
Multiply3x3Transposed(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Mat44_Multiply3x3Transposed_1(changetype<usize>(this), changetype<usize>(inV)));
}
Multiply3x3LeftTransposed(inM: Mat44): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_Multiply3x3LeftTransposed_1(changetype<usize>(this), changetype<usize>(inM)));
}
Multiply3x3RightTransposed(inM: Mat44): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_Multiply3x3RightTransposed_1(changetype<usize>(this), changetype<usize>(inM)));
}
Transposed(): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_Transposed_0(changetype<usize>(this)));
}
Transposed3x3(): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_Transposed3x3_0(changetype<usize>(this)));
}
Inversed(): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_Inversed_0(changetype<usize>(this)));
}
InversedRotationTranslation(): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_InversedRotationTranslation_0(changetype<usize>(this)));
}
Adjointed3x3(): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_Adjointed3x3_0(changetype<usize>(this)));
}
SetInversed3x3(inM: Mat44): bool {
return _emscripten_bind_Mat44_SetInversed3x3_1(changetype<usize>(this), changetype<usize>(inM));
}
GetDeterminant3x3(): f32 {
return _emscripten_bind_Mat44_GetDeterminant3x3_0(changetype<usize>(this));
}
Inversed3x3(): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_Inversed3x3_0(changetype<usize>(this)));
}
GetDirectionPreservingMatrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_GetDirectionPreservingMatrix_0(changetype<usize>(this)));
}
PreTranslated(inTranslation: Vec3): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_PreTranslated_1(changetype<usize>(this), changetype<usize>(inTranslation)));
}
PostTranslated(inTranslation: Vec3): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_PostTranslated_1(changetype<usize>(this), changetype<usize>(inTranslation)));
}
PreScaled(inScale: Vec3): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_PreScaled_1(changetype<usize>(this), changetype<usize>(inScale)));
}
PostScaled(inScale: Vec3): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_PostScaled_1(changetype<usize>(this), changetype<usize>(inScale)));
}
Decompose(outScale: Vec3): Mat44 {
return changetype<Mat44>(_emscripten_bind_Mat44_Decompose_1(changetype<usize>(this), changetype<usize>(outScale)));
}
SetColumn3(inCol: i32, inV: Vec3): void {
_emscripten_bind_Mat44_SetColumn3_2(changetype<usize>(this), inCol, changetype<usize>(inV));
}
SetColumn4(inCol: i32, inV: Vec4): void {
_emscripten_bind_Mat44_SetColumn4_2(changetype<usize>(this), inCol, changetype<usize>(inV));
}
SetAxisX(inV: Vec3): void {
_emscripten_bind_Mat44_SetAxisX_1(changetype<usize>(this), changetype<usize>(inV));
}
SetAxisY(inV: Vec3): void {
_emscripten_bind_Mat44_SetAxisY_1(changetype<usize>(this), changetype<usize>(inV));
}
SetAxisZ(inV: Vec3): void {
_emscripten_bind_Mat44_SetAxisZ_1(changetype<usize>(this), changetype<usize>(inV));
}
SetDiagonal3(inV: Vec3): void {
_emscripten_bind_Mat44_SetDiagonal3_1(changetype<usize>(this), changetype<usize>(inV));
}
SetDiagonal4(inV: Vec4): void {
_emscripten_bind_Mat44_SetDiagonal4_1(changetype<usize>(this), changetype<usize>(inV));
}
SetTranslation(inV: Vec3): void {
_emscripten_bind_Mat44_SetTranslation_1(changetype<usize>(this), changetype<usize>(inV));
}
GetColumn3(inCol: i32): Vec3 {
return changetype<Vec3>(_emscripten_bind_Mat44_GetColumn3_1(changetype<usize>(this), inCol));
}
GetColumn4(inCol: i32): Vec4 {
return changetype<Vec4>(_emscripten_bind_Mat44_GetColumn4_1(changetype<usize>(this), inCol));
}
}
@external("Jolt", "_emscripten_bind_RMat44_RMat44_0")
declare function _emscripten_bind_RMat44_RMat44_0(): usize;
@external("Jolt", "_emscripten_bind_RMat44___destroy___0")
declare function _emscripten_bind_RMat44___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_RMat44_sZero_0")
declare function _emscripten_bind_RMat44_sZero_0(): usize;
@external("Jolt", "_emscripten_bind_RMat44_sIdentity_0")
declare function _emscripten_bind_RMat44_sIdentity_0(): usize;
@external("Jolt", "_emscripten_bind_RMat44_sRotation_1")
declare function _emscripten_bind_RMat44_sRotation_1(inQ: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_sTranslation_1")
declare function _emscripten_bind_RMat44_sTranslation_1(inTranslation: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_sRotationTranslation_2")
declare function _emscripten_bind_RMat44_sRotationTranslation_2(inRotation: usize, inTranslation: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_sInverseRotationTranslation_2")
declare function _emscripten_bind_RMat44_sInverseRotationTranslation_2(inRotation: usize, inTranslation: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_ToMat44_0")
declare function _emscripten_bind_RMat44_ToMat44_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_Equals_1")
declare function _emscripten_bind_RMat44_Equals_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_NotEquals_1")
declare function _emscripten_bind_RMat44_NotEquals_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_MulVec3_1")
declare function _emscripten_bind_RMat44_MulVec3_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_MulRVec3_1")
declare function _emscripten_bind_RMat44_MulRVec3_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_MulMat44_1")
declare function _emscripten_bind_RMat44_MulMat44_1(self: usize, inM: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_MulRMat44_1")
declare function _emscripten_bind_RMat44_MulRMat44_1(self: usize, inM: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_GetAxisX_0")
declare function _emscripten_bind_RMat44_GetAxisX_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_GetAxisY_0")
declare function _emscripten_bind_RMat44_GetAxisY_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_GetAxisZ_0")
declare function _emscripten_bind_RMat44_GetAxisZ_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_GetRotation_0")
declare function _emscripten_bind_RMat44_GetRotation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_SetRotation_1")
declare function _emscripten_bind_RMat44_SetRotation_1(self: usize, inRotation: usize): void;
@external("Jolt", "_emscripten_bind_RMat44_GetQuaternion_0")
declare function _emscripten_bind_RMat44_GetQuaternion_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_GetTranslation_0")
declare function _emscripten_bind_RMat44_GetTranslation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_IsClose_2")
declare function _emscripten_bind_RMat44_IsClose_2(self: usize, inM: usize, inMaxDistSq: f64): usize;
@external("Jolt", "_emscripten_bind_RMat44_IsClose_1")
declare function _emscripten_bind_RMat44_IsClose_1(self: usize, inM: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_Multiply3x3_1")
declare function _emscripten_bind_RMat44_Multiply3x3_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_Multiply3x3Transposed_1")
declare function _emscripten_bind_RMat44_Multiply3x3Transposed_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_Transposed3x3_0")
declare function _emscripten_bind_RMat44_Transposed3x3_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_Inversed_0")
declare function _emscripten_bind_RMat44_Inversed_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_InversedRotationTranslation_0")
declare function _emscripten_bind_RMat44_InversedRotationTranslation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_PreTranslated_1")
declare function _emscripten_bind_RMat44_PreTranslated_1(self: usize, inTranslation: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_PostTranslated_1")
declare function _emscripten_bind_RMat44_PostTranslated_1(self: usize, inTranslation: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_PreScaled_1")
declare function _emscripten_bind_RMat44_PreScaled_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_PostScaled_1")
declare function _emscripten_bind_RMat44_PostScaled_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_GetDirectionPreservingMatrix_0")
declare function _emscripten_bind_RMat44_GetDirectionPreservingMatrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_SetColumn3_2")
declare function _emscripten_bind_RMat44_SetColumn3_2(self: usize, inCol: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_RMat44_GetColumn3_1")
declare function _emscripten_bind_RMat44_GetColumn3_1(self: usize, inCol: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_SetAxisX_1")
declare function _emscripten_bind_RMat44_SetAxisX_1(self: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_RMat44_SetAxisY_1")
declare function _emscripten_bind_RMat44_SetAxisY_1(self: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_RMat44_SetAxisZ_1")
declare function _emscripten_bind_RMat44_SetAxisZ_1(self: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_RMat44_SetTranslation_1")
declare function _emscripten_bind_RMat44_SetTranslation_1(self: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_RMat44_SetColumn4_2")
declare function _emscripten_bind_RMat44_SetColumn4_2(self: usize, inCol: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_RMat44_GetColumn4_1")
declare function _emscripten_bind_RMat44_GetColumn4_1(self: usize, inCol: usize): usize;
@external("Jolt", "_emscripten_bind_RMat44_Decompose_1")
declare function _emscripten_bind_RMat44_Decompose_1(self: usize, outScale: usize): usize;
@final
@unmanaged
export class RMat44 {
static new(): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_RMat44_0());
}
__destroy__(): void {
_emscripten_bind_RMat44___destroy___0(changetype<usize>(this));
}
static sZero(): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_sZero_0());
}
static sIdentity(): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_sIdentity_0());
}
static sRotation(inQ: Quat): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_sRotation_1(changetype<usize>(inQ)));
}
static sTranslation(inTranslation: RVec3): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_sTranslation_1(changetype<usize>(inTranslation)));
}
static sRotationTranslation(inRotation: Quat, inTranslation: RVec3): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_sRotationTranslation_2(changetype<usize>(inRotation), changetype<usize>(inTranslation)));
}
static sInverseRotationTranslation(inRotation: Quat, inTranslation: RVec3): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_sInverseRotationTranslation_2(changetype<usize>(inRotation), changetype<usize>(inTranslation)));
}
ToMat44(): Mat44 {
return changetype<Mat44>(_emscripten_bind_RMat44_ToMat44_0(changetype<usize>(this)));
}
Equals(inV: RMat44): bool {
return _emscripten_bind_RMat44_Equals_1(changetype<usize>(this), changetype<usize>(inV));
}
NotEquals(inV: RMat44): bool {
return _emscripten_bind_RMat44_NotEquals_1(changetype<usize>(this), changetype<usize>(inV));
}
MulVec3(inV: Vec3): RVec3 {
return changetype<RVec3>(_emscripten_bind_RMat44_MulVec3_1(changetype<usize>(this), changetype<usize>(inV)));
}
MulRVec3(inV: RVec3): RVec3 {
return changetype<RVec3>(_emscripten_bind_RMat44_MulRVec3_1(changetype<usize>(this), changetype<usize>(inV)));
}
MulMat44(inM: Mat44): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_MulMat44_1(changetype<usize>(this), changetype<usize>(inM)));
}
MulRMat44(inM: RMat44): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_MulRMat44_1(changetype<usize>(this), changetype<usize>(inM)));
}
GetAxisX(): Vec3 {
return changetype<Vec3>(_emscripten_bind_RMat44_GetAxisX_0(changetype<usize>(this)));
}
GetAxisY(): Vec3 {
return changetype<Vec3>(_emscripten_bind_RMat44_GetAxisY_0(changetype<usize>(this)));
}
GetAxisZ(): Vec3 {
return changetype<Vec3>(_emscripten_bind_RMat44_GetAxisZ_0(changetype<usize>(this)));
}
GetRotation(): Mat44 {
return changetype<Mat44>(_emscripten_bind_RMat44_GetRotation_0(changetype<usize>(this)));
}
SetRotation(inRotation: Mat44): void {
_emscripten_bind_RMat44_SetRotation_1(changetype<usize>(this), changetype<usize>(inRotation));
}
GetQuaternion(): Quat {
return changetype<Quat>(_emscripten_bind_RMat44_GetQuaternion_0(changetype<usize>(this)));
}
GetTranslation(): RVec3 {
return changetype<RVec3>(_emscripten_bind_RMat44_GetTranslation_0(changetype<usize>(this)));
}
IsClose_2(inM: RMat44, inMaxDistSq: f64): bool {
return _emscripten_bind_RMat44_IsClose_2(changetype<usize>(this), changetype<usize>(inM), inMaxDistSq);
}
IsClose_1(inM: RMat44): bool {
return _emscripten_bind_RMat44_IsClose_1(changetype<usize>(this), changetype<usize>(inM));
}
Multiply3x3(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_RMat44_Multiply3x3_1(changetype<usize>(this), changetype<usize>(inV)));
}
Multiply3x3Transposed(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_RMat44_Multiply3x3Transposed_1(changetype<usize>(this), changetype<usize>(inV)));
}
Transposed3x3(): Mat44 {
return changetype<Mat44>(_emscripten_bind_RMat44_Transposed3x3_0(changetype<usize>(this)));
}
Inversed(): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_Inversed_0(changetype<usize>(this)));
}
InversedRotationTranslation(): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_InversedRotationTranslation_0(changetype<usize>(this)));
}
PreTranslated(inTranslation: Vec3): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_PreTranslated_1(changetype<usize>(this), changetype<usize>(inTranslation)));
}
PostTranslated(inTranslation: Vec3): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_PostTranslated_1(changetype<usize>(this), changetype<usize>(inTranslation)));
}
PreScaled(inScale: Vec3): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_PreScaled_1(changetype<usize>(this), changetype<usize>(inScale)));
}
PostScaled(inScale: Vec3): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_PostScaled_1(changetype<usize>(this), changetype<usize>(inScale)));
}
GetDirectionPreservingMatrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_RMat44_GetDirectionPreservingMatrix_0(changetype<usize>(this)));
}
SetColumn3(inCol: i32, inV: Vec3): void {
_emscripten_bind_RMat44_SetColumn3_2(changetype<usize>(this), inCol, changetype<usize>(inV));
}
GetColumn3(inCol: i32): Vec3 {
return changetype<Vec3>(_emscripten_bind_RMat44_GetColumn3_1(changetype<usize>(this), inCol));
}
SetAxisX(inV: Vec3): void {
_emscripten_bind_RMat44_SetAxisX_1(changetype<usize>(this), changetype<usize>(inV));
}
SetAxisY(inV: Vec3): void {
_emscripten_bind_RMat44_SetAxisY_1(changetype<usize>(this), changetype<usize>(inV));
}
SetAxisZ(inV: Vec3): void {
_emscripten_bind_RMat44_SetAxisZ_1(changetype<usize>(this), changetype<usize>(inV));
}
SetTranslation(inV: RVec3): void {
_emscripten_bind_RMat44_SetTranslation_1(changetype<usize>(this), changetype<usize>(inV));
}
SetColumn4(inCol: i32, inV: Vec4): void {
_emscripten_bind_RMat44_SetColumn4_2(changetype<usize>(this), inCol, changetype<usize>(inV));
}
GetColumn4(inCol: i32): Vec4 {
return changetype<Vec4>(_emscripten_bind_RMat44_GetColumn4_1(changetype<usize>(this), inCol));
}
Decompose(outScale: Vec3): RMat44 {
return changetype<RMat44>(_emscripten_bind_RMat44_Decompose_1(changetype<usize>(this), changetype<usize>(outScale)));
}
}
@external("Jolt", "_emscripten_bind_AABox_AABox_0")
declare function _emscripten_bind_AABox_AABox_0(): usize;
@external("Jolt", "_emscripten_bind_AABox_AABox_2")
declare function _emscripten_bind_AABox_AABox_2(inMin: usize, inMax: usize): usize;
@external("Jolt", "_emscripten_bind_AABox___destroy___0")
declare function _emscripten_bind_AABox___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_AABox_sBiggest_0")
declare function _emscripten_bind_AABox_sBiggest_0(): usize;
@external("Jolt", "_emscripten_bind_AABox_sFromTwoPoints_2")
declare function _emscripten_bind_AABox_sFromTwoPoints_2(inP1: usize, inP2: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_sFromTriangle_2")
declare function _emscripten_bind_AABox_sFromTriangle_2(inVertices: usize, inTriangle: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_Equals_1")
declare function _emscripten_bind_AABox_Equals_1(self: usize, inB: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_NotEquals_1")
declare function _emscripten_bind_AABox_NotEquals_1(self: usize, inB: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_SetEmpty_0")
declare function _emscripten_bind_AABox_SetEmpty_0(self: usize): void;
@external("Jolt", "_emscripten_bind_AABox_IsValid_0")
declare function _emscripten_bind_AABox_IsValid_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_EncapsulateVec3_1")
declare function _emscripten_bind_AABox_EncapsulateVec3_1(self: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_AABox_EncapsulateAABox_1")
declare function _emscripten_bind_AABox_EncapsulateAABox_1(self: usize, inBox: usize): void;
@external("Jolt", "_emscripten_bind_AABox_EncapsulateTriangle_1")
declare function _emscripten_bind_AABox_EncapsulateTriangle_1(self: usize, inTriangle: usize): void;
@external("Jolt", "_emscripten_bind_AABox_EncapsulateIndexedTriangle_2")
declare function _emscripten_bind_AABox_EncapsulateIndexedTriangle_2(self: usize, inVertices: usize, inTriangle: usize): void;
@external("Jolt", "_emscripten_bind_AABox_Intersect_1")
declare function _emscripten_bind_AABox_Intersect_1(self: usize, inOther: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_EnsureMinimalEdgeLength_1")
declare function _emscripten_bind_AABox_EnsureMinimalEdgeLength_1(self: usize, inMinEdgeLength: f32): void;
@external("Jolt", "_emscripten_bind_AABox_ExpandBy_1")
declare function _emscripten_bind_AABox_ExpandBy_1(self: usize, inV: usize): void;
@external("Jolt", "_emscripten_bind_AABox_GetCenter_0")
declare function _emscripten_bind_AABox_GetCenter_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_GetExtent_0")
declare function _emscripten_bind_AABox_GetExtent_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_GetSize_0")
declare function _emscripten_bind_AABox_GetSize_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_GetSurfaceArea_0")
declare function _emscripten_bind_AABox_GetSurfaceArea_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_AABox_GetVolume_0")
declare function _emscripten_bind_AABox_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_AABox_ContainsVec3_1")
declare function _emscripten_bind_AABox_ContainsVec3_1(self: usize, inOther: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_ContainsRVec3_1")
declare function _emscripten_bind_AABox_ContainsRVec3_1(self: usize, inOther: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_OverlapsAABox_1")
declare function _emscripten_bind_AABox_OverlapsAABox_1(self: usize, inOther: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_OverlapsPlane_1")
declare function _emscripten_bind_AABox_OverlapsPlane_1(self: usize, inOther: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_TranslateVec3_1")
declare function _emscripten_bind_AABox_TranslateVec3_1(self: usize, inOther: usize): void;
@external("Jolt", "_emscripten_bind_AABox_TranslateRVec3_1")
declare function _emscripten_bind_AABox_TranslateRVec3_1(self: usize, inOther: usize): void;
@external("Jolt", "_emscripten_bind_AABox_TransformedMat44_1")
declare function _emscripten_bind_AABox_TransformedMat44_1(self: usize, inOther: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_TransformedRMat44_1")
declare function _emscripten_bind_AABox_TransformedRMat44_1(self: usize, inOther: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_Scaled_1")
declare function _emscripten_bind_AABox_Scaled_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_GetClosestPoint_1")
declare function _emscripten_bind_AABox_GetClosestPoint_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_GetSqDistanceTo_1")
declare function _emscripten_bind_AABox_GetSqDistanceTo_1(self: usize, inV: usize): f32;
@external("Jolt", "_emscripten_bind_AABox_get_mMin_0")
declare function _emscripten_bind_AABox_get_mMin_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_get_mMax_0")
declare function _emscripten_bind_AABox_get_mMax_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_AABox_set_mMin_1")
declare function _emscripten_bind_AABox_set_mMin_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_AABox_set_mMax_1")
declare function _emscripten_bind_AABox_set_mMax_1(self: usize, value: usize): void;
@final
@unmanaged
export class AABox {
static new0(): AABox {
return changetype<AABox>(_emscripten_bind_AABox_AABox_0());
}
static new2(inMin: Vec3, inMax: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_AABox_AABox_2(changetype<usize>(inMin), changetype<usize>(inMax)));
}
__destroy__(): void {
_emscripten_bind_AABox___destroy___0(changetype<usize>(this));
}
static sBiggest(): AABox {
return changetype<AABox>(_emscripten_bind_AABox_sBiggest_0());
}
static sFromTwoPoints(inP1: Vec3, inP2: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_AABox_sFromTwoPoints_2(changetype<usize>(inP1), changetype<usize>(inP2)));
}
static sFromTriangle(inVertices: VertexList, inTriangle: IndexedTriangle): AABox {
return changetype<AABox>(_emscripten_bind_AABox_sFromTriangle_2(changetype<usize>(inVertices), changetype<usize>(inTriangle)));
}
Equals(inB: AABox): bool {
return _emscripten_bind_AABox_Equals_1(changetype<usize>(this), changetype<usize>(inB));
}
NotEquals(inB: AABox): bool {
return _emscripten_bind_AABox_NotEquals_1(changetype<usize>(this), changetype<usize>(inB));
}
SetEmpty(): void {
_emscripten_bind_AABox_SetEmpty_0(changetype<usize>(this));
}
IsValid(): bool {
return _emscripten_bind_AABox_IsValid_0(changetype<usize>(this));
}
EncapsulateVec3(inV: Vec3): void {
_emscripten_bind_AABox_EncapsulateVec3_1(changetype<usize>(this), changetype<usize>(inV));
}
EncapsulateAABox(inBox: AABox): void {
_emscripten_bind_AABox_EncapsulateAABox_1(changetype<usize>(this), changetype<usize>(inBox));
}
EncapsulateTriangle(inTriangle: Triangle): void {
_emscripten_bind_AABox_EncapsulateTriangle_1(changetype<usize>(this), changetype<usize>(inTriangle));
}
EncapsulateIndexedTriangle(inVertices: VertexList, inTriangle: IndexedTriangle): void {
_emscripten_bind_AABox_EncapsulateIndexedTriangle_2(changetype<usize>(this), changetype<usize>(inVertices), changetype<usize>(inTriangle));
}
Intersect(inOther: AABox): AABox {
return changetype<AABox>(_emscripten_bind_AABox_Intersect_1(changetype<usize>(this), changetype<usize>(inOther)));
}
EnsureMinimalEdgeLength(inMinEdgeLength: f32): void {
_emscripten_bind_AABox_EnsureMinimalEdgeLength_1(changetype<usize>(this), inMinEdgeLength);
}
ExpandBy(inV: Vec3): void {
_emscripten_bind_AABox_ExpandBy_1(changetype<usize>(this), changetype<usize>(inV));
}
GetCenter(): Vec3 {
return changetype<Vec3>(_emscripten_bind_AABox_GetCenter_0(changetype<usize>(this)));
}
GetExtent(): Vec3 {
return changetype<Vec3>(_emscripten_bind_AABox_GetExtent_0(changetype<usize>(this)));
}
GetSize(): Vec3 {
return changetype<Vec3>(_emscripten_bind_AABox_GetSize_0(changetype<usize>(this)));
}
GetSurfaceArea(): f32 {
return _emscripten_bind_AABox_GetSurfaceArea_0(changetype<usize>(this));
}
GetVolume(): f32 {
return _emscripten_bind_AABox_GetVolume_0(changetype<usize>(this));
}
ContainsVec3(inOther: Vec3): bool {
return _emscripten_bind_AABox_ContainsVec3_1(changetype<usize>(this), changetype<usize>(inOther));
}
ContainsRVec3(inOther: RVec3): bool {
return _emscripten_bind_AABox_ContainsRVec3_1(changetype<usize>(this), changetype<usize>(inOther));
}
OverlapsAABox(inOther: AABox): bool {
return _emscripten_bind_AABox_OverlapsAABox_1(changetype<usize>(this), changetype<usize>(inOther));
}
OverlapsPlane(inOther: AABox): bool {
return _emscripten_bind_AABox_OverlapsPlane_1(changetype<usize>(this), changetype<usize>(inOther));
}
TranslateVec3(inOther: Vec3): void {
_emscripten_bind_AABox_TranslateVec3_1(changetype<usize>(this), changetype<usize>(inOther));
}
TranslateRVec3(inOther: RVec3): void {
_emscripten_bind_AABox_TranslateRVec3_1(changetype<usize>(this), changetype<usize>(inOther));
}
TransformedMat44(inOther: Mat44): AABox {
return changetype<AABox>(_emscripten_bind_AABox_TransformedMat44_1(changetype<usize>(this), changetype<usize>(inOther)));
}
TransformedRMat44(inOther: RMat44): AABox {
return changetype<AABox>(_emscripten_bind_AABox_TransformedRMat44_1(changetype<usize>(this), changetype<usize>(inOther)));
}
Scaled(inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_AABox_Scaled_1(changetype<usize>(this), changetype<usize>(inScale)));
}
GetClosestPoint(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_AABox_GetClosestPoint_1(changetype<usize>(this), changetype<usize>(inV)));
}
GetSqDistanceTo(inV: Vec3): f32 {
return _emscripten_bind_AABox_GetSqDistanceTo_1(changetype<usize>(this), changetype<usize>(inV));
}
get mMin(): Vec3 {
return changetype<Vec3>(_emscripten_bind_AABox_get_mMin_0(changetype<usize>(this)));
}
get mMax(): Vec3 {
return changetype<Vec3>(_emscripten_bind_AABox_get_mMax_0(changetype<usize>(this)));
}
set mMin(value: Vec3) {
_emscripten_bind_AABox_set_mMin_1(changetype<usize>(this), changetype<usize>(value));
}
set mMax(value: Vec3) {
_emscripten_bind_AABox_set_mMax_1(changetype<usize>(this), changetype<usize>(value));
}
}
@external("Jolt", "_emscripten_bind_OrientedBox_OrientedBox_0")
declare function _emscripten_bind_OrientedBox_OrientedBox_0(): usize;
@external("Jolt", "_emscripten_bind_OrientedBox_OrientedBox_2")
declare function _emscripten_bind_OrientedBox_OrientedBox_2(inOrientation: usize, inHalfExtents: usize): usize;
@external("Jolt", "_emscripten_bind_OrientedBox___destroy___0")
declare function _emscripten_bind_OrientedBox___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_OrientedBox_get_mOrientation_0")
declare function _emscripten_bind_OrientedBox_get_mOrientation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OrientedBox_get_mHalfExtents_0")
declare function _emscripten_bind_OrientedBox_get_mHalfExtents_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OrientedBox_set_mOrientation_1")
declare function _emscripten_bind_OrientedBox_set_mOrientation_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_OrientedBox_set_mHalfExtents_1")
declare function _emscripten_bind_OrientedBox_set_mHalfExtents_1(self: usize, value: usize): void;
@final
@unmanaged
export class OrientedBox {
static new0(): OrientedBox {
return changetype<OrientedBox>(_emscripten_bind_OrientedBox_OrientedBox_0());
}
static new2(inOrientation: Mat44, inHalfExtents: Vec3): OrientedBox {
return changetype<OrientedBox>(_emscripten_bind_OrientedBox_OrientedBox_2(changetype<usize>(inOrientation), changetype<usize>(inHalfExtents)));
}
__destroy__(): void {
_emscripten_bind_OrientedBox___destroy___0(changetype<usize>(this));
}
get mOrientation(): Mat44 {
return changetype<Mat44>(_emscripten_bind_OrientedBox_get_mOrientation_0(changetype<usize>(this)));
}
get mHalfExtents(): Vec3 {
return changetype<Vec3>(_emscripten_bind_OrientedBox_get_mHalfExtents_0(changetype<usize>(this)));
}
set mOrientation(value: Mat44) {
_emscripten_bind_OrientedBox_set_mOrientation_1(changetype<usize>(this), changetype<usize>(value));
}
set mHalfExtents(value: Vec3) {
_emscripten_bind_OrientedBox_set_mHalfExtents_1(changetype<usize>(this), changetype<usize>(value));
}
}
@external("Jolt", "_emscripten_bind_RayCast_RayCast_0")
declare function _emscripten_bind_RayCast_RayCast_0(): usize;
@external("Jolt", "_emscripten_bind_RayCast_RayCast_2")
declare function _emscripten_bind_RayCast_RayCast_2(inOrigin: usize, inDirection: usize): usize;
@external("Jolt", "_emscripten_bind_RayCast___destroy___0")
declare function _emscripten_bind_RayCast___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_RayCast_Transformed_1")
declare function _emscripten_bind_RayCast_Transformed_1(self: usize, inTransform: usize): usize;
@external("Jolt", "_emscripten_bind_RayCast_Translated_1")
declare function _emscripten_bind_RayCast_Translated_1(self: usize, inTranslation: usize): usize;
@external("Jolt", "_emscripten_bind_RayCast_GetPointOnRay_1")
declare function _emscripten_bind_RayCast_GetPointOnRay_1(self: usize, inFraction: f32): usize;
@external("Jolt", "_emscripten_bind_RayCast_get_mOrigin_0")
declare function _emscripten_bind_RayCast_get_mOrigin_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RayCast_get_mDirection_0")
declare function _emscripten_bind_RayCast_get_mDirection_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RayCast_set_mOrigin_1")
declare function _emscripten_bind_RayCast_set_mOrigin_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_RayCast_set_mDirection_1")
declare function _emscripten_bind_RayCast_set_mDirection_1(self: usize, value: usize): void;
@final
@unmanaged
export class RayCast {
static new0(): RayCast {
return changetype<RayCast>(_emscripten_bind_RayCast_RayCast_0());
}
static new2(inOrigin: Vec3, inDirection: Vec3): RayCast {
return changetype<RayCast>(_emscripten_bind_RayCast_RayCast_2(changetype<usize>(inOrigin), changetype<usize>(inDirection)));
}
__destroy__(): void {
_emscripten_bind_RayCast___destroy___0(changetype<usize>(this));
}
Transformed(inTransform: Mat44): RayCast {
return changetype<RayCast>(_emscripten_bind_RayCast_Transformed_1(changetype<usize>(this), changetype<usize>(inTransform)));
}
Translated(inTranslation: Vec3): RayCast {
return changetype<RayCast>(_emscripten_bind_RayCast_Translated_1(changetype<usize>(this), changetype<usize>(inTranslation)));
}
GetPointOnRay(inFraction: f32): Vec3 {
return changetype<Vec3>(_emscripten_bind_RayCast_GetPointOnRay_1(changetype<usize>(this), inFraction));
}
get mOrigin(): Vec3 {
return changetype<Vec3>(_emscripten_bind_RayCast_get_mOrigin_0(changetype<usize>(this)));
}
get mDirection(): Vec3 {
return changetype<Vec3>(_emscripten_bind_RayCast_get_mDirection_0(changetype<usize>(this)));
}
set mOrigin(value: Vec3) {
_emscripten_bind_RayCast_set_mOrigin_1(changetype<usize>(this), changetype<usize>(value));
}
set mDirection(value: Vec3) {
_emscripten_bind_RayCast_set_mDirection_1(changetype<usize>(this), changetype<usize>(value));
}
}
@external("Jolt", "_emscripten_bind_RRayCast_RRayCast_0")
declare function _emscripten_bind_RRayCast_RRayCast_0(): usize;
@external("Jolt", "_emscripten_bind_RRayCast_RRayCast_2")
declare function _emscripten_bind_RRayCast_RRayCast_2(inOrigin: usize, inDirection: usize): usize;
@external("Jolt", "_emscripten_bind_RRayCast___destroy___0")
declare function _emscripten_bind_RRayCast___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_RRayCast_Transformed_1")
declare function _emscripten_bind_RRayCast_Transformed_1(self: usize, inTransform: usize): usize;
@external("Jolt", "_emscripten_bind_RRayCast_Translated_1")
declare function _emscripten_bind_RRayCast_Translated_1(self: usize, inTranslation: usize): usize;
@external("Jolt", "_emscripten_bind_RRayCast_GetPointOnRay_1")
declare function _emscripten_bind_RRayCast_GetPointOnRay_1(self: usize, inFraction: f32): usize;
@external("Jolt", "_emscripten_bind_RRayCast_get_mOrigin_0")
declare function _emscripten_bind_RRayCast_get_mOrigin_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RRayCast_get_mDirection_0")
declare function _emscripten_bind_RRayCast_get_mDirection_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RRayCast_set_mOrigin_1")
declare function _emscripten_bind_RRayCast_set_mOrigin_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_RRayCast_set_mDirection_1")
declare function _emscripten_bind_RRayCast_set_mDirection_1(self: usize, value: usize): void;
@final
@unmanaged
export class RRayCast {
static new0(): RRayCast {
return changetype<RRayCast>(_emscripten_bind_RRayCast_RRayCast_0());
}
static new2(inOrigin: RVec3, inDirection: Vec3): RRayCast {
return changetype<RRayCast>(_emscripten_bind_RRayCast_RRayCast_2(changetype<usize>(inOrigin), changetype<usize>(inDirection)));
}
__destroy__(): void {
_emscripten_bind_RRayCast___destroy___0(changetype<usize>(this));
}
Transformed(inTransform: RMat44): RRayCast {
return changetype<RRayCast>(_emscripten_bind_RRayCast_Transformed_1(changetype<usize>(this), changetype<usize>(inTransform)));
}
Translated(inTranslation: RVec3): RRayCast {
return changetype<RRayCast>(_emscripten_bind_RRayCast_Translated_1(changetype<usize>(this), changetype<usize>(inTranslation)));
}
GetPointOnRay(inFraction: f32): RVec3 {
return changetype<RVec3>(_emscripten_bind_RRayCast_GetPointOnRay_1(changetype<usize>(this), inFraction));
}
get mOrigin(): RVec3 {
return changetype<RVec3>(_emscripten_bind_RRayCast_get_mOrigin_0(changetype<usize>(this)));
}
get mDirection(): Vec3 {
return changetype<Vec3>(_emscripten_bind_RRayCast_get_mDirection_0(changetype<usize>(this)));
}
set mOrigin(value: RVec3) {
_emscripten_bind_RRayCast_set_mOrigin_1(changetype<usize>(this), changetype<usize>(value));
}
set mDirection(value: Vec3) {
_emscripten_bind_RRayCast_set_mDirection_1(changetype<usize>(this), changetype<usize>(value));
}
}
@external("Jolt", "_emscripten_bind_BroadPhaseCastResult_BroadPhaseCastResult_0")
declare function _emscripten_bind_BroadPhaseCastResult_BroadPhaseCastResult_0(): usize;
@external("Jolt", "_emscripten_bind_BroadPhaseCastResult___destroy___0")
declare function _emscripten_bind_BroadPhaseCastResult___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_BroadPhaseCastResult_Reset_0")
declare function _emscripten_bind_BroadPhaseCastResult_Reset_0(self: usize): void;
@external("Jolt", "_emscripten_bind_BroadPhaseCastResult_get_mBodyID_0")
declare function _emscripten_bind_BroadPhaseCastResult_get_mBodyID_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BroadPhaseCastResult_get_mFraction_0")
declare function _emscripten_bind_BroadPhaseCastResult_get_mFraction_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_BroadPhaseCastResult_set_mBodyID_1")
declare function _emscripten_bind_BroadPhaseCastResult_set_mBodyID_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_BroadPhaseCastResult_set_mFraction_1")
declare function _emscripten_bind_BroadPhaseCastResult_set_mFraction_1(self: usize, value: f32): void;
@final
@unmanaged
export class BroadPhaseCastResult {
static new(): BroadPhaseCastResult {
return changetype<BroadPhaseCastResult>(_emscripten_bind_BroadPhaseCastResult_BroadPhaseCastResult_0());
}
__destroy__(): void {
_emscripten_bind_BroadPhaseCastResult___destroy___0(changetype<usize>(this));
}
Reset(): void {
_emscripten_bind_BroadPhaseCastResult_Reset_0(changetype<usize>(this));
}
get mBodyID(): BodyID {
return changetype<BodyID>(_emscripten_bind_BroadPhaseCastResult_get_mBodyID_0(changetype<usize>(this)));
}
get mFraction(): f32 {
return _emscripten_bind_BroadPhaseCastResult_get_mFraction_0(changetype<usize>(this));
}
set mBodyID(value: BodyID) {
_emscripten_bind_BroadPhaseCastResult_set_mBodyID_1(changetype<usize>(this), changetype<usize>(value));
}
set mFraction(value: f32) {
_emscripten_bind_BroadPhaseCastResult_set_mFraction_1(changetype<usize>(this), value);
}
}
@external("Jolt", "_emscripten_bind_RayCastResult_RayCastResult_0")
declare function _emscripten_bind_RayCastResult_RayCastResult_0(): usize;
@external("Jolt", "_emscripten_bind_RayCastResult___destroy___0")
declare function _emscripten_bind_RayCastResult___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_RayCastResult_Reset_0")
declare function _emscripten_bind_RayCastResult_Reset_0(self: usize): void;
@external("Jolt", "_emscripten_bind_RayCastResult_get_mSubShapeID2_0")
declare function _emscripten_bind_RayCastResult_get_mSubShapeID2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RayCastResult_get_mBodyID_0")
declare function _emscripten_bind_RayCastResult_get_mBodyID_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RayCastResult_get_mFraction_0")
declare function _emscripten_bind_RayCastResult_get_mFraction_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_RayCastResult_set_mSubShapeID2_1")
declare function _emscripten_bind_RayCastResult_set_mSubShapeID2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_RayCastResult_set_mBodyID_1")
declare function _emscripten_bind_RayCastResult_set_mBodyID_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_RayCastResult_set_mFraction_1")
declare function _emscripten_bind_RayCastResult_set_mFraction_1(self: usize, value: f32): void;
@final
@unmanaged
export class RayCastResult {
static new(): RayCastResult {
return changetype<RayCastResult>(_emscripten_bind_RayCastResult_RayCastResult_0());
}
__destroy__(): void {
_emscripten_bind_RayCastResult___destroy___0(changetype<usize>(this));
}
Reset(): void {
_emscripten_bind_RayCastResult_Reset_0(changetype<usize>(this));
}
get mSubShapeID2(): SubShapeID {
return changetype<SubShapeID>(_emscripten_bind_RayCastResult_get_mSubShapeID2_0(changetype<usize>(this)));
}
get mBodyID(): BodyID {
return changetype<BodyID>(_emscripten_bind_RayCastResult_get_mBodyID_0(changetype<usize>(this)));
}
get mFraction(): f32 {
return _emscripten_bind_RayCastResult_get_mFraction_0(changetype<usize>(this));
}
set mSubShapeID2(value: SubShapeID) {
_emscripten_bind_RayCastResult_set_mSubShapeID2_1(changetype<usize>(this), changetype<usize>(value));
}
set mBodyID(value: BodyID) {
_emscripten_bind_RayCastResult_set_mBodyID_1(changetype<usize>(this), changetype<usize>(value));
}
set mFraction(value: f32) {
_emscripten_bind_RayCastResult_set_mFraction_1(changetype<usize>(this), value);
}
asBroadPhaseCastResult(): BroadPhaseCastResult {
return changetype<BroadPhaseCastResult>(this);
}
}
@external("Jolt", "_emscripten_bind_AABoxCast_AABoxCast_0")
declare function _emscripten_bind_AABoxCast_AABoxCast_0(): usize;
@external("Jolt", "_emscripten_bind_AABoxCast___destroy___0")
declare function _emscripten_bind_AABoxCast___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_AABoxCast_get_mBox_0")
declare function _emscripten_bind_AABoxCast_get_mBox_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_AABoxCast_get_mDirection_0")
declare function _emscripten_bind_AABoxCast_get_mDirection_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_AABoxCast_set_mBox_1")
declare function _emscripten_bind_AABoxCast_set_mBox_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_AABoxCast_set_mDirection_1")
declare function _emscripten_bind_AABoxCast_set_mDirection_1(self: usize, value: usize): void;
@final
@unmanaged
export class AABoxCast {
static new(): AABoxCast {
return changetype<AABoxCast>(_emscripten_bind_AABoxCast_AABoxCast_0());
}
__destroy__(): void {
_emscripten_bind_AABoxCast___destroy___0(changetype<usize>(this));
}
get mBox(): AABox {
return changetype<AABox>(_emscripten_bind_AABoxCast_get_mBox_0(changetype<usize>(this)));
}
get mDirection(): Vec3 {
return changetype<Vec3>(_emscripten_bind_AABoxCast_get_mDirection_0(changetype<usize>(this)));
}
set mBox(value: AABox) {
_emscripten_bind_AABoxCast_set_mBox_1(changetype<usize>(this), changetype<usize>(value));
}
set mDirection(value: Vec3) {
_emscripten_bind_AABoxCast_set_mDirection_1(changetype<usize>(this), changetype<usize>(value));
}
}
@external("Jolt", "_emscripten_bind_ShapeCast_ShapeCast_4")
declare function _emscripten_bind_ShapeCast_ShapeCast_4(inShape: usize, inScale: usize, inCenterOfMassStart: usize, inDirection: usize): usize;
@external("Jolt", "_emscripten_bind_ShapeCast___destroy___0")
declare function _emscripten_bind_ShapeCast___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ShapeCast_GetPointOnRay_1")
declare function _emscripten_bind_ShapeCast_GetPointOnRay_1(self: usize, inFraction: f32): usize;
@external("Jolt", "_emscripten_bind_ShapeCast_get_mShape_0")
declare function _emscripten_bind_ShapeCast_get_mShape_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ShapeCast_get_mScale_0")
declare function _emscripten_bind_ShapeCast_get_mScale_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ShapeCast_get_mCenterOfMassStart_0")
declare function _emscripten_bind_ShapeCast_get_mCenterOfMassStart_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ShapeCast_get_mDirection_0")
declare function _emscripten_bind_ShapeCast_get_mDirection_0(self: usize): usize;
@final
@unmanaged
export class ShapeCast {
static new(inShape: Shape, inScale: Vec3, inCenterOfMassStart: Mat44, inDirection: Vec3): ShapeCast {
return changetype<ShapeCast>(_emscripten_bind_ShapeCast_ShapeCast_4(changetype<usize>(inShape), changetype<usize>(inScale), changetype<usize>(inCenterOfMassStart), changetype<usize>(inDirection)));
}
__destroy__(): void {
_emscripten_bind_ShapeCast___destroy___0(changetype<usize>(this));
}
GetPointOnRay(inFraction: f32): Vec3 {
return changetype<Vec3>(_emscripten_bind_ShapeCast_GetPointOnRay_1(changetype<usize>(this), inFraction));
}
get mShape(): Shape {
return changetype<Shape>(_emscripten_bind_ShapeCast_get_mShape_0(changetype<usize>(this)));
}
get mScale(): Vec3 {
return changetype<Vec3>(_emscripten_bind_ShapeCast_get_mScale_0(changetype<usize>(this)));
}
get mCenterOfMassStart(): Mat44 {
return changetype<Mat44>(_emscripten_bind_ShapeCast_get_mCenterOfMassStart_0(changetype<usize>(this)));
}
get mDirection(): Vec3 {
return changetype<Vec3>(_emscripten_bind_ShapeCast_get_mDirection_0(changetype<usize>(this)));
}
}
@external("Jolt", "_emscripten_bind_RShapeCast_RShapeCast_4")
declare function _emscripten_bind_RShapeCast_RShapeCast_4(inShape: usize, inScale: usize, inCenterOfMassStart: usize, inDirection: usize): usize;
@external("Jolt", "_emscripten_bind_RShapeCast___destroy___0")
declare function _emscripten_bind_RShapeCast___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_RShapeCast_GetPointOnRay_1")
declare function _emscripten_bind_RShapeCast_GetPointOnRay_1(self: usize, inFraction: f32): usize;
@external("Jolt", "_emscripten_bind_RShapeCast_get_mShape_0")
declare function _emscripten_bind_RShapeCast_get_mShape_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RShapeCast_get_mScale_0")
declare function _emscripten_bind_RShapeCast_get_mScale_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RShapeCast_get_mCenterOfMassStart_0")
declare function _emscripten_bind_RShapeCast_get_mCenterOfMassStart_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RShapeCast_get_mDirection_0")
declare function _emscripten_bind_RShapeCast_get_mDirection_0(self: usize): usize;
@final
@unmanaged
export class RShapeCast {
static new(inShape: Shape, inScale: Vec3, inCenterOfMassStart: RMat44, inDirection: Vec3): RShapeCast {
return changetype<RShapeCast>(_emscripten_bind_RShapeCast_RShapeCast_4(changetype<usize>(inShape), changetype<usize>(inScale), changetype<usize>(inCenterOfMassStart), changetype<usize>(inDirection)));
}
__destroy__(): void {
_emscripten_bind_RShapeCast___destroy___0(changetype<usize>(this));
}
GetPointOnRay(inFraction: f32): RVec3 {
return changetype<RVec3>(_emscripten_bind_RShapeCast_GetPointOnRay_1(changetype<usize>(this), inFraction));
}
get mShape(): Shape {
return changetype<Shape>(_emscripten_bind_RShapeCast_get_mShape_0(changetype<usize>(this)));
}
get mScale(): Vec3 {
return changetype<Vec3>(_emscripten_bind_RShapeCast_get_mScale_0(changetype<usize>(this)));
}
get mCenterOfMassStart(): RMat44 {
return changetype<RMat44>(_emscripten_bind_RShapeCast_get_mCenterOfMassStart_0(changetype<usize>(this)));
}
get mDirection(): Vec3 {
return changetype<Vec3>(_emscripten_bind_RShapeCast_get_mDirection_0(changetype<usize>(this)));
}
}
@external("Jolt", "_emscripten_bind_Plane_Plane_2")
declare function _emscripten_bind_Plane_Plane_2(inNormal: usize, inConstant: f32): usize;
@external("Jolt", "_emscripten_bind_Plane___destroy___0")
declare function _emscripten_bind_Plane___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_Plane_GetNormal_0")
declare function _emscripten_bind_Plane_GetNormal_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Plane_SetNormal_1")
declare function _emscripten_bind_Plane_SetNormal_1(self: usize, inNormal: usize): void;
@external("Jolt", "_emscripten_bind_Plane_GetConstant_0")
declare function _emscripten_bind_Plane_GetConstant_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Plane_SetConstant_1")
declare function _emscripten_bind_Plane_SetConstant_1(self: usize, inConstant: f32): void;
@external("Jolt", "_emscripten_bind_Plane_sFromPointAndNormal_2")
declare function _emscripten_bind_Plane_sFromPointAndNormal_2(self: usize, inPoint: usize, inNormal: usize): usize;
@external("Jolt", "_emscripten_bind_Plane_sFromPointsCCW_3")
declare function _emscripten_bind_Plane_sFromPointsCCW_3(self: usize, inPoint1: usize, inPoint2: usize, inPoint3: usize): usize;
@external("Jolt", "_emscripten_bind_Plane_Offset_1")
declare function _emscripten_bind_Plane_Offset_1(self: usize, inDistance: f32): usize;
@external("Jolt", "_emscripten_bind_Plane_Scaled_1")
declare function _emscripten_bind_Plane_Scaled_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_Plane_GetTransformed_1")
declare function _emscripten_bind_Plane_GetTransformed_1(self: usize, inTransform: usize): usize;
@external("Jolt", "_emscripten_bind_Plane_ProjectPointOnPlane_1")
declare function _emscripten_bind_Plane_ProjectPointOnPlane_1(self: usize, inPoint: usize): usize;
@external("Jolt", "_emscripten_bind_Plane_SignedDistance_1")
declare function _emscripten_bind_Plane_SignedDistance_1(self: usize, inPoint: usize): f32;
@final
@unmanaged
export class Plane {
static new(inNormal: Vec3, inConstant: f32): Plane {
return changetype<Plane>(_emscripten_bind_Plane_Plane_2(changetype<usize>(inNormal), inConstant));
}
__destroy__(): void {
_emscripten_bind_Plane___destroy___0(changetype<usize>(this));
}
GetNormal(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Plane_GetNormal_0(changetype<usize>(this)));
}
SetNormal(inNormal: Vec3): void {
_emscripten_bind_Plane_SetNormal_1(changetype<usize>(this), changetype<usize>(inNormal));
}
GetConstant(): f32 {
return _emscripten_bind_Plane_GetConstant_0(changetype<usize>(this));
}
SetConstant(inConstant: f32): void {
_emscripten_bind_Plane_SetConstant_1(changetype<usize>(this), inConstant);
}
sFromPointAndNormal(inPoint: Vec3, inNormal: Vec3): Plane {
return changetype<Plane>(_emscripten_bind_Plane_sFromPointAndNormal_2(changetype<usize>(this), changetype<usize>(inPoint), changetype<usize>(inNormal)));
}
sFromPointsCCW(inPoint1: Vec3, inPoint2: Vec3, inPoint3: Vec3): Plane {
return changetype<Plane>(_emscripten_bind_Plane_sFromPointsCCW_3(changetype<usize>(this), changetype<usize>(inPoint1), changetype<usize>(inPoint2), changetype<usize>(inPoint3)));
}
Offset(inDistance: f32): Plane {
return changetype<Plane>(_emscripten_bind_Plane_Offset_1(changetype<usize>(this), inDistance));
}
Scaled(inScale: Vec3): Plane {
return changetype<Plane>(_emscripten_bind_Plane_Scaled_1(changetype<usize>(this), changetype<usize>(inScale)));
}
GetTransformed(inTransform: Mat44): Plane {
return changetype<Plane>(_emscripten_bind_Plane_GetTransformed_1(changetype<usize>(this), changetype<usize>(inTransform)));
}
ProjectPointOnPlane(inPoint: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Plane_ProjectPointOnPlane_1(changetype<usize>(this), changetype<usize>(inPoint)));
}
SignedDistance(inPoint: Vec3): f32 {
return _emscripten_bind_Plane_SignedDistance_1(changetype<usize>(this), changetype<usize>(inPoint));
}
}
@external("Jolt", "_emscripten_bind_TransformedShape_TransformedShape_0")
declare function _emscripten_bind_TransformedShape_TransformedShape_0(): usize;
@external("Jolt", "_emscripten_bind_TransformedShape___destroy___0")
declare function _emscripten_bind_TransformedShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_TransformedShape_CastRay_2")
declare function _emscripten_bind_TransformedShape_CastRay_2(self: usize, inRay: usize, ioHit: usize): void;
@external("Jolt", "_emscripten_bind_TransformedShape_CastRay_4")
declare function _emscripten_bind_TransformedShape_CastRay_4(self: usize, inRay: usize, inRayCastSettings: usize, ioCollector: usize, inShapeFilter: usize): void;
@external("Jolt", "_emscripten_bind_TransformedShape_CollidePoint_3")
declare function _emscripten_bind_TransformedShape_CollidePoint_3(self: usize, inPoint: usize, ioCollector: usize, inShapeFilter: usize): void;
@external("Jolt", "_emscripten_bind_TransformedShape_CollideShape_7")
declare function _emscripten_bind_TransformedShape_CollideShape_7(self: usize, inShape: usize, inShapeScale: usize, inCenterOfMassTransform: usize, inCollideShapeSettings: usize, inBaseOffset: usize, ioCollector: usize, inShapeFilter: usize): void;
@external("Jolt", "_emscripten_bind_TransformedShape_CastShape_5")
declare function _emscripten_bind_TransformedShape_CastShape_5(self: usize, inShapeCast: usize, inShapeCastSettings: usize, inBaseOffset: usize, ioCollector: usize, inShapeFilter: usize): void;
@external("Jolt", "_emscripten_bind_TransformedShape_CollectTransformedShapes_3")
declare function _emscripten_bind_TransformedShape_CollectTransformedShapes_3(self: usize, inBox: usize, ioCollector: usize, inShapeFilter: usize): void;
@external("Jolt", "_emscripten_bind_TransformedShape_GetShapeScale_0")
declare function _emscripten_bind_TransformedShape_GetShapeScale_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TransformedShape_SetShapeScale_1")
declare function _emscripten_bind_TransformedShape_SetShapeScale_1(self: usize, inScale: usize): void;
@external("Jolt", "_emscripten_bind_TransformedShape_GetCenterOfMassTransform_0")
declare function _emscripten_bind_TransformedShape_GetCenterOfMassTransform_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TransformedShape_GetInverseCenterOfMassTransform_0")
declare function _emscripten_bind_TransformedShape_GetInverseCenterOfMassTransform_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TransformedShape_SetWorldTransform_3")
declare function _emscripten_bind_TransformedShape_SetWorldTransform_3(self: usize, inPosition: usize, inRotation: usize, inScale: usize): void;
@external("Jolt", "_emscripten_bind_TransformedShape_SetWorldTransform_1")
declare function _emscripten_bind_TransformedShape_SetWorldTransform_1(self: usize, inTransform: usize): void;
@external("Jolt", "_emscripten_bind_TransformedShape_GetWorldTransform_0")
declare function _emscripten_bind_TransformedShape_GetWorldTransform_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TransformedShape_GetWorldSpaceBounds_0")
declare function _emscripten_bind_TransformedShape_GetWorldSpaceBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TransformedShape_GetWorldSpaceSurfaceNormal_2")
declare function _emscripten_bind_TransformedShape_GetWorldSpaceSurfaceNormal_2(self: usize, inSubShapeID: usize, inPosition: usize): usize;
@external("Jolt", "_emscripten_bind_TransformedShape_GetMaterial_1")
declare function _emscripten_bind_TransformedShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_TransformedShape_get_mShapePositionCOM_0")
declare function _emscripten_bind_TransformedShape_get_mShapePositionCOM_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TransformedShape_get_mShapeRotation_0")
declare function _emscripten_bind_TransformedShape_get_mShapeRotation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TransformedShape_get_mShape_0")
declare function _emscripten_bind_TransformedShape_get_mShape_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TransformedShape_get_mShapeScale_0")
declare function _emscripten_bind_TransformedShape_get_mShapeScale_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TransformedShape_get_mBodyID_0")
declare function _emscripten_bind_TransformedShape_get_mBodyID_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TransformedShape_set_mShapePositionCOM_1")
declare function _emscripten_bind_TransformedShape_set_mShapePositionCOM_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_TransformedShape_set_mShapeRotation_1")
declare function _emscripten_bind_TransformedShape_set_mShapeRotation_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_TransformedShape_set_mShape_1")
declare function _emscripten_bind_TransformedShape_set_mShape_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_TransformedShape_set_mShapeScale_1")
declare function _emscripten_bind_TransformedShape_set_mShapeScale_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_TransformedShape_set_mBodyID_1")
declare function _emscripten_bind_TransformedShape_set_mBodyID_1(self: usize, value: usize): void;
@final
@unmanaged
export class TransformedShape {
static new(): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_TransformedShape_TransformedShape_0());
}
__destroy__(): void {
_emscripten_bind_TransformedShape___destroy___0(changetype<usize>(this));
}
CastRay_2(inRay: RRayCast, ioHit: RayCastResult): void {
_emscripten_bind_TransformedShape_CastRay_2(changetype<usize>(this), changetype<usize>(inRay), changetype<usize>(ioHit));
}
CastRay_4(inRay: RRayCast, inRayCastSettings: RayCastSettings, ioCollector: CastRayCollector, inShapeFilter: ShapeFilter): void {
_emscripten_bind_TransformedShape_CastRay_4(changetype<usize>(this), changetype<usize>(inRay), changetype<usize>(inRayCastSettings), changetype<usize>(ioCollector), changetype<usize>(inShapeFilter));
}
CollidePoint(inPoint: RVec3, ioCollector: CollidePointCollector, inShapeFilter: ShapeFilter): void {
_emscripten_bind_TransformedShape_CollidePoint_3(changetype<usize>(this), changetype<usize>(inPoint), changetype<usize>(ioCollector), changetype<usize>(inShapeFilter));
}
CollideShape(inShape: Shape, inShapeScale: Vec3, inCenterOfMassTransform: RMat44, inCollideShapeSettings: CollideShapeSettings, inBaseOffset: RVec3, ioCollector: CollideShapeCollector, inShapeFilter: ShapeFilter): void {
_emscripten_bind_TransformedShape_CollideShape_7(changetype<usize>(this), changetype<usize>(inShape), changetype<usize>(inShapeScale), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inCollideShapeSettings), changetype<usize>(inBaseOffset), changetype<usize>(ioCollector), changetype<usize>(inShapeFilter));
}
CastShape(inShapeCast: RShapeCast, inShapeCastSettings: ShapeCastSettings, inBaseOffset: RVec3, ioCollector: CastShapeCollector, inShapeFilter: ShapeFilter): void {
_emscripten_bind_TransformedShape_CastShape_5(changetype<usize>(this), changetype<usize>(inShapeCast), changetype<usize>(inShapeCastSettings), changetype<usize>(inBaseOffset), changetype<usize>(ioCollector), changetype<usize>(inShapeFilter));
}
CollectTransformedShapes(inBox: AABox, ioCollector: TransformedShapeCollector, inShapeFilter: ShapeFilter): void {
_emscripten_bind_TransformedShape_CollectTransformedShapes_3(changetype<usize>(this), changetype<usize>(inBox), changetype<usize>(ioCollector), changetype<usize>(inShapeFilter));
}
GetShapeScale(): Vec3 {
return changetype<Vec3>(_emscripten_bind_TransformedShape_GetShapeScale_0(changetype<usize>(this)));
}
SetShapeScale(inScale: Vec3): void {
_emscripten_bind_TransformedShape_SetShapeScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
GetCenterOfMassTransform(): RMat44 {
return changetype<RMat44>(_emscripten_bind_TransformedShape_GetCenterOfMassTransform_0(changetype<usize>(this)));
}
GetInverseCenterOfMassTransform(): RMat44 {
return changetype<RMat44>(_emscripten_bind_TransformedShape_GetInverseCenterOfMassTransform_0(changetype<usize>(this)));
}
SetWorldTransform_3(inPosition: RVec3, inRotation: Quat, inScale: Vec3): void {
_emscripten_bind_TransformedShape_SetWorldTransform_3(changetype<usize>(this), changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inScale));
}
SetWorldTransform_1(inTransform: RMat44): void {
_emscripten_bind_TransformedShape_SetWorldTransform_1(changetype<usize>(this), changetype<usize>(inTransform));
}
GetWorldTransform(): RMat44 {
return changetype<RMat44>(_emscripten_bind_TransformedShape_GetWorldTransform_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(): AABox {
return changetype<AABox>(_emscripten_bind_TransformedShape_GetWorldSpaceBounds_0(changetype<usize>(this)));
}
GetWorldSpaceSurfaceNormal(inSubShapeID: SubShapeID, inPosition: RVec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_TransformedShape_GetWorldSpaceSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPosition)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_TransformedShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
get mShapePositionCOM(): RVec3 {
return changetype<RVec3>(_emscripten_bind_TransformedShape_get_mShapePositionCOM_0(changetype<usize>(this)));
}
get mShapeRotation(): Quat {
return changetype<Quat>(_emscripten_bind_TransformedShape_get_mShapeRotation_0(changetype<usize>(this)));
}
get mShape(): Shape {
return changetype<Shape>(_emscripten_bind_TransformedShape_get_mShape_0(changetype<usize>(this)));
}
get mShapeScale(): Float3 {
return changetype<Float3>(_emscripten_bind_TransformedShape_get_mShapeScale_0(changetype<usize>(this)));
}
get mBodyID(): BodyID {
return changetype<BodyID>(_emscripten_bind_TransformedShape_get_mBodyID_0(changetype<usize>(this)));
}
set mShapePositionCOM(value: RVec3) {
_emscripten_bind_TransformedShape_set_mShapePositionCOM_1(changetype<usize>(this), changetype<usize>(value));
}
set mShapeRotation(value: Quat) {
_emscripten_bind_TransformedShape_set_mShapeRotation_1(changetype<usize>(this), changetype<usize>(value));
}
set mShape(value: Shape) {
_emscripten_bind_TransformedShape_set_mShape_1(changetype<usize>(this), changetype<usize>(value));
}
set mShapeScale(value: Float3) {
_emscripten_bind_TransformedShape_set_mShapeScale_1(changetype<usize>(this), changetype<usize>(value));
}
set mBodyID(value: BodyID) {
_emscripten_bind_TransformedShape_set_mBodyID_1(changetype<usize>(this), changetype<usize>(value));
}
}
@external("Jolt", "_emscripten_bind_PhysicsMaterial_PhysicsMaterial_0")
declare function _emscripten_bind_PhysicsMaterial_PhysicsMaterial_0(): usize;
@external("Jolt", "_emscripten_bind_PhysicsMaterial___destroy___0")
declare function _emscripten_bind_PhysicsMaterial___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsMaterial_GetRefCount_0")
declare function _emscripten_bind_PhysicsMaterial_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsMaterial_AddRef_0")
declare function _emscripten_bind_PhysicsMaterial_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsMaterial_Release_0")
declare function _emscripten_bind_PhysicsMaterial_Release_0(self: usize): void;
@final
@unmanaged
export class PhysicsMaterial {
static new(): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_PhysicsMaterial_PhysicsMaterial_0());
}
__destroy__(): void {
_emscripten_bind_PhysicsMaterial___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_PhysicsMaterial_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_PhysicsMaterial_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_PhysicsMaterial_Release_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_PhysicsMaterialList_PhysicsMaterialList_0")
declare function _emscripten_bind_PhysicsMaterialList_PhysicsMaterialList_0(): usize;
@external("Jolt", "_emscripten_bind_PhysicsMaterialList___destroy___0")
declare function _emscripten_bind_PhysicsMaterialList___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsMaterialList_empty_0")
declare function _emscripten_bind_PhysicsMaterialList_empty_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsMaterialList_size_0")
declare function _emscripten_bind_PhysicsMaterialList_size_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsMaterialList_at_1")
declare function _emscripten_bind_PhysicsMaterialList_at_1(self: usize, inIndex: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsMaterialList_push_back_1")
declare function _emscripten_bind_PhysicsMaterialList_push_back_1(self: usize, inMaterial: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsMaterialList_reserve_1")
declare function _emscripten_bind_PhysicsMaterialList_reserve_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsMaterialList_resize_1")
declare function _emscripten_bind_PhysicsMaterialList_resize_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsMaterialList_clear_0")
declare function _emscripten_bind_PhysicsMaterialList_clear_0(self: usize): void;
@final
@unmanaged
export class PhysicsMaterialList {
static new(): PhysicsMaterialList {
return changetype<PhysicsMaterialList>(_emscripten_bind_PhysicsMaterialList_PhysicsMaterialList_0());
}
__destroy__(): void {
_emscripten_bind_PhysicsMaterialList___destroy___0(changetype<usize>(this));
}
empty(): bool {
return _emscripten_bind_PhysicsMaterialList_empty_0(changetype<usize>(this));
}
size(): i32 {
return _emscripten_bind_PhysicsMaterialList_size_0(changetype<usize>(this));
}
at(inIndex: i32): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_PhysicsMaterialList_at_1(changetype<usize>(this), inIndex));
}
push_back(inMaterial: PhysicsMaterial): void {
_emscripten_bind_PhysicsMaterialList_push_back_1(changetype<usize>(this), changetype<usize>(inMaterial));
}
reserve(inSize: i32): void {
_emscripten_bind_PhysicsMaterialList_reserve_1(changetype<usize>(this), inSize);
}
resize(inSize: i32): void {
_emscripten_bind_PhysicsMaterialList_resize_1(changetype<usize>(this), inSize);
}
clear(): void {
_emscripten_bind_PhysicsMaterialList_clear_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_Triangle_Triangle_0")
declare function _emscripten_bind_Triangle_Triangle_0(): usize;
@external("Jolt", "_emscripten_bind_Triangle_Triangle_5")
declare function _emscripten_bind_Triangle_Triangle_5(inV1: usize, inV2: usize, inV3: usize, inMaterialIndex: usize, inUserData: usize): usize;
@external("Jolt", "_emscripten_bind_Triangle_Triangle_4")
declare function _emscripten_bind_Triangle_Triangle_4(inV1: usize, inV2: usize, inV3: usize, inMaterialIndex: usize): usize;
@external("Jolt", "_emscripten_bind_Triangle_Triangle_3")
declare function _emscripten_bind_Triangle_Triangle_3(inV1: usize, inV2: usize, inV3: usize): usize;
@external("Jolt", "_emscripten_bind_Triangle___destroy___0")
declare function _emscripten_bind_Triangle___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_Triangle_get_mV_1")
declare function _emscripten_bind_Triangle_get_mV_1(self: usize, index: usize): usize;
@external("Jolt", "_emscripten_bind_Triangle_get_mMaterialIndex_0")
declare function _emscripten_bind_Triangle_get_mMaterialIndex_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Triangle_get_mUserData_0")
declare function _emscripten_bind_Triangle_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Triangle_set_mV_2")
declare function _emscripten_bind_Triangle_set_mV_2(self: usize, index: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_Triangle_set_mMaterialIndex_1")
declare function _emscripten_bind_Triangle_set_mMaterialIndex_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_Triangle_set_mUserData_1")
declare function _emscripten_bind_Triangle_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class Triangle {
static new0(): Triangle {
return changetype<Triangle>(_emscripten_bind_Triangle_Triangle_0());
}
static new5(inV1: Vec3, inV2: Vec3, inV3: Vec3, inMaterialIndex: i32, inUserData: i32): Triangle {
return changetype<Triangle>(_emscripten_bind_Triangle_Triangle_5(changetype<usize>(inV1), changetype<usize>(inV2), changetype<usize>(inV3), inMaterialIndex, inUserData));
}
static new4(inV1: Vec3, inV2: Vec3, inV3: Vec3, inMaterialIndex: i32): Triangle {
return changetype<Triangle>(_emscripten_bind_Triangle_Triangle_4(changetype<usize>(inV1), changetype<usize>(inV2), changetype<usize>(inV3), inMaterialIndex));
}
static new3(inV1: Vec3, inV2: Vec3, inV3: Vec3): Triangle {
return changetype<Triangle>(_emscripten_bind_Triangle_Triangle_3(changetype<usize>(inV1), changetype<usize>(inV2), changetype<usize>(inV3)));
}
__destroy__(): void {
_emscripten_bind_Triangle___destroy___0(changetype<usize>(this));
}
getMV(index: i32): Array<Float3> {
return changetype<Array<Float3>>(_emscripten_bind_Triangle_get_mV_1(changetype<usize>(this), index));
}
get mMaterialIndex(): i32 {
return _emscripten_bind_Triangle_get_mMaterialIndex_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_Triangle_get_mUserData_0(changetype<usize>(this));
}
setMV(index: i32, value: Array<Float3>): void {
_emscripten_bind_Triangle_set_mV_2(changetype<usize>(this), index, changetype<usize>(value));
}
set mMaterialIndex(value: i32) {
_emscripten_bind_Triangle_set_mMaterialIndex_1(changetype<usize>(this), value);
}
set mUserData(value: i32) {
_emscripten_bind_Triangle_set_mUserData_1(changetype<usize>(this), value);
}
}
@external("Jolt", "_emscripten_bind_TriangleList_TriangleList_0")
declare function _emscripten_bind_TriangleList_TriangleList_0(): usize;
@external("Jolt", "_emscripten_bind_TriangleList___destroy___0")
declare function _emscripten_bind_TriangleList___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_TriangleList_empty_0")
declare function _emscripten_bind_TriangleList_empty_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TriangleList_size_0")
declare function _emscripten_bind_TriangleList_size_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TriangleList_at_1")
declare function _emscripten_bind_TriangleList_at_1(self: usize, inIndex: usize): usize;
@external("Jolt", "_emscripten_bind_TriangleList_push_back_1")
declare function _emscripten_bind_TriangleList_push_back_1(self: usize, inTriangle: usize): void;
@external("Jolt", "_emscripten_bind_TriangleList_reserve_1")
declare function _emscripten_bind_TriangleList_reserve_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_TriangleList_resize_1")
declare function _emscripten_bind_TriangleList_resize_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_TriangleList_clear_0")
declare function _emscripten_bind_TriangleList_clear_0(self: usize): void;
@final
@unmanaged
export class TriangleList {
static new(): TriangleList {
return changetype<TriangleList>(_emscripten_bind_TriangleList_TriangleList_0());
}
__destroy__(): void {
_emscripten_bind_TriangleList___destroy___0(changetype<usize>(this));
}
empty(): bool {
return _emscripten_bind_TriangleList_empty_0(changetype<usize>(this));
}
size(): i32 {
return _emscripten_bind_TriangleList_size_0(changetype<usize>(this));
}
at(inIndex: i32): Triangle {
return changetype<Triangle>(_emscripten_bind_TriangleList_at_1(changetype<usize>(this), inIndex));
}
push_back(inTriangle: Triangle): void {
_emscripten_bind_TriangleList_push_back_1(changetype<usize>(this), changetype<usize>(inTriangle));
}
reserve(inSize: i32): void {
_emscripten_bind_TriangleList_reserve_1(changetype<usize>(this), inSize);
}
resize(inSize: i32): void {
_emscripten_bind_TriangleList_resize_1(changetype<usize>(this), inSize);
}
clear(): void {
_emscripten_bind_TriangleList_clear_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_VertexList_VertexList_0")
declare function _emscripten_bind_VertexList_VertexList_0(): usize;
@external("Jolt", "_emscripten_bind_VertexList___destroy___0")
declare function _emscripten_bind_VertexList___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_VertexList_empty_0")
declare function _emscripten_bind_VertexList_empty_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_VertexList_size_0")
declare function _emscripten_bind_VertexList_size_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_VertexList_at_1")
declare function _emscripten_bind_VertexList_at_1(self: usize, inIndex: usize): usize;
@external("Jolt", "_emscripten_bind_VertexList_push_back_1")
declare function _emscripten_bind_VertexList_push_back_1(self: usize, inVertex: usize): void;
@external("Jolt", "_emscripten_bind_VertexList_reserve_1")
declare function _emscripten_bind_VertexList_reserve_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_VertexList_resize_1")
declare function _emscripten_bind_VertexList_resize_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_VertexList_clear_0")
declare function _emscripten_bind_VertexList_clear_0(self: usize): void;
@final
@unmanaged
export class VertexList {
static new(): VertexList {
return changetype<VertexList>(_emscripten_bind_VertexList_VertexList_0());
}
__destroy__(): void {
_emscripten_bind_VertexList___destroy___0(changetype<usize>(this));
}
empty(): bool {
return _emscripten_bind_VertexList_empty_0(changetype<usize>(this));
}
size(): i32 {
return _emscripten_bind_VertexList_size_0(changetype<usize>(this));
}
at(inIndex: i32): Float3 {
return changetype<Float3>(_emscripten_bind_VertexList_at_1(changetype<usize>(this), inIndex));
}
push_back(inVertex: Float3): void {
_emscripten_bind_VertexList_push_back_1(changetype<usize>(this), changetype<usize>(inVertex));
}
reserve(inSize: i32): void {
_emscripten_bind_VertexList_reserve_1(changetype<usize>(this), inSize);
}
resize(inSize: i32): void {
_emscripten_bind_VertexList_resize_1(changetype<usize>(this), inSize);
}
clear(): void {
_emscripten_bind_VertexList_clear_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_IndexedTriangle_IndexedTriangle_0")
declare function _emscripten_bind_IndexedTriangle_IndexedTriangle_0(): usize;
@external("Jolt", "_emscripten_bind_IndexedTriangle_IndexedTriangle_5")
declare function _emscripten_bind_IndexedTriangle_IndexedTriangle_5(inI1: usize, inI2: usize, inI3: usize, inMaterialIndex: usize, inUserData: usize): usize;
@external("Jolt", "_emscripten_bind_IndexedTriangle_IndexedTriangle_4")
declare function _emscripten_bind_IndexedTriangle_IndexedTriangle_4(inI1: usize, inI2: usize, inI3: usize, inMaterialIndex: usize): usize;
@external("Jolt", "_emscripten_bind_IndexedTriangle___destroy___0")
declare function _emscripten_bind_IndexedTriangle___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_IndexedTriangle_get_mIdx_1")
declare function _emscripten_bind_IndexedTriangle_get_mIdx_1(self: usize, index: usize): usize;
@external("Jolt", "_emscripten_bind_IndexedTriangle_get_mMaterialIndex_0")
declare function _emscripten_bind_IndexedTriangle_get_mMaterialIndex_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_IndexedTriangle_get_mUserData_0")
declare function _emscripten_bind_IndexedTriangle_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_IndexedTriangle_set_mIdx_2")
declare function _emscripten_bind_IndexedTriangle_set_mIdx_2(self: usize, index: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_IndexedTriangle_set_mMaterialIndex_1")
declare function _emscripten_bind_IndexedTriangle_set_mMaterialIndex_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_IndexedTriangle_set_mUserData_1")
declare function _emscripten_bind_IndexedTriangle_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class IndexedTriangle {
static new0(): IndexedTriangle {
return changetype<IndexedTriangle>(_emscripten_bind_IndexedTriangle_IndexedTriangle_0());
}
static new5(inI1: i32, inI2: i32, inI3: i32, inMaterialIndex: i32, inUserData: i32): IndexedTriangle {
return changetype<IndexedTriangle>(_emscripten_bind_IndexedTriangle_IndexedTriangle_5(inI1, inI2, inI3, inMaterialIndex, inUserData));
}
static new4(inI1: i32, inI2: i32, inI3: i32, inMaterialIndex: i32): IndexedTriangle {
return changetype<IndexedTriangle>(_emscripten_bind_IndexedTriangle_IndexedTriangle_4(inI1, inI2, inI3, inMaterialIndex));
}
__destroy__(): void {
_emscripten_bind_IndexedTriangle___destroy___0(changetype<usize>(this));
}
getMIdx(index: i32): Array<i32> {
return changetype<Array<i32>>(_emscripten_bind_IndexedTriangle_get_mIdx_1(changetype<usize>(this), index));
}
get mMaterialIndex(): i32 {
return _emscripten_bind_IndexedTriangle_get_mMaterialIndex_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_IndexedTriangle_get_mUserData_0(changetype<usize>(this));
}
setMIdx(index: i32, value: Array<i32>): void {
_emscripten_bind_IndexedTriangle_set_mIdx_2(changetype<usize>(this), index, changetype<usize>(value));
}
set mMaterialIndex(value: i32) {
_emscripten_bind_IndexedTriangle_set_mMaterialIndex_1(changetype<usize>(this), value);
}
set mUserData(value: i32) {
_emscripten_bind_IndexedTriangle_set_mUserData_1(changetype<usize>(this), value);
}
}
@external("Jolt", "_emscripten_bind_IndexedTriangleList_IndexedTriangleList_0")
declare function _emscripten_bind_IndexedTriangleList_IndexedTriangleList_0(): usize;
@external("Jolt", "_emscripten_bind_IndexedTriangleList___destroy___0")
declare function _emscripten_bind_IndexedTriangleList___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_IndexedTriangleList_empty_0")
declare function _emscripten_bind_IndexedTriangleList_empty_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_IndexedTriangleList_size_0")
declare function _emscripten_bind_IndexedTriangleList_size_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_IndexedTriangleList_at_1")
declare function _emscripten_bind_IndexedTriangleList_at_1(self: usize, inIndex: usize): usize;
@external("Jolt", "_emscripten_bind_IndexedTriangleList_push_back_1")
declare function _emscripten_bind_IndexedTriangleList_push_back_1(self: usize, inTriangle: usize): void;
@external("Jolt", "_emscripten_bind_IndexedTriangleList_reserve_1")
declare function _emscripten_bind_IndexedTriangleList_reserve_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_IndexedTriangleList_resize_1")
declare function _emscripten_bind_IndexedTriangleList_resize_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_IndexedTriangleList_clear_0")
declare function _emscripten_bind_IndexedTriangleList_clear_0(self: usize): void;
@final
@unmanaged
export class IndexedTriangleList {
static new(): IndexedTriangleList {
return changetype<IndexedTriangleList>(_emscripten_bind_IndexedTriangleList_IndexedTriangleList_0());
}
__destroy__(): void {
_emscripten_bind_IndexedTriangleList___destroy___0(changetype<usize>(this));
}
empty(): bool {
return _emscripten_bind_IndexedTriangleList_empty_0(changetype<usize>(this));
}
size(): i32 {
return _emscripten_bind_IndexedTriangleList_size_0(changetype<usize>(this));
}
at(inIndex: i32): IndexedTriangle {
return changetype<IndexedTriangle>(_emscripten_bind_IndexedTriangleList_at_1(changetype<usize>(this), inIndex));
}
push_back(inTriangle: IndexedTriangle): void {
_emscripten_bind_IndexedTriangleList_push_back_1(changetype<usize>(this), changetype<usize>(inTriangle));
}
reserve(inSize: i32): void {
_emscripten_bind_IndexedTriangleList_reserve_1(changetype<usize>(this), inSize);
}
resize(inSize: i32): void {
_emscripten_bind_IndexedTriangleList_resize_1(changetype<usize>(this), inSize);
}
clear(): void {
_emscripten_bind_IndexedTriangleList_clear_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_ShapeResult___destroy___0")
declare function _emscripten_bind_ShapeResult___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ShapeResult_IsValid_0")
declare function _emscripten_bind_ShapeResult_IsValid_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ShapeResult_HasError_0")
declare function _emscripten_bind_ShapeResult_HasError_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ShapeResult_GetError_0")
declare function _emscripten_bind_ShapeResult_GetError_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ShapeResult_Get_0")
declare function _emscripten_bind_ShapeResult_Get_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ShapeResult_Clear_0")
declare function _emscripten_bind_ShapeResult_Clear_0(self: usize): void;
@final
@unmanaged
export class ShapeResult {
__destroy__(): void {
_emscripten_bind_ShapeResult___destroy___0(changetype<usize>(this));
}
IsValid(): bool {
return _emscripten_bind_ShapeResult_IsValid_0(changetype<usize>(this));
}
HasError(): bool {
return _emscripten_bind_ShapeResult_HasError_0(changetype<usize>(this));
}
GetError(): JPHString {
return changetype<JPHString>(_emscripten_bind_ShapeResult_GetError_0(changetype<usize>(this)));
}
Get(): Shape {
return changetype<Shape>(_emscripten_bind_ShapeResult_Get_0(changetype<usize>(this)));
}
Clear(): void {
_emscripten_bind_ShapeResult_Clear_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_ShapeSettings___destroy___0")
declare function _emscripten_bind_ShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ShapeSettings_GetRefCount_0")
declare function _emscripten_bind_ShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ShapeSettings_AddRef_0")
declare function _emscripten_bind_ShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ShapeSettings_Release_0")
declare function _emscripten_bind_ShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ShapeSettings_Create_0")
declare function _emscripten_bind_ShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_ShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ShapeSettings_get_mUserData_0")
declare function _emscripten_bind_ShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ShapeSettings_set_mUserData_1")
declare function _emscripten_bind_ShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class ShapeSettings {
__destroy__(): void {
_emscripten_bind_ShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_ShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_ShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_ShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_ShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_ShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_ShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mUserData(value: i32) {
_emscripten_bind_ShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
}
@external("Jolt", "_emscripten_bind_Shape___destroy___0")
declare function _emscripten_bind_Shape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_Shape_GetRefCount_0")
declare function _emscripten_bind_Shape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_AddRef_0")
declare function _emscripten_bind_Shape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_Shape_Release_0")
declare function _emscripten_bind_Shape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_Shape_GetType_0")
declare function _emscripten_bind_Shape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_GetSubType_0")
declare function _emscripten_bind_Shape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_MustBeStatic_0")
declare function _emscripten_bind_Shape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_GetLocalBounds_0")
declare function _emscripten_bind_Shape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_Shape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_GetCenterOfMass_0")
declare function _emscripten_bind_Shape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_GetUserData_0")
declare function _emscripten_bind_Shape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_SetUserData_1")
declare function _emscripten_bind_Shape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_Shape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_Shape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_GetInnerRadius_0")
declare function _emscripten_bind_Shape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Shape_GetMassProperties_0")
declare function _emscripten_bind_Shape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_GetLeafShape_2")
declare function _emscripten_bind_Shape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_GetMaterial_1")
declare function _emscripten_bind_Shape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_GetSurfaceNormal_2")
declare function _emscripten_bind_Shape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_GetSubShapeUserData_1")
declare function _emscripten_bind_Shape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_Shape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_GetVolume_0")
declare function _emscripten_bind_Shape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Shape_IsValidScale_1")
declare function _emscripten_bind_Shape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_MakeScaleValid_1")
declare function _emscripten_bind_Shape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_Shape_ScaleShape_1")
declare function _emscripten_bind_Shape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class Shape {
__destroy__(): void {
_emscripten_bind_Shape___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_Shape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_Shape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_Shape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_Shape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_Shape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_Shape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_Shape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_Shape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Shape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_Shape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_Shape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_Shape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_Shape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_Shape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_Shape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_Shape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Shape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_Shape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_Shape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_Shape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_Shape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Shape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_Shape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
}
@external("Jolt", "_emscripten_bind_ShapeGetTriangles_ShapeGetTriangles_5")
declare function _emscripten_bind_ShapeGetTriangles_ShapeGetTriangles_5(inShape: usize, inBox: usize, inPositionCOM: usize, inRotation: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_ShapeGetTriangles___destroy___0")
declare function _emscripten_bind_ShapeGetTriangles___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ShapeGetTriangles_GetNumTriangles_0")
declare function _emscripten_bind_ShapeGetTriangles_GetNumTriangles_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ShapeGetTriangles_GetVerticesSize_0")
declare function _emscripten_bind_ShapeGetTriangles_GetVerticesSize_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ShapeGetTriangles_GetVerticesData_0")
declare function _emscripten_bind_ShapeGetTriangles_GetVerticesData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ShapeGetTriangles_GetMaterial_1")
declare function _emscripten_bind_ShapeGetTriangles_GetMaterial_1(self: usize, inTriangle: usize): usize;
@final
@unmanaged
export class ShapeGetTriangles {
static new(inShape: Shape, inBox: AABox, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3): ShapeGetTriangles {
return changetype<ShapeGetTriangles>(_emscripten_bind_ShapeGetTriangles_ShapeGetTriangles_5(changetype<usize>(inShape), changetype<usize>(inBox), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale)));
}
__destroy__(): void {
_emscripten_bind_ShapeGetTriangles___destroy___0(changetype<usize>(this));
}
GetNumTriangles(): i32 {
return _emscripten_bind_ShapeGetTriangles_GetNumTriangles_0(changetype<usize>(this));
}
GetVerticesSize(): i32 {
return _emscripten_bind_ShapeGetTriangles_GetVerticesSize_0(changetype<usize>(this));
}
GetVerticesData(): i32 {
return _emscripten_bind_ShapeGetTriangles_GetVerticesData_0(changetype<usize>(this));
}
GetMaterial(inTriangle: i32): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_ShapeGetTriangles_GetMaterial_1(changetype<usize>(this), inTriangle));
}
}
@external("Jolt", "_emscripten_bind_ConvexShapeSettings___destroy___0")
declare function _emscripten_bind_ConvexShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConvexShapeSettings_GetRefCount_0")
declare function _emscripten_bind_ConvexShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShapeSettings_AddRef_0")
declare function _emscripten_bind_ConvexShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConvexShapeSettings_Release_0")
declare function _emscripten_bind_ConvexShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConvexShapeSettings_Create_0")
declare function _emscripten_bind_ConvexShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_ConvexShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConvexShapeSettings_get_mMaterial_0")
declare function _emscripten_bind_ConvexShapeSettings_get_mMaterial_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShapeSettings_get_mDensity_0")
declare function _emscripten_bind_ConvexShapeSettings_get_mDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ConvexShapeSettings_get_mUserData_0")
declare function _emscripten_bind_ConvexShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShapeSettings_set_mMaterial_1")
declare function _emscripten_bind_ConvexShapeSettings_set_mMaterial_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_ConvexShapeSettings_set_mDensity_1")
declare function _emscripten_bind_ConvexShapeSettings_set_mDensity_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_ConvexShapeSettings_set_mUserData_1")
declare function _emscripten_bind_ConvexShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class ConvexShapeSettings {
__destroy__(): void {
_emscripten_bind_ConvexShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_ConvexShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_ConvexShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_ConvexShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_ConvexShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_ConvexShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mMaterial(): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_ConvexShapeSettings_get_mMaterial_0(changetype<usize>(this)));
}
get mDensity(): f32 {
return _emscripten_bind_ConvexShapeSettings_get_mDensity_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_ConvexShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mMaterial(value: PhysicsMaterial) {
_emscripten_bind_ConvexShapeSettings_set_mMaterial_1(changetype<usize>(this), changetype<usize>(value));
}
set mDensity(value: f32) {
_emscripten_bind_ConvexShapeSettings_set_mDensity_1(changetype<usize>(this), value);
}
set mUserData(value: i32) {
_emscripten_bind_ConvexShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_ConvexShape___destroy___0")
declare function _emscripten_bind_ConvexShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConvexShape_SetMaterial_1")
declare function _emscripten_bind_ConvexShape_SetMaterial_1(self: usize, inMaterial: usize): void;
@external("Jolt", "_emscripten_bind_ConvexShape_GetDensity_0")
declare function _emscripten_bind_ConvexShape_GetDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ConvexShape_SetDensity_1")
declare function _emscripten_bind_ConvexShape_SetDensity_1(self: usize, inDensity: f32): void;
@external("Jolt", "_emscripten_bind_ConvexShape_GetRefCount_0")
declare function _emscripten_bind_ConvexShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_AddRef_0")
declare function _emscripten_bind_ConvexShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConvexShape_Release_0")
declare function _emscripten_bind_ConvexShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConvexShape_GetType_0")
declare function _emscripten_bind_ConvexShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_GetSubType_0")
declare function _emscripten_bind_ConvexShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_MustBeStatic_0")
declare function _emscripten_bind_ConvexShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_GetLocalBounds_0")
declare function _emscripten_bind_ConvexShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_ConvexShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_GetCenterOfMass_0")
declare function _emscripten_bind_ConvexShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_GetUserData_0")
declare function _emscripten_bind_ConvexShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_SetUserData_1")
declare function _emscripten_bind_ConvexShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_ConvexShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_ConvexShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_GetInnerRadius_0")
declare function _emscripten_bind_ConvexShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ConvexShape_GetMassProperties_0")
declare function _emscripten_bind_ConvexShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_GetLeafShape_2")
declare function _emscripten_bind_ConvexShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_GetMaterial_1")
declare function _emscripten_bind_ConvexShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_GetSurfaceNormal_2")
declare function _emscripten_bind_ConvexShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_GetSubShapeUserData_1")
declare function _emscripten_bind_ConvexShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_ConvexShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_GetVolume_0")
declare function _emscripten_bind_ConvexShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ConvexShape_IsValidScale_1")
declare function _emscripten_bind_ConvexShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_MakeScaleValid_1")
declare function _emscripten_bind_ConvexShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexShape_ScaleShape_1")
declare function _emscripten_bind_ConvexShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class ConvexShape {
__destroy__(): void {
_emscripten_bind_ConvexShape___destroy___0(changetype<usize>(this));
}
SetMaterial(inMaterial: PhysicsMaterial): void {
_emscripten_bind_ConvexShape_SetMaterial_1(changetype<usize>(this), changetype<usize>(inMaterial));
}
GetDensity(): f32 {
return _emscripten_bind_ConvexShape_GetDensity_0(changetype<usize>(this));
}
SetDensity(inDensity: f32): void {
_emscripten_bind_ConvexShape_SetDensity_1(changetype<usize>(this), inDensity);
}
GetRefCount(): i32 {
return _emscripten_bind_ConvexShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_ConvexShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_ConvexShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_ConvexShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_ConvexShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_ConvexShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_ConvexShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_ConvexShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_ConvexShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_ConvexShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_ConvexShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_ConvexShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_ConvexShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_ConvexShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_ConvexShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_ConvexShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_ConvexShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_ConvexShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_ConvexShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_ConvexShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_ConvexShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_ConvexShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_ConvexShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_SphereShapeSettings_SphereShapeSettings_2")
declare function _emscripten_bind_SphereShapeSettings_SphereShapeSettings_2(inRadius: f32, inMaterial: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShapeSettings_SphereShapeSettings_1")
declare function _emscripten_bind_SphereShapeSettings_SphereShapeSettings_1(inRadius: f32): usize;
@external("Jolt", "_emscripten_bind_SphereShapeSettings___destroy___0")
declare function _emscripten_bind_SphereShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_SphereShapeSettings_GetRefCount_0")
declare function _emscripten_bind_SphereShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShapeSettings_AddRef_0")
declare function _emscripten_bind_SphereShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SphereShapeSettings_Release_0")
declare function _emscripten_bind_SphereShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SphereShapeSettings_Create_0")
declare function _emscripten_bind_SphereShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_SphereShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SphereShapeSettings_get_mRadius_0")
declare function _emscripten_bind_SphereShapeSettings_get_mRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SphereShapeSettings_get_mMaterial_0")
declare function _emscripten_bind_SphereShapeSettings_get_mMaterial_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShapeSettings_get_mDensity_0")
declare function _emscripten_bind_SphereShapeSettings_get_mDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SphereShapeSettings_get_mUserData_0")
declare function _emscripten_bind_SphereShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShapeSettings_set_mRadius_1")
declare function _emscripten_bind_SphereShapeSettings_set_mRadius_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_SphereShapeSettings_set_mMaterial_1")
declare function _emscripten_bind_SphereShapeSettings_set_mMaterial_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SphereShapeSettings_set_mDensity_1")
declare function _emscripten_bind_SphereShapeSettings_set_mDensity_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_SphereShapeSettings_set_mUserData_1")
declare function _emscripten_bind_SphereShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class SphereShapeSettings {
static new2(inRadius: f32, inMaterial: PhysicsMaterial): SphereShapeSettings {
return changetype<SphereShapeSettings>(_emscripten_bind_SphereShapeSettings_SphereShapeSettings_2(inRadius, changetype<usize>(inMaterial)));
}
static new1(inRadius: f32): SphereShapeSettings {
return changetype<SphereShapeSettings>(_emscripten_bind_SphereShapeSettings_SphereShapeSettings_1(inRadius));
}
__destroy__(): void {
_emscripten_bind_SphereShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_SphereShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_SphereShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_SphereShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_SphereShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_SphereShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mRadius(): f32 {
return _emscripten_bind_SphereShapeSettings_get_mRadius_0(changetype<usize>(this));
}
get mMaterial(): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_SphereShapeSettings_get_mMaterial_0(changetype<usize>(this)));
}
get mDensity(): f32 {
return _emscripten_bind_SphereShapeSettings_get_mDensity_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_SphereShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mRadius(value: f32) {
_emscripten_bind_SphereShapeSettings_set_mRadius_1(changetype<usize>(this), value);
}
set mMaterial(value: PhysicsMaterial) {
_emscripten_bind_SphereShapeSettings_set_mMaterial_1(changetype<usize>(this), changetype<usize>(value));
}
set mDensity(value: f32) {
_emscripten_bind_SphereShapeSettings_set_mDensity_1(changetype<usize>(this), value);
}
set mUserData(value: i32) {
_emscripten_bind_SphereShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asConvexShapeSettings(): ConvexShapeSettings {
return changetype<ConvexShapeSettings>(this);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_SphereShape_SphereShape_2")
declare function _emscripten_bind_SphereShape_SphereShape_2(inRadius: f32, inMaterial: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_SphereShape_1")
declare function _emscripten_bind_SphereShape_SphereShape_1(inRadius: f32): usize;
@external("Jolt", "_emscripten_bind_SphereShape___destroy___0")
declare function _emscripten_bind_SphereShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_SphereShape_GetRadius_0")
declare function _emscripten_bind_SphereShape_GetRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SphereShape_SetMaterial_1")
declare function _emscripten_bind_SphereShape_SetMaterial_1(self: usize, inMaterial: usize): void;
@external("Jolt", "_emscripten_bind_SphereShape_GetDensity_0")
declare function _emscripten_bind_SphereShape_GetDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SphereShape_SetDensity_1")
declare function _emscripten_bind_SphereShape_SetDensity_1(self: usize, inDensity: f32): void;
@external("Jolt", "_emscripten_bind_SphereShape_GetRefCount_0")
declare function _emscripten_bind_SphereShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_AddRef_0")
declare function _emscripten_bind_SphereShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SphereShape_Release_0")
declare function _emscripten_bind_SphereShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SphereShape_GetType_0")
declare function _emscripten_bind_SphereShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_GetSubType_0")
declare function _emscripten_bind_SphereShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_MustBeStatic_0")
declare function _emscripten_bind_SphereShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_GetLocalBounds_0")
declare function _emscripten_bind_SphereShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_SphereShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_GetCenterOfMass_0")
declare function _emscripten_bind_SphereShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_GetUserData_0")
declare function _emscripten_bind_SphereShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_SetUserData_1")
declare function _emscripten_bind_SphereShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_SphereShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_SphereShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_GetInnerRadius_0")
declare function _emscripten_bind_SphereShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SphereShape_GetMassProperties_0")
declare function _emscripten_bind_SphereShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_GetLeafShape_2")
declare function _emscripten_bind_SphereShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_GetMaterial_1")
declare function _emscripten_bind_SphereShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_GetSurfaceNormal_2")
declare function _emscripten_bind_SphereShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_GetSubShapeUserData_1")
declare function _emscripten_bind_SphereShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_SphereShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_GetVolume_0")
declare function _emscripten_bind_SphereShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SphereShape_IsValidScale_1")
declare function _emscripten_bind_SphereShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_MakeScaleValid_1")
declare function _emscripten_bind_SphereShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_SphereShape_ScaleShape_1")
declare function _emscripten_bind_SphereShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class SphereShape {
static new2(inRadius: f32, inMaterial: PhysicsMaterial): SphereShape {
return changetype<SphereShape>(_emscripten_bind_SphereShape_SphereShape_2(inRadius, changetype<usize>(inMaterial)));
}
static new1(inRadius: f32): SphereShape {
return changetype<SphereShape>(_emscripten_bind_SphereShape_SphereShape_1(inRadius));
}
__destroy__(): void {
_emscripten_bind_SphereShape___destroy___0(changetype<usize>(this));
}
GetRadius(): f32 {
return _emscripten_bind_SphereShape_GetRadius_0(changetype<usize>(this));
}
SetMaterial(inMaterial: PhysicsMaterial): void {
_emscripten_bind_SphereShape_SetMaterial_1(changetype<usize>(this), changetype<usize>(inMaterial));
}
GetDensity(): f32 {
return _emscripten_bind_SphereShape_GetDensity_0(changetype<usize>(this));
}
SetDensity(inDensity: f32): void {
_emscripten_bind_SphereShape_SetDensity_1(changetype<usize>(this), inDensity);
}
GetRefCount(): i32 {
return _emscripten_bind_SphereShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_SphereShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_SphereShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_SphereShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_SphereShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_SphereShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_SphereShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_SphereShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SphereShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_SphereShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_SphereShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_SphereShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_SphereShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_SphereShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_SphereShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_SphereShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_SphereShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_SphereShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_SphereShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_SphereShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_SphereShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_SphereShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_SphereShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asConvexShape(): ConvexShape {
return changetype<ConvexShape>(this);
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_BoxShapeSettings_BoxShapeSettings_3")
declare function _emscripten_bind_BoxShapeSettings_BoxShapeSettings_3(inHalfExtent: usize, inConvexRadius: f32, inMaterial: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_BoxShapeSettings_2")
declare function _emscripten_bind_BoxShapeSettings_BoxShapeSettings_2(inHalfExtent: usize, inConvexRadius: f32): usize;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_BoxShapeSettings_1")
declare function _emscripten_bind_BoxShapeSettings_BoxShapeSettings_1(inHalfExtent: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShapeSettings___destroy___0")
declare function _emscripten_bind_BoxShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_GetRefCount_0")
declare function _emscripten_bind_BoxShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_AddRef_0")
declare function _emscripten_bind_BoxShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_Release_0")
declare function _emscripten_bind_BoxShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_Create_0")
declare function _emscripten_bind_BoxShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_BoxShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_get_mHalfExtent_0")
declare function _emscripten_bind_BoxShapeSettings_get_mHalfExtent_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_get_mConvexRadius_0")
declare function _emscripten_bind_BoxShapeSettings_get_mConvexRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_get_mMaterial_0")
declare function _emscripten_bind_BoxShapeSettings_get_mMaterial_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_get_mDensity_0")
declare function _emscripten_bind_BoxShapeSettings_get_mDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_get_mUserData_0")
declare function _emscripten_bind_BoxShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_set_mHalfExtent_1")
declare function _emscripten_bind_BoxShapeSettings_set_mHalfExtent_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_set_mConvexRadius_1")
declare function _emscripten_bind_BoxShapeSettings_set_mConvexRadius_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_set_mMaterial_1")
declare function _emscripten_bind_BoxShapeSettings_set_mMaterial_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_set_mDensity_1")
declare function _emscripten_bind_BoxShapeSettings_set_mDensity_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_BoxShapeSettings_set_mUserData_1")
declare function _emscripten_bind_BoxShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class BoxShapeSettings {
static new3(inHalfExtent: Vec3, inConvexRadius: f32, inMaterial: PhysicsMaterial): BoxShapeSettings {
return changetype<BoxShapeSettings>(_emscripten_bind_BoxShapeSettings_BoxShapeSettings_3(changetype<usize>(inHalfExtent), inConvexRadius, changetype<usize>(inMaterial)));
}
static new2(inHalfExtent: Vec3, inConvexRadius: f32): BoxShapeSettings {
return changetype<BoxShapeSettings>(_emscripten_bind_BoxShapeSettings_BoxShapeSettings_2(changetype<usize>(inHalfExtent), inConvexRadius));
}
static new1(inHalfExtent: Vec3): BoxShapeSettings {
return changetype<BoxShapeSettings>(_emscripten_bind_BoxShapeSettings_BoxShapeSettings_1(changetype<usize>(inHalfExtent)));
}
__destroy__(): void {
_emscripten_bind_BoxShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_BoxShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_BoxShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_BoxShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_BoxShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_BoxShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mHalfExtent(): Vec3 {
return changetype<Vec3>(_emscripten_bind_BoxShapeSettings_get_mHalfExtent_0(changetype<usize>(this)));
}
get mConvexRadius(): f32 {
return _emscripten_bind_BoxShapeSettings_get_mConvexRadius_0(changetype<usize>(this));
}
get mMaterial(): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_BoxShapeSettings_get_mMaterial_0(changetype<usize>(this)));
}
get mDensity(): f32 {
return _emscripten_bind_BoxShapeSettings_get_mDensity_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_BoxShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mHalfExtent(value: Vec3) {
_emscripten_bind_BoxShapeSettings_set_mHalfExtent_1(changetype<usize>(this), changetype<usize>(value));
}
set mConvexRadius(value: f32) {
_emscripten_bind_BoxShapeSettings_set_mConvexRadius_1(changetype<usize>(this), value);
}
set mMaterial(value: PhysicsMaterial) {
_emscripten_bind_BoxShapeSettings_set_mMaterial_1(changetype<usize>(this), changetype<usize>(value));
}
set mDensity(value: f32) {
_emscripten_bind_BoxShapeSettings_set_mDensity_1(changetype<usize>(this), value);
}
set mUserData(value: i32) {
_emscripten_bind_BoxShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asConvexShapeSettings(): ConvexShapeSettings {
return changetype<ConvexShapeSettings>(this);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_BoxShape_BoxShape_3")
declare function _emscripten_bind_BoxShape_BoxShape_3(inHalfExtent: usize, inConvexRadius: f32, inMaterial: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_BoxShape_2")
declare function _emscripten_bind_BoxShape_BoxShape_2(inHalfExtent: usize, inConvexRadius: f32): usize;
@external("Jolt", "_emscripten_bind_BoxShape_BoxShape_1")
declare function _emscripten_bind_BoxShape_BoxShape_1(inHalfExtent: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape___destroy___0")
declare function _emscripten_bind_BoxShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_BoxShape_GetHalfExtent_0")
declare function _emscripten_bind_BoxShape_GetHalfExtent_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_SetMaterial_1")
declare function _emscripten_bind_BoxShape_SetMaterial_1(self: usize, inMaterial: usize): void;
@external("Jolt", "_emscripten_bind_BoxShape_GetDensity_0")
declare function _emscripten_bind_BoxShape_GetDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_BoxShape_SetDensity_1")
declare function _emscripten_bind_BoxShape_SetDensity_1(self: usize, inDensity: f32): void;
@external("Jolt", "_emscripten_bind_BoxShape_GetRefCount_0")
declare function _emscripten_bind_BoxShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_AddRef_0")
declare function _emscripten_bind_BoxShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_BoxShape_Release_0")
declare function _emscripten_bind_BoxShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_BoxShape_GetType_0")
declare function _emscripten_bind_BoxShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_GetSubType_0")
declare function _emscripten_bind_BoxShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_MustBeStatic_0")
declare function _emscripten_bind_BoxShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_GetLocalBounds_0")
declare function _emscripten_bind_BoxShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_BoxShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_GetCenterOfMass_0")
declare function _emscripten_bind_BoxShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_GetUserData_0")
declare function _emscripten_bind_BoxShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_SetUserData_1")
declare function _emscripten_bind_BoxShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_BoxShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_BoxShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_GetInnerRadius_0")
declare function _emscripten_bind_BoxShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_BoxShape_GetMassProperties_0")
declare function _emscripten_bind_BoxShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_GetLeafShape_2")
declare function _emscripten_bind_BoxShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_GetMaterial_1")
declare function _emscripten_bind_BoxShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_GetSurfaceNormal_2")
declare function _emscripten_bind_BoxShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_GetSubShapeUserData_1")
declare function _emscripten_bind_BoxShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_BoxShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_GetVolume_0")
declare function _emscripten_bind_BoxShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_BoxShape_IsValidScale_1")
declare function _emscripten_bind_BoxShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_MakeScaleValid_1")
declare function _emscripten_bind_BoxShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_BoxShape_ScaleShape_1")
declare function _emscripten_bind_BoxShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class BoxShape {
static new3(inHalfExtent: Vec3, inConvexRadius: f32, inMaterial: PhysicsMaterial): BoxShape {
return changetype<BoxShape>(_emscripten_bind_BoxShape_BoxShape_3(changetype<usize>(inHalfExtent), inConvexRadius, changetype<usize>(inMaterial)));
}
static new2(inHalfExtent: Vec3, inConvexRadius: f32): BoxShape {
return changetype<BoxShape>(_emscripten_bind_BoxShape_BoxShape_2(changetype<usize>(inHalfExtent), inConvexRadius));
}
static new1(inHalfExtent: Vec3): BoxShape {
return changetype<BoxShape>(_emscripten_bind_BoxShape_BoxShape_1(changetype<usize>(inHalfExtent)));
}
__destroy__(): void {
_emscripten_bind_BoxShape___destroy___0(changetype<usize>(this));
}
GetHalfExtent(): Vec3 {
return changetype<Vec3>(_emscripten_bind_BoxShape_GetHalfExtent_0(changetype<usize>(this)));
}
SetMaterial(inMaterial: PhysicsMaterial): void {
_emscripten_bind_BoxShape_SetMaterial_1(changetype<usize>(this), changetype<usize>(inMaterial));
}
GetDensity(): f32 {
return _emscripten_bind_BoxShape_GetDensity_0(changetype<usize>(this));
}
SetDensity(inDensity: f32): void {
_emscripten_bind_BoxShape_SetDensity_1(changetype<usize>(this), inDensity);
}
GetRefCount(): i32 {
return _emscripten_bind_BoxShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_BoxShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_BoxShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_BoxShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_BoxShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_BoxShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_BoxShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_BoxShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_BoxShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_BoxShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_BoxShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_BoxShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_BoxShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_BoxShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_BoxShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_BoxShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_BoxShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_BoxShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_BoxShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_BoxShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_BoxShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_BoxShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_BoxShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asConvexShape(): ConvexShape {
return changetype<ConvexShape>(this);
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_CylinderShapeSettings_4")
declare function _emscripten_bind_CylinderShapeSettings_CylinderShapeSettings_4(inHalfHeight: f32, inRadius: f32, inConvexRadius: f32, inMaterial: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_CylinderShapeSettings_3")
declare function _emscripten_bind_CylinderShapeSettings_CylinderShapeSettings_3(inHalfHeight: f32, inRadius: f32, inConvexRadius: f32): usize;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_CylinderShapeSettings_2")
declare function _emscripten_bind_CylinderShapeSettings_CylinderShapeSettings_2(inHalfHeight: f32, inRadius: f32): usize;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings___destroy___0")
declare function _emscripten_bind_CylinderShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_GetRefCount_0")
declare function _emscripten_bind_CylinderShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_AddRef_0")
declare function _emscripten_bind_CylinderShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_Release_0")
declare function _emscripten_bind_CylinderShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_Create_0")
declare function _emscripten_bind_CylinderShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_CylinderShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_get_mHalfHeight_0")
declare function _emscripten_bind_CylinderShapeSettings_get_mHalfHeight_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_get_mRadius_0")
declare function _emscripten_bind_CylinderShapeSettings_get_mRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_get_mConvexRadius_0")
declare function _emscripten_bind_CylinderShapeSettings_get_mConvexRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_get_mMaterial_0")
declare function _emscripten_bind_CylinderShapeSettings_get_mMaterial_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_get_mDensity_0")
declare function _emscripten_bind_CylinderShapeSettings_get_mDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_get_mUserData_0")
declare function _emscripten_bind_CylinderShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_set_mHalfHeight_1")
declare function _emscripten_bind_CylinderShapeSettings_set_mHalfHeight_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_set_mRadius_1")
declare function _emscripten_bind_CylinderShapeSettings_set_mRadius_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_set_mConvexRadius_1")
declare function _emscripten_bind_CylinderShapeSettings_set_mConvexRadius_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_set_mMaterial_1")
declare function _emscripten_bind_CylinderShapeSettings_set_mMaterial_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_set_mDensity_1")
declare function _emscripten_bind_CylinderShapeSettings_set_mDensity_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_CylinderShapeSettings_set_mUserData_1")
declare function _emscripten_bind_CylinderShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class CylinderShapeSettings {
static new4(inHalfHeight: f32, inRadius: f32, inConvexRadius: f32, inMaterial: PhysicsMaterial): CylinderShapeSettings {
return changetype<CylinderShapeSettings>(_emscripten_bind_CylinderShapeSettings_CylinderShapeSettings_4(inHalfHeight, inRadius, inConvexRadius, changetype<usize>(inMaterial)));
}
static new3(inHalfHeight: f32, inRadius: f32, inConvexRadius: f32): CylinderShapeSettings {
return changetype<CylinderShapeSettings>(_emscripten_bind_CylinderShapeSettings_CylinderShapeSettings_3(inHalfHeight, inRadius, inConvexRadius));
}
static new2(inHalfHeight: f32, inRadius: f32): CylinderShapeSettings {
return changetype<CylinderShapeSettings>(_emscripten_bind_CylinderShapeSettings_CylinderShapeSettings_2(inHalfHeight, inRadius));
}
__destroy__(): void {
_emscripten_bind_CylinderShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_CylinderShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_CylinderShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_CylinderShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_CylinderShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_CylinderShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mHalfHeight(): f32 {
return _emscripten_bind_CylinderShapeSettings_get_mHalfHeight_0(changetype<usize>(this));
}
get mRadius(): f32 {
return _emscripten_bind_CylinderShapeSettings_get_mRadius_0(changetype<usize>(this));
}
get mConvexRadius(): f32 {
return _emscripten_bind_CylinderShapeSettings_get_mConvexRadius_0(changetype<usize>(this));
}
get mMaterial(): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_CylinderShapeSettings_get_mMaterial_0(changetype<usize>(this)));
}
get mDensity(): f32 {
return _emscripten_bind_CylinderShapeSettings_get_mDensity_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_CylinderShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mHalfHeight(value: f32) {
_emscripten_bind_CylinderShapeSettings_set_mHalfHeight_1(changetype<usize>(this), value);
}
set mRadius(value: f32) {
_emscripten_bind_CylinderShapeSettings_set_mRadius_1(changetype<usize>(this), value);
}
set mConvexRadius(value: f32) {
_emscripten_bind_CylinderShapeSettings_set_mConvexRadius_1(changetype<usize>(this), value);
}
set mMaterial(value: PhysicsMaterial) {
_emscripten_bind_CylinderShapeSettings_set_mMaterial_1(changetype<usize>(this), changetype<usize>(value));
}
set mDensity(value: f32) {
_emscripten_bind_CylinderShapeSettings_set_mDensity_1(changetype<usize>(this), value);
}
set mUserData(value: i32) {
_emscripten_bind_CylinderShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asConvexShapeSettings(): ConvexShapeSettings {
return changetype<ConvexShapeSettings>(this);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_CylinderShape_CylinderShape_4")
declare function _emscripten_bind_CylinderShape_CylinderShape_4(inHalfHeight: f32, inRadius: f32, inConvexRadius: f32, inMaterial: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_CylinderShape_3")
declare function _emscripten_bind_CylinderShape_CylinderShape_3(inHalfHeight: f32, inRadius: f32, inConvexRadius: f32): usize;
@external("Jolt", "_emscripten_bind_CylinderShape___destroy___0")
declare function _emscripten_bind_CylinderShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_CylinderShape_GetRadius_0")
declare function _emscripten_bind_CylinderShape_GetRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CylinderShape_GetHalfHeight_0")
declare function _emscripten_bind_CylinderShape_GetHalfHeight_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CylinderShape_SetMaterial_1")
declare function _emscripten_bind_CylinderShape_SetMaterial_1(self: usize, inMaterial: usize): void;
@external("Jolt", "_emscripten_bind_CylinderShape_GetDensity_0")
declare function _emscripten_bind_CylinderShape_GetDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CylinderShape_SetDensity_1")
declare function _emscripten_bind_CylinderShape_SetDensity_1(self: usize, inDensity: f32): void;
@external("Jolt", "_emscripten_bind_CylinderShape_GetRefCount_0")
declare function _emscripten_bind_CylinderShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_AddRef_0")
declare function _emscripten_bind_CylinderShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_CylinderShape_Release_0")
declare function _emscripten_bind_CylinderShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_CylinderShape_GetType_0")
declare function _emscripten_bind_CylinderShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_GetSubType_0")
declare function _emscripten_bind_CylinderShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_MustBeStatic_0")
declare function _emscripten_bind_CylinderShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_GetLocalBounds_0")
declare function _emscripten_bind_CylinderShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_CylinderShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_GetCenterOfMass_0")
declare function _emscripten_bind_CylinderShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_GetUserData_0")
declare function _emscripten_bind_CylinderShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_SetUserData_1")
declare function _emscripten_bind_CylinderShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_CylinderShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_CylinderShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_GetInnerRadius_0")
declare function _emscripten_bind_CylinderShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CylinderShape_GetMassProperties_0")
declare function _emscripten_bind_CylinderShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_GetLeafShape_2")
declare function _emscripten_bind_CylinderShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_GetMaterial_1")
declare function _emscripten_bind_CylinderShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_GetSurfaceNormal_2")
declare function _emscripten_bind_CylinderShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_GetSubShapeUserData_1")
declare function _emscripten_bind_CylinderShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_CylinderShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_GetVolume_0")
declare function _emscripten_bind_CylinderShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CylinderShape_IsValidScale_1")
declare function _emscripten_bind_CylinderShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_MakeScaleValid_1")
declare function _emscripten_bind_CylinderShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_CylinderShape_ScaleShape_1")
declare function _emscripten_bind_CylinderShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class CylinderShape {
static new4(inHalfHeight: f32, inRadius: f32, inConvexRadius: f32, inMaterial: PhysicsMaterial): CylinderShape {
return changetype<CylinderShape>(_emscripten_bind_CylinderShape_CylinderShape_4(inHalfHeight, inRadius, inConvexRadius, changetype<usize>(inMaterial)));
}
static new3(inHalfHeight: f32, inRadius: f32, inConvexRadius: f32): CylinderShape {
return changetype<CylinderShape>(_emscripten_bind_CylinderShape_CylinderShape_3(inHalfHeight, inRadius, inConvexRadius));
}
__destroy__(): void {
_emscripten_bind_CylinderShape___destroy___0(changetype<usize>(this));
}
GetRadius(): f32 {
return _emscripten_bind_CylinderShape_GetRadius_0(changetype<usize>(this));
}
GetHalfHeight(): f32 {
return _emscripten_bind_CylinderShape_GetHalfHeight_0(changetype<usize>(this));
}
SetMaterial(inMaterial: PhysicsMaterial): void {
_emscripten_bind_CylinderShape_SetMaterial_1(changetype<usize>(this), changetype<usize>(inMaterial));
}
GetDensity(): f32 {
return _emscripten_bind_CylinderShape_GetDensity_0(changetype<usize>(this));
}
SetDensity(inDensity: f32): void {
_emscripten_bind_CylinderShape_SetDensity_1(changetype<usize>(this), inDensity);
}
GetRefCount(): i32 {
return _emscripten_bind_CylinderShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_CylinderShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_CylinderShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_CylinderShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_CylinderShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_CylinderShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_CylinderShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_CylinderShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_CylinderShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_CylinderShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_CylinderShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_CylinderShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_CylinderShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_CylinderShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_CylinderShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_CylinderShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_CylinderShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_CylinderShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_CylinderShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_CylinderShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_CylinderShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_CylinderShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_CylinderShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asConvexShape(): ConvexShape {
return changetype<ConvexShape>(this);
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_TaperedCylinderShapeSettings_5")
declare function _emscripten_bind_TaperedCylinderShapeSettings_TaperedCylinderShapeSettings_5(inHalfHeightOfTaperedCylinder: f32, inTopRadius: f32, inBottomRadius: f32, inConvexRadius: f32, inMaterial: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_TaperedCylinderShapeSettings_4")
declare function _emscripten_bind_TaperedCylinderShapeSettings_TaperedCylinderShapeSettings_4(inHalfHeightOfTaperedCylinder: f32, inTopRadius: f32, inBottomRadius: f32, inConvexRadius: f32): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_TaperedCylinderShapeSettings_3")
declare function _emscripten_bind_TaperedCylinderShapeSettings_TaperedCylinderShapeSettings_3(inHalfHeightOfTaperedCylinder: f32, inTopRadius: f32, inBottomRadius: f32): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings___destroy___0")
declare function _emscripten_bind_TaperedCylinderShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_GetRefCount_0")
declare function _emscripten_bind_TaperedCylinderShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_AddRef_0")
declare function _emscripten_bind_TaperedCylinderShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_Release_0")
declare function _emscripten_bind_TaperedCylinderShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_Create_0")
declare function _emscripten_bind_TaperedCylinderShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_TaperedCylinderShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_get_mHalfHeight_0")
declare function _emscripten_bind_TaperedCylinderShapeSettings_get_mHalfHeight_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_get_mTopRadius_0")
declare function _emscripten_bind_TaperedCylinderShapeSettings_get_mTopRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_get_mBottomRadius_0")
declare function _emscripten_bind_TaperedCylinderShapeSettings_get_mBottomRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_get_mConvexRadius_0")
declare function _emscripten_bind_TaperedCylinderShapeSettings_get_mConvexRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_get_mMaterial_0")
declare function _emscripten_bind_TaperedCylinderShapeSettings_get_mMaterial_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_get_mDensity_0")
declare function _emscripten_bind_TaperedCylinderShapeSettings_get_mDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_get_mUserData_0")
declare function _emscripten_bind_TaperedCylinderShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_set_mHalfHeight_1")
declare function _emscripten_bind_TaperedCylinderShapeSettings_set_mHalfHeight_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_set_mTopRadius_1")
declare function _emscripten_bind_TaperedCylinderShapeSettings_set_mTopRadius_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_set_mBottomRadius_1")
declare function _emscripten_bind_TaperedCylinderShapeSettings_set_mBottomRadius_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_set_mConvexRadius_1")
declare function _emscripten_bind_TaperedCylinderShapeSettings_set_mConvexRadius_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_set_mMaterial_1")
declare function _emscripten_bind_TaperedCylinderShapeSettings_set_mMaterial_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_set_mDensity_1")
declare function _emscripten_bind_TaperedCylinderShapeSettings_set_mDensity_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShapeSettings_set_mUserData_1")
declare function _emscripten_bind_TaperedCylinderShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class TaperedCylinderShapeSettings {
static new5(inHalfHeightOfTaperedCylinder: f32, inTopRadius: f32, inBottomRadius: f32, inConvexRadius: f32, inMaterial: PhysicsMaterial): TaperedCylinderShapeSettings {
return changetype<TaperedCylinderShapeSettings>(_emscripten_bind_TaperedCylinderShapeSettings_TaperedCylinderShapeSettings_5(inHalfHeightOfTaperedCylinder, inTopRadius, inBottomRadius, inConvexRadius, changetype<usize>(inMaterial)));
}
static new4(inHalfHeightOfTaperedCylinder: f32, inTopRadius: f32, inBottomRadius: f32, inConvexRadius: f32): TaperedCylinderShapeSettings {
return changetype<TaperedCylinderShapeSettings>(_emscripten_bind_TaperedCylinderShapeSettings_TaperedCylinderShapeSettings_4(inHalfHeightOfTaperedCylinder, inTopRadius, inBottomRadius, inConvexRadius));
}
static new3(inHalfHeightOfTaperedCylinder: f32, inTopRadius: f32, inBottomRadius: f32): TaperedCylinderShapeSettings {
return changetype<TaperedCylinderShapeSettings>(_emscripten_bind_TaperedCylinderShapeSettings_TaperedCylinderShapeSettings_3(inHalfHeightOfTaperedCylinder, inTopRadius, inBottomRadius));
}
__destroy__(): void {
_emscripten_bind_TaperedCylinderShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_TaperedCylinderShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_TaperedCylinderShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_TaperedCylinderShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_TaperedCylinderShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_TaperedCylinderShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mHalfHeight(): f32 {
return _emscripten_bind_TaperedCylinderShapeSettings_get_mHalfHeight_0(changetype<usize>(this));
}
get mTopRadius(): f32 {
return _emscripten_bind_TaperedCylinderShapeSettings_get_mTopRadius_0(changetype<usize>(this));
}
get mBottomRadius(): f32 {
return _emscripten_bind_TaperedCylinderShapeSettings_get_mBottomRadius_0(changetype<usize>(this));
}
get mConvexRadius(): f32 {
return _emscripten_bind_TaperedCylinderShapeSettings_get_mConvexRadius_0(changetype<usize>(this));
}
get mMaterial(): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_TaperedCylinderShapeSettings_get_mMaterial_0(changetype<usize>(this)));
}
get mDensity(): f32 {
return _emscripten_bind_TaperedCylinderShapeSettings_get_mDensity_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_TaperedCylinderShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mHalfHeight(value: f32) {
_emscripten_bind_TaperedCylinderShapeSettings_set_mHalfHeight_1(changetype<usize>(this), value);
}
set mTopRadius(value: f32) {
_emscripten_bind_TaperedCylinderShapeSettings_set_mTopRadius_1(changetype<usize>(this), value);
}
set mBottomRadius(value: f32) {
_emscripten_bind_TaperedCylinderShapeSettings_set_mBottomRadius_1(changetype<usize>(this), value);
}
set mConvexRadius(value: f32) {
_emscripten_bind_TaperedCylinderShapeSettings_set_mConvexRadius_1(changetype<usize>(this), value);
}
set mMaterial(value: PhysicsMaterial) {
_emscripten_bind_TaperedCylinderShapeSettings_set_mMaterial_1(changetype<usize>(this), changetype<usize>(value));
}
set mDensity(value: f32) {
_emscripten_bind_TaperedCylinderShapeSettings_set_mDensity_1(changetype<usize>(this), value);
}
set mUserData(value: i32) {
_emscripten_bind_TaperedCylinderShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asConvexShapeSettings(): ConvexShapeSettings {
return changetype<ConvexShapeSettings>(this);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_TaperedCylinderShape___destroy___0")
declare function _emscripten_bind_TaperedCylinderShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetHalfHeight_0")
declare function _emscripten_bind_TaperedCylinderShape_GetHalfHeight_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetTopRadius_0")
declare function _emscripten_bind_TaperedCylinderShape_GetTopRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetBottomRadius_0")
declare function _emscripten_bind_TaperedCylinderShape_GetBottomRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetConvexRadius_0")
declare function _emscripten_bind_TaperedCylinderShape_GetConvexRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_SetMaterial_1")
declare function _emscripten_bind_TaperedCylinderShape_SetMaterial_1(self: usize, inMaterial: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetDensity_0")
declare function _emscripten_bind_TaperedCylinderShape_GetDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_SetDensity_1")
declare function _emscripten_bind_TaperedCylinderShape_SetDensity_1(self: usize, inDensity: f32): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetRefCount_0")
declare function _emscripten_bind_TaperedCylinderShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_AddRef_0")
declare function _emscripten_bind_TaperedCylinderShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_Release_0")
declare function _emscripten_bind_TaperedCylinderShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetType_0")
declare function _emscripten_bind_TaperedCylinderShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetSubType_0")
declare function _emscripten_bind_TaperedCylinderShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_MustBeStatic_0")
declare function _emscripten_bind_TaperedCylinderShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetLocalBounds_0")
declare function _emscripten_bind_TaperedCylinderShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_TaperedCylinderShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetCenterOfMass_0")
declare function _emscripten_bind_TaperedCylinderShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetUserData_0")
declare function _emscripten_bind_TaperedCylinderShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_SetUserData_1")
declare function _emscripten_bind_TaperedCylinderShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_TaperedCylinderShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetInnerRadius_0")
declare function _emscripten_bind_TaperedCylinderShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetMassProperties_0")
declare function _emscripten_bind_TaperedCylinderShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetLeafShape_2")
declare function _emscripten_bind_TaperedCylinderShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetMaterial_1")
declare function _emscripten_bind_TaperedCylinderShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetSurfaceNormal_2")
declare function _emscripten_bind_TaperedCylinderShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetSubShapeUserData_1")
declare function _emscripten_bind_TaperedCylinderShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_TaperedCylinderShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_GetVolume_0")
declare function _emscripten_bind_TaperedCylinderShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_IsValidScale_1")
declare function _emscripten_bind_TaperedCylinderShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_MakeScaleValid_1")
declare function _emscripten_bind_TaperedCylinderShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCylinderShape_ScaleShape_1")
declare function _emscripten_bind_TaperedCylinderShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class TaperedCylinderShape {
__destroy__(): void {
_emscripten_bind_TaperedCylinderShape___destroy___0(changetype<usize>(this));
}
GetHalfHeight(): f32 {
return _emscripten_bind_TaperedCylinderShape_GetHalfHeight_0(changetype<usize>(this));
}
GetTopRadius(): f32 {
return _emscripten_bind_TaperedCylinderShape_GetTopRadius_0(changetype<usize>(this));
}
GetBottomRadius(): f32 {
return _emscripten_bind_TaperedCylinderShape_GetBottomRadius_0(changetype<usize>(this));
}
GetConvexRadius(): f32 {
return _emscripten_bind_TaperedCylinderShape_GetConvexRadius_0(changetype<usize>(this));
}
SetMaterial(inMaterial: PhysicsMaterial): void {
_emscripten_bind_TaperedCylinderShape_SetMaterial_1(changetype<usize>(this), changetype<usize>(inMaterial));
}
GetDensity(): f32 {
return _emscripten_bind_TaperedCylinderShape_GetDensity_0(changetype<usize>(this));
}
SetDensity(inDensity: f32): void {
_emscripten_bind_TaperedCylinderShape_SetDensity_1(changetype<usize>(this), inDensity);
}
GetRefCount(): i32 {
return _emscripten_bind_TaperedCylinderShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_TaperedCylinderShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_TaperedCylinderShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_TaperedCylinderShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_TaperedCylinderShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_TaperedCylinderShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_TaperedCylinderShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_TaperedCylinderShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_TaperedCylinderShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_TaperedCylinderShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_TaperedCylinderShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_TaperedCylinderShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_TaperedCylinderShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_TaperedCylinderShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_TaperedCylinderShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_TaperedCylinderShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_TaperedCylinderShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_TaperedCylinderShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_TaperedCylinderShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_TaperedCylinderShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_TaperedCylinderShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_TaperedCylinderShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_TaperedCylinderShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asConvexShape(): ConvexShape {
return changetype<ConvexShape>(this);
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_CapsuleShapeSettings_3")
declare function _emscripten_bind_CapsuleShapeSettings_CapsuleShapeSettings_3(inHalfHeight: f32, inRadius: f32, inMaterial: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_CapsuleShapeSettings_2")
declare function _emscripten_bind_CapsuleShapeSettings_CapsuleShapeSettings_2(inHalfHeight: f32, inRadius: f32): usize;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings___destroy___0")
declare function _emscripten_bind_CapsuleShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_GetRefCount_0")
declare function _emscripten_bind_CapsuleShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_AddRef_0")
declare function _emscripten_bind_CapsuleShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_Release_0")
declare function _emscripten_bind_CapsuleShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_Create_0")
declare function _emscripten_bind_CapsuleShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_CapsuleShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_get_mRadius_0")
declare function _emscripten_bind_CapsuleShapeSettings_get_mRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_get_mHalfHeightOfCylinder_0")
declare function _emscripten_bind_CapsuleShapeSettings_get_mHalfHeightOfCylinder_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_get_mMaterial_0")
declare function _emscripten_bind_CapsuleShapeSettings_get_mMaterial_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_get_mDensity_0")
declare function _emscripten_bind_CapsuleShapeSettings_get_mDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_get_mUserData_0")
declare function _emscripten_bind_CapsuleShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_set_mRadius_1")
declare function _emscripten_bind_CapsuleShapeSettings_set_mRadius_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_set_mHalfHeightOfCylinder_1")
declare function _emscripten_bind_CapsuleShapeSettings_set_mHalfHeightOfCylinder_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_set_mMaterial_1")
declare function _emscripten_bind_CapsuleShapeSettings_set_mMaterial_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_set_mDensity_1")
declare function _emscripten_bind_CapsuleShapeSettings_set_mDensity_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_CapsuleShapeSettings_set_mUserData_1")
declare function _emscripten_bind_CapsuleShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class CapsuleShapeSettings {
static new3(inHalfHeight: f32, inRadius: f32, inMaterial: PhysicsMaterial): CapsuleShapeSettings {
return changetype<CapsuleShapeSettings>(_emscripten_bind_CapsuleShapeSettings_CapsuleShapeSettings_3(inHalfHeight, inRadius, changetype<usize>(inMaterial)));
}
static new2(inHalfHeight: f32, inRadius: f32): CapsuleShapeSettings {
return changetype<CapsuleShapeSettings>(_emscripten_bind_CapsuleShapeSettings_CapsuleShapeSettings_2(inHalfHeight, inRadius));
}
__destroy__(): void {
_emscripten_bind_CapsuleShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_CapsuleShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_CapsuleShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_CapsuleShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_CapsuleShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_CapsuleShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mRadius(): f32 {
return _emscripten_bind_CapsuleShapeSettings_get_mRadius_0(changetype<usize>(this));
}
get mHalfHeightOfCylinder(): f32 {
return _emscripten_bind_CapsuleShapeSettings_get_mHalfHeightOfCylinder_0(changetype<usize>(this));
}
get mMaterial(): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_CapsuleShapeSettings_get_mMaterial_0(changetype<usize>(this)));
}
get mDensity(): f32 {
return _emscripten_bind_CapsuleShapeSettings_get_mDensity_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_CapsuleShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mRadius(value: f32) {
_emscripten_bind_CapsuleShapeSettings_set_mRadius_1(changetype<usize>(this), value);
}
set mHalfHeightOfCylinder(value: f32) {
_emscripten_bind_CapsuleShapeSettings_set_mHalfHeightOfCylinder_1(changetype<usize>(this), value);
}
set mMaterial(value: PhysicsMaterial) {
_emscripten_bind_CapsuleShapeSettings_set_mMaterial_1(changetype<usize>(this), changetype<usize>(value));
}
set mDensity(value: f32) {
_emscripten_bind_CapsuleShapeSettings_set_mDensity_1(changetype<usize>(this), value);
}
set mUserData(value: i32) {
_emscripten_bind_CapsuleShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asConvexShapeSettings(): ConvexShapeSettings {
return changetype<ConvexShapeSettings>(this);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_CapsuleShape_CapsuleShape_3")
declare function _emscripten_bind_CapsuleShape_CapsuleShape_3(inHalfHeight: f32, inRadius: f32, inMaterial: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_CapsuleShape_2")
declare function _emscripten_bind_CapsuleShape_CapsuleShape_2(inHalfHeight: f32, inRadius: f32): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape___destroy___0")
declare function _emscripten_bind_CapsuleShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetRadius_0")
declare function _emscripten_bind_CapsuleShape_GetRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetHalfHeightOfCylinder_0")
declare function _emscripten_bind_CapsuleShape_GetHalfHeightOfCylinder_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CapsuleShape_SetMaterial_1")
declare function _emscripten_bind_CapsuleShape_SetMaterial_1(self: usize, inMaterial: usize): void;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetDensity_0")
declare function _emscripten_bind_CapsuleShape_GetDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CapsuleShape_SetDensity_1")
declare function _emscripten_bind_CapsuleShape_SetDensity_1(self: usize, inDensity: f32): void;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetRefCount_0")
declare function _emscripten_bind_CapsuleShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_AddRef_0")
declare function _emscripten_bind_CapsuleShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_CapsuleShape_Release_0")
declare function _emscripten_bind_CapsuleShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetType_0")
declare function _emscripten_bind_CapsuleShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetSubType_0")
declare function _emscripten_bind_CapsuleShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_MustBeStatic_0")
declare function _emscripten_bind_CapsuleShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetLocalBounds_0")
declare function _emscripten_bind_CapsuleShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_CapsuleShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetCenterOfMass_0")
declare function _emscripten_bind_CapsuleShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetUserData_0")
declare function _emscripten_bind_CapsuleShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_SetUserData_1")
declare function _emscripten_bind_CapsuleShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_CapsuleShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetInnerRadius_0")
declare function _emscripten_bind_CapsuleShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetMassProperties_0")
declare function _emscripten_bind_CapsuleShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetLeafShape_2")
declare function _emscripten_bind_CapsuleShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetMaterial_1")
declare function _emscripten_bind_CapsuleShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetSurfaceNormal_2")
declare function _emscripten_bind_CapsuleShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetSubShapeUserData_1")
declare function _emscripten_bind_CapsuleShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_CapsuleShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_GetVolume_0")
declare function _emscripten_bind_CapsuleShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CapsuleShape_IsValidScale_1")
declare function _emscripten_bind_CapsuleShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_MakeScaleValid_1")
declare function _emscripten_bind_CapsuleShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_CapsuleShape_ScaleShape_1")
declare function _emscripten_bind_CapsuleShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class CapsuleShape {
static new3(inHalfHeight: f32, inRadius: f32, inMaterial: PhysicsMaterial): CapsuleShape {
return changetype<CapsuleShape>(_emscripten_bind_CapsuleShape_CapsuleShape_3(inHalfHeight, inRadius, changetype<usize>(inMaterial)));
}
static new2(inHalfHeight: f32, inRadius: f32): CapsuleShape {
return changetype<CapsuleShape>(_emscripten_bind_CapsuleShape_CapsuleShape_2(inHalfHeight, inRadius));
}
__destroy__(): void {
_emscripten_bind_CapsuleShape___destroy___0(changetype<usize>(this));
}
GetRadius(): f32 {
return _emscripten_bind_CapsuleShape_GetRadius_0(changetype<usize>(this));
}
GetHalfHeightOfCylinder(): f32 {
return _emscripten_bind_CapsuleShape_GetHalfHeightOfCylinder_0(changetype<usize>(this));
}
SetMaterial(inMaterial: PhysicsMaterial): void {
_emscripten_bind_CapsuleShape_SetMaterial_1(changetype<usize>(this), changetype<usize>(inMaterial));
}
GetDensity(): f32 {
return _emscripten_bind_CapsuleShape_GetDensity_0(changetype<usize>(this));
}
SetDensity(inDensity: f32): void {
_emscripten_bind_CapsuleShape_SetDensity_1(changetype<usize>(this), inDensity);
}
GetRefCount(): i32 {
return _emscripten_bind_CapsuleShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_CapsuleShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_CapsuleShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_CapsuleShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_CapsuleShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_CapsuleShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_CapsuleShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_CapsuleShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_CapsuleShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_CapsuleShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_CapsuleShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_CapsuleShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_CapsuleShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_CapsuleShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_CapsuleShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_CapsuleShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_CapsuleShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_CapsuleShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_CapsuleShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_CapsuleShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_CapsuleShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_CapsuleShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_CapsuleShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asConvexShape(): ConvexShape {
return changetype<ConvexShape>(this);
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_TaperedCapsuleShapeSettings_4")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_TaperedCapsuleShapeSettings_4(inHalfHeightOfTaperedCylinder: f32, inTopRadius: f32, inBottomRadius: f32, inMaterial: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_TaperedCapsuleShapeSettings_3")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_TaperedCapsuleShapeSettings_3(inHalfHeightOfTaperedCylinder: f32, inTopRadius: f32, inBottomRadius: f32): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings___destroy___0")
declare function _emscripten_bind_TaperedCapsuleShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_GetRefCount_0")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_AddRef_0")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_Release_0")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_Create_0")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_get_mHalfHeightOfTaperedCylinder_0")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_get_mHalfHeightOfTaperedCylinder_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_get_mTopRadius_0")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_get_mTopRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_get_mBottomRadius_0")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_get_mBottomRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_get_mMaterial_0")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_get_mMaterial_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_get_mDensity_0")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_get_mDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_get_mUserData_0")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_set_mHalfHeightOfTaperedCylinder_1")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_set_mHalfHeightOfTaperedCylinder_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_set_mTopRadius_1")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_set_mTopRadius_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_set_mBottomRadius_1")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_set_mBottomRadius_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_set_mMaterial_1")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_set_mMaterial_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_set_mDensity_1")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_set_mDensity_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShapeSettings_set_mUserData_1")
declare function _emscripten_bind_TaperedCapsuleShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class TaperedCapsuleShapeSettings {
static new4(inHalfHeightOfTaperedCylinder: f32, inTopRadius: f32, inBottomRadius: f32, inMaterial: PhysicsMaterial): TaperedCapsuleShapeSettings {
return changetype<TaperedCapsuleShapeSettings>(_emscripten_bind_TaperedCapsuleShapeSettings_TaperedCapsuleShapeSettings_4(inHalfHeightOfTaperedCylinder, inTopRadius, inBottomRadius, changetype<usize>(inMaterial)));
}
static new3(inHalfHeightOfTaperedCylinder: f32, inTopRadius: f32, inBottomRadius: f32): TaperedCapsuleShapeSettings {
return changetype<TaperedCapsuleShapeSettings>(_emscripten_bind_TaperedCapsuleShapeSettings_TaperedCapsuleShapeSettings_3(inHalfHeightOfTaperedCylinder, inTopRadius, inBottomRadius));
}
__destroy__(): void {
_emscripten_bind_TaperedCapsuleShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_TaperedCapsuleShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_TaperedCapsuleShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_TaperedCapsuleShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_TaperedCapsuleShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_TaperedCapsuleShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mHalfHeightOfTaperedCylinder(): f32 {
return _emscripten_bind_TaperedCapsuleShapeSettings_get_mHalfHeightOfTaperedCylinder_0(changetype<usize>(this));
}
get mTopRadius(): f32 {
return _emscripten_bind_TaperedCapsuleShapeSettings_get_mTopRadius_0(changetype<usize>(this));
}
get mBottomRadius(): f32 {
return _emscripten_bind_TaperedCapsuleShapeSettings_get_mBottomRadius_0(changetype<usize>(this));
}
get mMaterial(): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_TaperedCapsuleShapeSettings_get_mMaterial_0(changetype<usize>(this)));
}
get mDensity(): f32 {
return _emscripten_bind_TaperedCapsuleShapeSettings_get_mDensity_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_TaperedCapsuleShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mHalfHeightOfTaperedCylinder(value: f32) {
_emscripten_bind_TaperedCapsuleShapeSettings_set_mHalfHeightOfTaperedCylinder_1(changetype<usize>(this), value);
}
set mTopRadius(value: f32) {
_emscripten_bind_TaperedCapsuleShapeSettings_set_mTopRadius_1(changetype<usize>(this), value);
}
set mBottomRadius(value: f32) {
_emscripten_bind_TaperedCapsuleShapeSettings_set_mBottomRadius_1(changetype<usize>(this), value);
}
set mMaterial(value: PhysicsMaterial) {
_emscripten_bind_TaperedCapsuleShapeSettings_set_mMaterial_1(changetype<usize>(this), changetype<usize>(value));
}
set mDensity(value: f32) {
_emscripten_bind_TaperedCapsuleShapeSettings_set_mDensity_1(changetype<usize>(this), value);
}
set mUserData(value: i32) {
_emscripten_bind_TaperedCapsuleShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asConvexShapeSettings(): ConvexShapeSettings {
return changetype<ConvexShapeSettings>(this);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape___destroy___0")
declare function _emscripten_bind_TaperedCapsuleShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetHalfHeight_0")
declare function _emscripten_bind_TaperedCapsuleShape_GetHalfHeight_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetTopRadius_0")
declare function _emscripten_bind_TaperedCapsuleShape_GetTopRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetBottomRadius_0")
declare function _emscripten_bind_TaperedCapsuleShape_GetBottomRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_SetMaterial_1")
declare function _emscripten_bind_TaperedCapsuleShape_SetMaterial_1(self: usize, inMaterial: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetDensity_0")
declare function _emscripten_bind_TaperedCapsuleShape_GetDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_SetDensity_1")
declare function _emscripten_bind_TaperedCapsuleShape_SetDensity_1(self: usize, inDensity: f32): void;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetRefCount_0")
declare function _emscripten_bind_TaperedCapsuleShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_AddRef_0")
declare function _emscripten_bind_TaperedCapsuleShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_Release_0")
declare function _emscripten_bind_TaperedCapsuleShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetType_0")
declare function _emscripten_bind_TaperedCapsuleShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetSubType_0")
declare function _emscripten_bind_TaperedCapsuleShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_MustBeStatic_0")
declare function _emscripten_bind_TaperedCapsuleShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetLocalBounds_0")
declare function _emscripten_bind_TaperedCapsuleShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_TaperedCapsuleShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetCenterOfMass_0")
declare function _emscripten_bind_TaperedCapsuleShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetUserData_0")
declare function _emscripten_bind_TaperedCapsuleShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_SetUserData_1")
declare function _emscripten_bind_TaperedCapsuleShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_TaperedCapsuleShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetInnerRadius_0")
declare function _emscripten_bind_TaperedCapsuleShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetMassProperties_0")
declare function _emscripten_bind_TaperedCapsuleShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetLeafShape_2")
declare function _emscripten_bind_TaperedCapsuleShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetMaterial_1")
declare function _emscripten_bind_TaperedCapsuleShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetSurfaceNormal_2")
declare function _emscripten_bind_TaperedCapsuleShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetSubShapeUserData_1")
declare function _emscripten_bind_TaperedCapsuleShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_TaperedCapsuleShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_GetVolume_0")
declare function _emscripten_bind_TaperedCapsuleShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_IsValidScale_1")
declare function _emscripten_bind_TaperedCapsuleShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_MakeScaleValid_1")
declare function _emscripten_bind_TaperedCapsuleShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_TaperedCapsuleShape_ScaleShape_1")
declare function _emscripten_bind_TaperedCapsuleShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class TaperedCapsuleShape {
__destroy__(): void {
_emscripten_bind_TaperedCapsuleShape___destroy___0(changetype<usize>(this));
}
GetHalfHeight(): f32 {
return _emscripten_bind_TaperedCapsuleShape_GetHalfHeight_0(changetype<usize>(this));
}
GetTopRadius(): f32 {
return _emscripten_bind_TaperedCapsuleShape_GetTopRadius_0(changetype<usize>(this));
}
GetBottomRadius(): f32 {
return _emscripten_bind_TaperedCapsuleShape_GetBottomRadius_0(changetype<usize>(this));
}
SetMaterial(inMaterial: PhysicsMaterial): void {
_emscripten_bind_TaperedCapsuleShape_SetMaterial_1(changetype<usize>(this), changetype<usize>(inMaterial));
}
GetDensity(): f32 {
return _emscripten_bind_TaperedCapsuleShape_GetDensity_0(changetype<usize>(this));
}
SetDensity(inDensity: f32): void {
_emscripten_bind_TaperedCapsuleShape_SetDensity_1(changetype<usize>(this), inDensity);
}
GetRefCount(): i32 {
return _emscripten_bind_TaperedCapsuleShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_TaperedCapsuleShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_TaperedCapsuleShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_TaperedCapsuleShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_TaperedCapsuleShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_TaperedCapsuleShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_TaperedCapsuleShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_TaperedCapsuleShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_TaperedCapsuleShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_TaperedCapsuleShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_TaperedCapsuleShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_TaperedCapsuleShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_TaperedCapsuleShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_TaperedCapsuleShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_TaperedCapsuleShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_TaperedCapsuleShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_TaperedCapsuleShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_TaperedCapsuleShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_TaperedCapsuleShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_TaperedCapsuleShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_TaperedCapsuleShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_TaperedCapsuleShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_TaperedCapsuleShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asConvexShape(): ConvexShape {
return changetype<ConvexShape>(this);
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_ConvexHullShapeSettings_0")
declare function _emscripten_bind_ConvexHullShapeSettings_ConvexHullShapeSettings_0(): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings___destroy___0")
declare function _emscripten_bind_ConvexHullShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_GetRefCount_0")
declare function _emscripten_bind_ConvexHullShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_AddRef_0")
declare function _emscripten_bind_ConvexHullShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_Release_0")
declare function _emscripten_bind_ConvexHullShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_Create_0")
declare function _emscripten_bind_ConvexHullShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_ConvexHullShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_get_mPoints_0")
declare function _emscripten_bind_ConvexHullShapeSettings_get_mPoints_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_get_mMaxConvexRadius_0")
declare function _emscripten_bind_ConvexHullShapeSettings_get_mMaxConvexRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_get_mMaxErrorConvexRadius_0")
declare function _emscripten_bind_ConvexHullShapeSettings_get_mMaxErrorConvexRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_get_mHullTolerance_0")
declare function _emscripten_bind_ConvexHullShapeSettings_get_mHullTolerance_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_get_mMaterial_0")
declare function _emscripten_bind_ConvexHullShapeSettings_get_mMaterial_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_get_mDensity_0")
declare function _emscripten_bind_ConvexHullShapeSettings_get_mDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_get_mUserData_0")
declare function _emscripten_bind_ConvexHullShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_set_mPoints_1")
declare function _emscripten_bind_ConvexHullShapeSettings_set_mPoints_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_set_mMaxConvexRadius_1")
declare function _emscripten_bind_ConvexHullShapeSettings_set_mMaxConvexRadius_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_set_mMaxErrorConvexRadius_1")
declare function _emscripten_bind_ConvexHullShapeSettings_set_mMaxErrorConvexRadius_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_set_mHullTolerance_1")
declare function _emscripten_bind_ConvexHullShapeSettings_set_mHullTolerance_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_set_mMaterial_1")
declare function _emscripten_bind_ConvexHullShapeSettings_set_mMaterial_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_set_mDensity_1")
declare function _emscripten_bind_ConvexHullShapeSettings_set_mDensity_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_ConvexHullShapeSettings_set_mUserData_1")
declare function _emscripten_bind_ConvexHullShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class ConvexHullShapeSettings {
static new(): ConvexHullShapeSettings {
return changetype<ConvexHullShapeSettings>(_emscripten_bind_ConvexHullShapeSettings_ConvexHullShapeSettings_0());
}
__destroy__(): void {
_emscripten_bind_ConvexHullShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_ConvexHullShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_ConvexHullShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_ConvexHullShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_ConvexHullShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_ConvexHullShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mPoints(): ArrayVec3 {
return changetype<ArrayVec3>(_emscripten_bind_ConvexHullShapeSettings_get_mPoints_0(changetype<usize>(this)));
}
get mMaxConvexRadius(): f32 {
return _emscripten_bind_ConvexHullShapeSettings_get_mMaxConvexRadius_0(changetype<usize>(this));
}
get mMaxErrorConvexRadius(): f32 {
return _emscripten_bind_ConvexHullShapeSettings_get_mMaxErrorConvexRadius_0(changetype<usize>(this));
}
get mHullTolerance(): f32 {
return _emscripten_bind_ConvexHullShapeSettings_get_mHullTolerance_0(changetype<usize>(this));
}
get mMaterial(): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_ConvexHullShapeSettings_get_mMaterial_0(changetype<usize>(this)));
}
get mDensity(): f32 {
return _emscripten_bind_ConvexHullShapeSettings_get_mDensity_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_ConvexHullShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mPoints(value: ArrayVec3) {
_emscripten_bind_ConvexHullShapeSettings_set_mPoints_1(changetype<usize>(this), changetype<usize>(value));
}
set mMaxConvexRadius(value: f32) {
_emscripten_bind_ConvexHullShapeSettings_set_mMaxConvexRadius_1(changetype<usize>(this), value);
}
set mMaxErrorConvexRadius(value: f32) {
_emscripten_bind_ConvexHullShapeSettings_set_mMaxErrorConvexRadius_1(changetype<usize>(this), value);
}
set mHullTolerance(value: f32) {
_emscripten_bind_ConvexHullShapeSettings_set_mHullTolerance_1(changetype<usize>(this), value);
}
set mMaterial(value: PhysicsMaterial) {
_emscripten_bind_ConvexHullShapeSettings_set_mMaterial_1(changetype<usize>(this), changetype<usize>(value));
}
set mDensity(value: f32) {
_emscripten_bind_ConvexHullShapeSettings_set_mDensity_1(changetype<usize>(this), value);
}
set mUserData(value: i32) {
_emscripten_bind_ConvexHullShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asConvexShapeSettings(): ConvexShapeSettings {
return changetype<ConvexShapeSettings>(this);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_ConvexHullShape___destroy___0")
declare function _emscripten_bind_ConvexHullShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConvexHullShape_SetMaterial_1")
declare function _emscripten_bind_ConvexHullShape_SetMaterial_1(self: usize, inMaterial: usize): void;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetDensity_0")
declare function _emscripten_bind_ConvexHullShape_GetDensity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ConvexHullShape_SetDensity_1")
declare function _emscripten_bind_ConvexHullShape_SetDensity_1(self: usize, inDensity: f32): void;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetRefCount_0")
declare function _emscripten_bind_ConvexHullShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_AddRef_0")
declare function _emscripten_bind_ConvexHullShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConvexHullShape_Release_0")
declare function _emscripten_bind_ConvexHullShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetType_0")
declare function _emscripten_bind_ConvexHullShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetSubType_0")
declare function _emscripten_bind_ConvexHullShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_MustBeStatic_0")
declare function _emscripten_bind_ConvexHullShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetLocalBounds_0")
declare function _emscripten_bind_ConvexHullShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_ConvexHullShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetCenterOfMass_0")
declare function _emscripten_bind_ConvexHullShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetUserData_0")
declare function _emscripten_bind_ConvexHullShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_SetUserData_1")
declare function _emscripten_bind_ConvexHullShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_ConvexHullShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetInnerRadius_0")
declare function _emscripten_bind_ConvexHullShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetMassProperties_0")
declare function _emscripten_bind_ConvexHullShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetLeafShape_2")
declare function _emscripten_bind_ConvexHullShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetMaterial_1")
declare function _emscripten_bind_ConvexHullShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetSurfaceNormal_2")
declare function _emscripten_bind_ConvexHullShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetSubShapeUserData_1")
declare function _emscripten_bind_ConvexHullShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_ConvexHullShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_GetVolume_0")
declare function _emscripten_bind_ConvexHullShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ConvexHullShape_IsValidScale_1")
declare function _emscripten_bind_ConvexHullShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_MakeScaleValid_1")
declare function _emscripten_bind_ConvexHullShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_ConvexHullShape_ScaleShape_1")
declare function _emscripten_bind_ConvexHullShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class ConvexHullShape {
__destroy__(): void {
_emscripten_bind_ConvexHullShape___destroy___0(changetype<usize>(this));
}
SetMaterial(inMaterial: PhysicsMaterial): void {
_emscripten_bind_ConvexHullShape_SetMaterial_1(changetype<usize>(this), changetype<usize>(inMaterial));
}
GetDensity(): f32 {
return _emscripten_bind_ConvexHullShape_GetDensity_0(changetype<usize>(this));
}
SetDensity(inDensity: f32): void {
_emscripten_bind_ConvexHullShape_SetDensity_1(changetype<usize>(this), inDensity);
}
GetRefCount(): i32 {
return _emscripten_bind_ConvexHullShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_ConvexHullShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_ConvexHullShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_ConvexHullShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_ConvexHullShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_ConvexHullShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_ConvexHullShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_ConvexHullShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_ConvexHullShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_ConvexHullShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_ConvexHullShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_ConvexHullShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_ConvexHullShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_ConvexHullShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_ConvexHullShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_ConvexHullShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_ConvexHullShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_ConvexHullShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_ConvexHullShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_ConvexHullShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_ConvexHullShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_ConvexHullShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_ConvexHullShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asConvexShape(): ConvexShape {
return changetype<ConvexShape>(this);
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_CompoundShapeSettings___destroy___0")
declare function _emscripten_bind_CompoundShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_CompoundShapeSettings_AddShape_4")
declare function _emscripten_bind_CompoundShapeSettings_AddShape_4(self: usize, inPosition: usize, inRotation: usize, inShape: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_CompoundShapeSettings_AddShapeShapeSettings_4")
declare function _emscripten_bind_CompoundShapeSettings_AddShapeShapeSettings_4(self: usize, inPosition: usize, inRotation: usize, inShape: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_CompoundShapeSettings_AddShapeShape_4")
declare function _emscripten_bind_CompoundShapeSettings_AddShapeShape_4(self: usize, inPosition: usize, inRotation: usize, inShape: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_CompoundShapeSettings_GetRefCount_0")
declare function _emscripten_bind_CompoundShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShapeSettings_AddRef_0")
declare function _emscripten_bind_CompoundShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_CompoundShapeSettings_Release_0")
declare function _emscripten_bind_CompoundShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_CompoundShapeSettings_Create_0")
declare function _emscripten_bind_CompoundShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_CompoundShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_CompoundShapeSettings_get_mUserData_0")
declare function _emscripten_bind_CompoundShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShapeSettings_set_mUserData_1")
declare function _emscripten_bind_CompoundShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class CompoundShapeSettings {
__destroy__(): void {
_emscripten_bind_CompoundShapeSettings___destroy___0(changetype<usize>(this));
}
AddShape(inPosition: Vec3, inRotation: Quat, inShape: ShapeSettings, inUserData: i32): void {
_emscripten_bind_CompoundShapeSettings_AddShape_4(changetype<usize>(this), changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inShape), inUserData);
}
AddShapeShapeSettings(inPosition: Vec3, inRotation: Quat, inShape: ShapeSettings, inUserData: i32): void {
_emscripten_bind_CompoundShapeSettings_AddShapeShapeSettings_4(changetype<usize>(this), changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inShape), inUserData);
}
AddShapeShape(inPosition: Vec3, inRotation: Quat, inShape: Shape, inUserData: i32): void {
_emscripten_bind_CompoundShapeSettings_AddShapeShape_4(changetype<usize>(this), changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inShape), inUserData);
}
GetRefCount(): i32 {
return _emscripten_bind_CompoundShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_CompoundShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_CompoundShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_CompoundShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_CompoundShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_CompoundShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mUserData(value: i32) {
_emscripten_bind_CompoundShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_CompoundShapeSubShape___destroy___0")
declare function _emscripten_bind_CompoundShapeSubShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_CompoundShapeSubShape_GetPositionCOM_0")
declare function _emscripten_bind_CompoundShapeSubShape_GetPositionCOM_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShapeSubShape_GetRotation_0")
declare function _emscripten_bind_CompoundShapeSubShape_GetRotation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShapeSubShape_get_mShape_0")
declare function _emscripten_bind_CompoundShapeSubShape_get_mShape_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShapeSubShape_get_mUserData_0")
declare function _emscripten_bind_CompoundShapeSubShape_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShapeSubShape_set_mShape_1")
declare function _emscripten_bind_CompoundShapeSubShape_set_mShape_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_CompoundShapeSubShape_set_mUserData_1")
declare function _emscripten_bind_CompoundShapeSubShape_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class CompoundShapeSubShape {
__destroy__(): void {
_emscripten_bind_CompoundShapeSubShape___destroy___0(changetype<usize>(this));
}
GetPositionCOM(): Vec3 {
return changetype<Vec3>(_emscripten_bind_CompoundShapeSubShape_GetPositionCOM_0(changetype<usize>(this)));
}
GetRotation(): Quat {
return changetype<Quat>(_emscripten_bind_CompoundShapeSubShape_GetRotation_0(changetype<usize>(this)));
}
get mShape(): Shape {
return changetype<Shape>(_emscripten_bind_CompoundShapeSubShape_get_mShape_0(changetype<usize>(this)));
}
get mUserData(): i32 {
return _emscripten_bind_CompoundShapeSubShape_get_mUserData_0(changetype<usize>(this));
}
set mShape(value: Shape) {
_emscripten_bind_CompoundShapeSubShape_set_mShape_1(changetype<usize>(this), changetype<usize>(value));
}
set mUserData(value: i32) {
_emscripten_bind_CompoundShapeSubShape_set_mUserData_1(changetype<usize>(this), value);
}
}
@external("Jolt", "_emscripten_bind_CompoundShape___destroy___0")
declare function _emscripten_bind_CompoundShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_CompoundShape_GetNumSubShapes_0")
declare function _emscripten_bind_CompoundShape_GetNumSubShapes_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_GetSubShape_1")
declare function _emscripten_bind_CompoundShape_GetSubShape_1(self: usize, inIdx: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_GetRefCount_0")
declare function _emscripten_bind_CompoundShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_AddRef_0")
declare function _emscripten_bind_CompoundShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_CompoundShape_Release_0")
declare function _emscripten_bind_CompoundShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_CompoundShape_GetType_0")
declare function _emscripten_bind_CompoundShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_GetSubType_0")
declare function _emscripten_bind_CompoundShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_MustBeStatic_0")
declare function _emscripten_bind_CompoundShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_GetLocalBounds_0")
declare function _emscripten_bind_CompoundShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_CompoundShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_GetCenterOfMass_0")
declare function _emscripten_bind_CompoundShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_GetUserData_0")
declare function _emscripten_bind_CompoundShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_SetUserData_1")
declare function _emscripten_bind_CompoundShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_CompoundShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_CompoundShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_GetInnerRadius_0")
declare function _emscripten_bind_CompoundShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CompoundShape_GetMassProperties_0")
declare function _emscripten_bind_CompoundShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_GetLeafShape_2")
declare function _emscripten_bind_CompoundShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_GetMaterial_1")
declare function _emscripten_bind_CompoundShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_GetSurfaceNormal_2")
declare function _emscripten_bind_CompoundShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_GetSubShapeUserData_1")
declare function _emscripten_bind_CompoundShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_CompoundShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_GetVolume_0")
declare function _emscripten_bind_CompoundShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CompoundShape_IsValidScale_1")
declare function _emscripten_bind_CompoundShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_MakeScaleValid_1")
declare function _emscripten_bind_CompoundShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_CompoundShape_ScaleShape_1")
declare function _emscripten_bind_CompoundShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class CompoundShape {
__destroy__(): void {
_emscripten_bind_CompoundShape___destroy___0(changetype<usize>(this));
}
GetNumSubShapes(): i32 {
return _emscripten_bind_CompoundShape_GetNumSubShapes_0(changetype<usize>(this));
}
GetSubShape(inIdx: i32): CompoundShapeSubShape {
return changetype<CompoundShapeSubShape>(_emscripten_bind_CompoundShape_GetSubShape_1(changetype<usize>(this), inIdx));
}
GetRefCount(): i32 {
return _emscripten_bind_CompoundShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_CompoundShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_CompoundShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_CompoundShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_CompoundShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_CompoundShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_CompoundShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_CompoundShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_CompoundShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_CompoundShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_CompoundShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_CompoundShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_CompoundShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_CompoundShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_CompoundShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_CompoundShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_CompoundShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_CompoundShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_CompoundShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_CompoundShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_CompoundShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_CompoundShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_CompoundShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_StaticCompoundShapeSettings_StaticCompoundShapeSettings_0")
declare function _emscripten_bind_StaticCompoundShapeSettings_StaticCompoundShapeSettings_0(): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShapeSettings___destroy___0")
declare function _emscripten_bind_StaticCompoundShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_StaticCompoundShapeSettings_AddShape_4")
declare function _emscripten_bind_StaticCompoundShapeSettings_AddShape_4(self: usize, inPosition: usize, inRotation: usize, inShape: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_StaticCompoundShapeSettings_AddShapeShapeSettings_4")
declare function _emscripten_bind_StaticCompoundShapeSettings_AddShapeShapeSettings_4(self: usize, inPosition: usize, inRotation: usize, inShape: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_StaticCompoundShapeSettings_AddShapeShape_4")
declare function _emscripten_bind_StaticCompoundShapeSettings_AddShapeShape_4(self: usize, inPosition: usize, inRotation: usize, inShape: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_StaticCompoundShapeSettings_GetRefCount_0")
declare function _emscripten_bind_StaticCompoundShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShapeSettings_AddRef_0")
declare function _emscripten_bind_StaticCompoundShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_StaticCompoundShapeSettings_Release_0")
declare function _emscripten_bind_StaticCompoundShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_StaticCompoundShapeSettings_Create_0")
declare function _emscripten_bind_StaticCompoundShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_StaticCompoundShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_StaticCompoundShapeSettings_get_mUserData_0")
declare function _emscripten_bind_StaticCompoundShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShapeSettings_set_mUserData_1")
declare function _emscripten_bind_StaticCompoundShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class StaticCompoundShapeSettings {
static new(): StaticCompoundShapeSettings {
return changetype<StaticCompoundShapeSettings>(_emscripten_bind_StaticCompoundShapeSettings_StaticCompoundShapeSettings_0());
}
__destroy__(): void {
_emscripten_bind_StaticCompoundShapeSettings___destroy___0(changetype<usize>(this));
}
AddShape(inPosition: Vec3, inRotation: Quat, inShape: ShapeSettings, inUserData: i32): void {
_emscripten_bind_StaticCompoundShapeSettings_AddShape_4(changetype<usize>(this), changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inShape), inUserData);
}
AddShapeShapeSettings(inPosition: Vec3, inRotation: Quat, inShape: ShapeSettings, inUserData: i32): void {
_emscripten_bind_StaticCompoundShapeSettings_AddShapeShapeSettings_4(changetype<usize>(this), changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inShape), inUserData);
}
AddShapeShape(inPosition: Vec3, inRotation: Quat, inShape: Shape, inUserData: i32): void {
_emscripten_bind_StaticCompoundShapeSettings_AddShapeShape_4(changetype<usize>(this), changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inShape), inUserData);
}
GetRefCount(): i32 {
return _emscripten_bind_StaticCompoundShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_StaticCompoundShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_StaticCompoundShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_StaticCompoundShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_StaticCompoundShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_StaticCompoundShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mUserData(value: i32) {
_emscripten_bind_StaticCompoundShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asCompoundShapeSettings(): CompoundShapeSettings {
return changetype<CompoundShapeSettings>(this);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_StaticCompoundShape___destroy___0")
declare function _emscripten_bind_StaticCompoundShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetNumSubShapes_0")
declare function _emscripten_bind_StaticCompoundShape_GetNumSubShapes_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetSubShape_1")
declare function _emscripten_bind_StaticCompoundShape_GetSubShape_1(self: usize, inIdx: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetRefCount_0")
declare function _emscripten_bind_StaticCompoundShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_AddRef_0")
declare function _emscripten_bind_StaticCompoundShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_Release_0")
declare function _emscripten_bind_StaticCompoundShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetType_0")
declare function _emscripten_bind_StaticCompoundShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetSubType_0")
declare function _emscripten_bind_StaticCompoundShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_MustBeStatic_0")
declare function _emscripten_bind_StaticCompoundShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetLocalBounds_0")
declare function _emscripten_bind_StaticCompoundShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_StaticCompoundShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetCenterOfMass_0")
declare function _emscripten_bind_StaticCompoundShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetUserData_0")
declare function _emscripten_bind_StaticCompoundShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_SetUserData_1")
declare function _emscripten_bind_StaticCompoundShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_StaticCompoundShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetInnerRadius_0")
declare function _emscripten_bind_StaticCompoundShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetMassProperties_0")
declare function _emscripten_bind_StaticCompoundShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetLeafShape_2")
declare function _emscripten_bind_StaticCompoundShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetMaterial_1")
declare function _emscripten_bind_StaticCompoundShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetSurfaceNormal_2")
declare function _emscripten_bind_StaticCompoundShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetSubShapeUserData_1")
declare function _emscripten_bind_StaticCompoundShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_StaticCompoundShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_GetVolume_0")
declare function _emscripten_bind_StaticCompoundShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_IsValidScale_1")
declare function _emscripten_bind_StaticCompoundShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_MakeScaleValid_1")
declare function _emscripten_bind_StaticCompoundShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_StaticCompoundShape_ScaleShape_1")
declare function _emscripten_bind_StaticCompoundShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class StaticCompoundShape {
__destroy__(): void {
_emscripten_bind_StaticCompoundShape___destroy___0(changetype<usize>(this));
}
GetNumSubShapes(): i32 {
return _emscripten_bind_StaticCompoundShape_GetNumSubShapes_0(changetype<usize>(this));
}
GetSubShape(inIdx: i32): CompoundShapeSubShape {
return changetype<CompoundShapeSubShape>(_emscripten_bind_StaticCompoundShape_GetSubShape_1(changetype<usize>(this), inIdx));
}
GetRefCount(): i32 {
return _emscripten_bind_StaticCompoundShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_StaticCompoundShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_StaticCompoundShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_StaticCompoundShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_StaticCompoundShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_StaticCompoundShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_StaticCompoundShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_StaticCompoundShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_StaticCompoundShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_StaticCompoundShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_StaticCompoundShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_StaticCompoundShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_StaticCompoundShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_StaticCompoundShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_StaticCompoundShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_StaticCompoundShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_StaticCompoundShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_StaticCompoundShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_StaticCompoundShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_StaticCompoundShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_StaticCompoundShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_StaticCompoundShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_StaticCompoundShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asCompoundShape(): CompoundShape {
return changetype<CompoundShape>(this);
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_MutableCompoundShapeSettings_MutableCompoundShapeSettings_0")
declare function _emscripten_bind_MutableCompoundShapeSettings_MutableCompoundShapeSettings_0(): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShapeSettings___destroy___0")
declare function _emscripten_bind_MutableCompoundShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShapeSettings_AddShape_4")
declare function _emscripten_bind_MutableCompoundShapeSettings_AddShape_4(self: usize, inPosition: usize, inRotation: usize, inShape: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShapeSettings_AddShapeShapeSettings_4")
declare function _emscripten_bind_MutableCompoundShapeSettings_AddShapeShapeSettings_4(self: usize, inPosition: usize, inRotation: usize, inShape: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShapeSettings_AddShapeShape_4")
declare function _emscripten_bind_MutableCompoundShapeSettings_AddShapeShape_4(self: usize, inPosition: usize, inRotation: usize, inShape: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShapeSettings_GetRefCount_0")
declare function _emscripten_bind_MutableCompoundShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShapeSettings_AddRef_0")
declare function _emscripten_bind_MutableCompoundShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShapeSettings_Release_0")
declare function _emscripten_bind_MutableCompoundShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShapeSettings_Create_0")
declare function _emscripten_bind_MutableCompoundShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_MutableCompoundShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShapeSettings_get_mUserData_0")
declare function _emscripten_bind_MutableCompoundShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShapeSettings_set_mUserData_1")
declare function _emscripten_bind_MutableCompoundShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class MutableCompoundShapeSettings {
static new(): MutableCompoundShapeSettings {
return changetype<MutableCompoundShapeSettings>(_emscripten_bind_MutableCompoundShapeSettings_MutableCompoundShapeSettings_0());
}
__destroy__(): void {
_emscripten_bind_MutableCompoundShapeSettings___destroy___0(changetype<usize>(this));
}
AddShape(inPosition: Vec3, inRotation: Quat, inShape: ShapeSettings, inUserData: i32): void {
_emscripten_bind_MutableCompoundShapeSettings_AddShape_4(changetype<usize>(this), changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inShape), inUserData);
}
AddShapeShapeSettings(inPosition: Vec3, inRotation: Quat, inShape: ShapeSettings, inUserData: i32): void {
_emscripten_bind_MutableCompoundShapeSettings_AddShapeShapeSettings_4(changetype<usize>(this), changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inShape), inUserData);
}
AddShapeShape(inPosition: Vec3, inRotation: Quat, inShape: Shape, inUserData: i32): void {
_emscripten_bind_MutableCompoundShapeSettings_AddShapeShape_4(changetype<usize>(this), changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inShape), inUserData);
}
GetRefCount(): i32 {
return _emscripten_bind_MutableCompoundShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_MutableCompoundShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_MutableCompoundShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_MutableCompoundShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_MutableCompoundShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_MutableCompoundShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mUserData(value: i32) {
_emscripten_bind_MutableCompoundShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asCompoundShapeSettings(): CompoundShapeSettings {
return changetype<CompoundShapeSettings>(this);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_MutableCompoundShape___destroy___0")
declare function _emscripten_bind_MutableCompoundShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_AddShape_5")
declare function _emscripten_bind_MutableCompoundShape_AddShape_5(self: usize, inPosition: usize, inRotation: usize, inShape: usize, inUserData: usize, inIndex: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_AddShape_4")
declare function _emscripten_bind_MutableCompoundShape_AddShape_4(self: usize, inPosition: usize, inRotation: usize, inShape: usize, inUserData: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_RemoveShape_1")
declare function _emscripten_bind_MutableCompoundShape_RemoveShape_1(self: usize, inIndex: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_ModifyShape_3")
declare function _emscripten_bind_MutableCompoundShape_ModifyShape_3(self: usize, inIndex: usize, inPosition: usize, inRotation: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_ModifyShape_4")
declare function _emscripten_bind_MutableCompoundShape_ModifyShape_4(self: usize, inIndex: usize, inPosition: usize, inRotation: usize, inShape: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_ModifyShapes_4")
declare function _emscripten_bind_MutableCompoundShape_ModifyShapes_4(self: usize, inStartIndex: usize, inNumber: usize, inPositions: usize, inRotations: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_AdjustCenterOfMass_0")
declare function _emscripten_bind_MutableCompoundShape_AdjustCenterOfMass_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetNumSubShapes_0")
declare function _emscripten_bind_MutableCompoundShape_GetNumSubShapes_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetSubShape_1")
declare function _emscripten_bind_MutableCompoundShape_GetSubShape_1(self: usize, inIdx: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetRefCount_0")
declare function _emscripten_bind_MutableCompoundShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_AddRef_0")
declare function _emscripten_bind_MutableCompoundShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_Release_0")
declare function _emscripten_bind_MutableCompoundShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetType_0")
declare function _emscripten_bind_MutableCompoundShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetSubType_0")
declare function _emscripten_bind_MutableCompoundShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_MustBeStatic_0")
declare function _emscripten_bind_MutableCompoundShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetLocalBounds_0")
declare function _emscripten_bind_MutableCompoundShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_MutableCompoundShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetCenterOfMass_0")
declare function _emscripten_bind_MutableCompoundShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetUserData_0")
declare function _emscripten_bind_MutableCompoundShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_SetUserData_1")
declare function _emscripten_bind_MutableCompoundShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_MutableCompoundShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetInnerRadius_0")
declare function _emscripten_bind_MutableCompoundShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetMassProperties_0")
declare function _emscripten_bind_MutableCompoundShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetLeafShape_2")
declare function _emscripten_bind_MutableCompoundShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetMaterial_1")
declare function _emscripten_bind_MutableCompoundShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetSurfaceNormal_2")
declare function _emscripten_bind_MutableCompoundShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetSubShapeUserData_1")
declare function _emscripten_bind_MutableCompoundShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_MutableCompoundShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_GetVolume_0")
declare function _emscripten_bind_MutableCompoundShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_IsValidScale_1")
declare function _emscripten_bind_MutableCompoundShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_MakeScaleValid_1")
declare function _emscripten_bind_MutableCompoundShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_MutableCompoundShape_ScaleShape_1")
declare function _emscripten_bind_MutableCompoundShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class MutableCompoundShape {
__destroy__(): void {
_emscripten_bind_MutableCompoundShape___destroy___0(changetype<usize>(this));
}
AddShape_5(inPosition: Vec3, inRotation: Quat, inShape: Shape, inUserData: i32, inIndex: i32): i32 {
return _emscripten_bind_MutableCompoundShape_AddShape_5(changetype<usize>(this), changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inShape), inUserData, inIndex);
}
AddShape_4(inPosition: Vec3, inRotation: Quat, inShape: Shape, inUserData: i32): i32 {
return _emscripten_bind_MutableCompoundShape_AddShape_4(changetype<usize>(this), changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inShape), inUserData);
}
RemoveShape(inIndex: i32): void {
_emscripten_bind_MutableCompoundShape_RemoveShape_1(changetype<usize>(this), inIndex);
}
ModifyShape_3(inIndex: i32, inPosition: Vec3, inRotation: Quat): void {
_emscripten_bind_MutableCompoundShape_ModifyShape_3(changetype<usize>(this), inIndex, changetype<usize>(inPosition), changetype<usize>(inRotation));
}
ModifyShape_4(inIndex: i32, inPosition: Vec3, inRotation: Quat, inShape: Shape): void {
_emscripten_bind_MutableCompoundShape_ModifyShape_4(changetype<usize>(this), inIndex, changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inShape));
}
ModifyShapes(inStartIndex: i32, inNumber: i32, inPositions: Vec3MemRef, inRotations: QuatMemRef): void {
_emscripten_bind_MutableCompoundShape_ModifyShapes_4(changetype<usize>(this), inStartIndex, inNumber, changetype<usize>(inPositions), changetype<usize>(inRotations));
}
AdjustCenterOfMass(): void {
_emscripten_bind_MutableCompoundShape_AdjustCenterOfMass_0(changetype<usize>(this));
}
GetNumSubShapes(): i32 {
return _emscripten_bind_MutableCompoundShape_GetNumSubShapes_0(changetype<usize>(this));
}
GetSubShape(inIdx: i32): CompoundShapeSubShape {
return changetype<CompoundShapeSubShape>(_emscripten_bind_MutableCompoundShape_GetSubShape_1(changetype<usize>(this), inIdx));
}
GetRefCount(): i32 {
return _emscripten_bind_MutableCompoundShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_MutableCompoundShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_MutableCompoundShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_MutableCompoundShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_MutableCompoundShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_MutableCompoundShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_MutableCompoundShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_MutableCompoundShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_MutableCompoundShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_MutableCompoundShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_MutableCompoundShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_MutableCompoundShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_MutableCompoundShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_MutableCompoundShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_MutableCompoundShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_MutableCompoundShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_MutableCompoundShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_MutableCompoundShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_MutableCompoundShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_MutableCompoundShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_MutableCompoundShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_MutableCompoundShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_MutableCompoundShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asCompoundShape(): CompoundShape {
return changetype<CompoundShape>(this);
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_DecoratedShapeSettings___destroy___0")
declare function _emscripten_bind_DecoratedShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_DecoratedShapeSettings_GetRefCount_0")
declare function _emscripten_bind_DecoratedShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShapeSettings_AddRef_0")
declare function _emscripten_bind_DecoratedShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_DecoratedShapeSettings_Release_0")
declare function _emscripten_bind_DecoratedShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_DecoratedShapeSettings_Create_0")
declare function _emscripten_bind_DecoratedShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_DecoratedShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_DecoratedShapeSettings_get_mUserData_0")
declare function _emscripten_bind_DecoratedShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShapeSettings_set_mUserData_1")
declare function _emscripten_bind_DecoratedShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class DecoratedShapeSettings {
__destroy__(): void {
_emscripten_bind_DecoratedShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_DecoratedShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_DecoratedShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_DecoratedShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_DecoratedShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_DecoratedShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_DecoratedShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mUserData(value: i32) {
_emscripten_bind_DecoratedShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_DecoratedShape___destroy___0")
declare function _emscripten_bind_DecoratedShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetInnerShape_0")
declare function _emscripten_bind_DecoratedShape_GetInnerShape_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetRefCount_0")
declare function _emscripten_bind_DecoratedShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_AddRef_0")
declare function _emscripten_bind_DecoratedShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_DecoratedShape_Release_0")
declare function _emscripten_bind_DecoratedShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetType_0")
declare function _emscripten_bind_DecoratedShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetSubType_0")
declare function _emscripten_bind_DecoratedShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_MustBeStatic_0")
declare function _emscripten_bind_DecoratedShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetLocalBounds_0")
declare function _emscripten_bind_DecoratedShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_DecoratedShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetCenterOfMass_0")
declare function _emscripten_bind_DecoratedShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetUserData_0")
declare function _emscripten_bind_DecoratedShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_SetUserData_1")
declare function _emscripten_bind_DecoratedShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_DecoratedShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetInnerRadius_0")
declare function _emscripten_bind_DecoratedShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetMassProperties_0")
declare function _emscripten_bind_DecoratedShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetLeafShape_2")
declare function _emscripten_bind_DecoratedShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetMaterial_1")
declare function _emscripten_bind_DecoratedShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetSurfaceNormal_2")
declare function _emscripten_bind_DecoratedShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetSubShapeUserData_1")
declare function _emscripten_bind_DecoratedShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_DecoratedShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_GetVolume_0")
declare function _emscripten_bind_DecoratedShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_DecoratedShape_IsValidScale_1")
declare function _emscripten_bind_DecoratedShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_MakeScaleValid_1")
declare function _emscripten_bind_DecoratedShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_DecoratedShape_ScaleShape_1")
declare function _emscripten_bind_DecoratedShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class DecoratedShape {
__destroy__(): void {
_emscripten_bind_DecoratedShape___destroy___0(changetype<usize>(this));
}
GetInnerShape(): Shape {
return changetype<Shape>(_emscripten_bind_DecoratedShape_GetInnerShape_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_DecoratedShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_DecoratedShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_DecoratedShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_DecoratedShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_DecoratedShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_DecoratedShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_DecoratedShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_DecoratedShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_DecoratedShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_DecoratedShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_DecoratedShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_DecoratedShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_DecoratedShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_DecoratedShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_DecoratedShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_DecoratedShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_DecoratedShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_DecoratedShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_DecoratedShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_DecoratedShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_DecoratedShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_DecoratedShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_DecoratedShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_ScaledShapeSettings_ScaledShapeSettings_2")
declare function _emscripten_bind_ScaledShapeSettings_ScaledShapeSettings_2(inShape: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShapeSettings___destroy___0")
declare function _emscripten_bind_ScaledShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ScaledShapeSettings_GetRefCount_0")
declare function _emscripten_bind_ScaledShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShapeSettings_AddRef_0")
declare function _emscripten_bind_ScaledShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ScaledShapeSettings_Release_0")
declare function _emscripten_bind_ScaledShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ScaledShapeSettings_Create_0")
declare function _emscripten_bind_ScaledShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_ScaledShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ScaledShapeSettings_get_mScale_0")
declare function _emscripten_bind_ScaledShapeSettings_get_mScale_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShapeSettings_get_mUserData_0")
declare function _emscripten_bind_ScaledShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShapeSettings_set_mScale_1")
declare function _emscripten_bind_ScaledShapeSettings_set_mScale_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_ScaledShapeSettings_set_mUserData_1")
declare function _emscripten_bind_ScaledShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class ScaledShapeSettings {
static new(inShape: ShapeSettings, inScale: Vec3): ScaledShapeSettings {
return changetype<ScaledShapeSettings>(_emscripten_bind_ScaledShapeSettings_ScaledShapeSettings_2(changetype<usize>(inShape), changetype<usize>(inScale)));
}
__destroy__(): void {
_emscripten_bind_ScaledShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_ScaledShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_ScaledShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_ScaledShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_ScaledShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_ScaledShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mScale(): Vec3 {
return changetype<Vec3>(_emscripten_bind_ScaledShapeSettings_get_mScale_0(changetype<usize>(this)));
}
get mUserData(): i32 {
return _emscripten_bind_ScaledShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mScale(value: Vec3) {
_emscripten_bind_ScaledShapeSettings_set_mScale_1(changetype<usize>(this), changetype<usize>(value));
}
set mUserData(value: i32) {
_emscripten_bind_ScaledShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asDecoratedShapeSettings(): DecoratedShapeSettings {
return changetype<DecoratedShapeSettings>(this);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_ScaledShape_ScaledShape_2")
declare function _emscripten_bind_ScaledShape_ScaledShape_2(inShape: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape___destroy___0")
declare function _emscripten_bind_ScaledShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ScaledShape_GetScale_0")
declare function _emscripten_bind_ScaledShape_GetScale_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_GetInnerShape_0")
declare function _emscripten_bind_ScaledShape_GetInnerShape_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_GetRefCount_0")
declare function _emscripten_bind_ScaledShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_AddRef_0")
declare function _emscripten_bind_ScaledShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ScaledShape_Release_0")
declare function _emscripten_bind_ScaledShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ScaledShape_GetType_0")
declare function _emscripten_bind_ScaledShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_GetSubType_0")
declare function _emscripten_bind_ScaledShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_MustBeStatic_0")
declare function _emscripten_bind_ScaledShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_GetLocalBounds_0")
declare function _emscripten_bind_ScaledShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_ScaledShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_GetCenterOfMass_0")
declare function _emscripten_bind_ScaledShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_GetUserData_0")
declare function _emscripten_bind_ScaledShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_SetUserData_1")
declare function _emscripten_bind_ScaledShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_ScaledShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_ScaledShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_GetInnerRadius_0")
declare function _emscripten_bind_ScaledShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ScaledShape_GetMassProperties_0")
declare function _emscripten_bind_ScaledShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_GetLeafShape_2")
declare function _emscripten_bind_ScaledShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_GetMaterial_1")
declare function _emscripten_bind_ScaledShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_GetSurfaceNormal_2")
declare function _emscripten_bind_ScaledShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_GetSubShapeUserData_1")
declare function _emscripten_bind_ScaledShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_ScaledShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_GetVolume_0")
declare function _emscripten_bind_ScaledShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ScaledShape_IsValidScale_1")
declare function _emscripten_bind_ScaledShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_MakeScaleValid_1")
declare function _emscripten_bind_ScaledShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_ScaledShape_ScaleShape_1")
declare function _emscripten_bind_ScaledShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class ScaledShape {
static new(inShape: Shape, inScale: Vec3): ScaledShape {
return changetype<ScaledShape>(_emscripten_bind_ScaledShape_ScaledShape_2(changetype<usize>(inShape), changetype<usize>(inScale)));
}
__destroy__(): void {
_emscripten_bind_ScaledShape___destroy___0(changetype<usize>(this));
}
GetScale(): Vec3 {
return changetype<Vec3>(_emscripten_bind_ScaledShape_GetScale_0(changetype<usize>(this)));
}
GetInnerShape(): Shape {
return changetype<Shape>(_emscripten_bind_ScaledShape_GetInnerShape_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_ScaledShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_ScaledShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_ScaledShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_ScaledShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_ScaledShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_ScaledShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_ScaledShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_ScaledShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_ScaledShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_ScaledShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_ScaledShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_ScaledShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_ScaledShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_ScaledShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_ScaledShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_ScaledShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_ScaledShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_ScaledShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_ScaledShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_ScaledShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_ScaledShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_ScaledShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_ScaledShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asDecoratedShape(): DecoratedShape {
return changetype<DecoratedShape>(this);
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShapeSettings_OffsetCenterOfMassShapeSettings_2")
declare function _emscripten_bind_OffsetCenterOfMassShapeSettings_OffsetCenterOfMassShapeSettings_2(inOffset: usize, inShape: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShapeSettings___destroy___0")
declare function _emscripten_bind_OffsetCenterOfMassShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShapeSettings_GetRefCount_0")
declare function _emscripten_bind_OffsetCenterOfMassShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShapeSettings_AddRef_0")
declare function _emscripten_bind_OffsetCenterOfMassShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShapeSettings_Release_0")
declare function _emscripten_bind_OffsetCenterOfMassShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShapeSettings_Create_0")
declare function _emscripten_bind_OffsetCenterOfMassShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_OffsetCenterOfMassShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShapeSettings_get_mOffset_0")
declare function _emscripten_bind_OffsetCenterOfMassShapeSettings_get_mOffset_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShapeSettings_get_mUserData_0")
declare function _emscripten_bind_OffsetCenterOfMassShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShapeSettings_set_mOffset_1")
declare function _emscripten_bind_OffsetCenterOfMassShapeSettings_set_mOffset_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShapeSettings_set_mUserData_1")
declare function _emscripten_bind_OffsetCenterOfMassShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class OffsetCenterOfMassShapeSettings {
static new(inOffset: Vec3, inShape: ShapeSettings): OffsetCenterOfMassShapeSettings {
return changetype<OffsetCenterOfMassShapeSettings>(_emscripten_bind_OffsetCenterOfMassShapeSettings_OffsetCenterOfMassShapeSettings_2(changetype<usize>(inOffset), changetype<usize>(inShape)));
}
__destroy__(): void {
_emscripten_bind_OffsetCenterOfMassShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_OffsetCenterOfMassShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_OffsetCenterOfMassShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_OffsetCenterOfMassShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_OffsetCenterOfMassShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_OffsetCenterOfMassShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mOffset(): Vec3 {
return changetype<Vec3>(_emscripten_bind_OffsetCenterOfMassShapeSettings_get_mOffset_0(changetype<usize>(this)));
}
get mUserData(): i32 {
return _emscripten_bind_OffsetCenterOfMassShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mOffset(value: Vec3) {
_emscripten_bind_OffsetCenterOfMassShapeSettings_set_mOffset_1(changetype<usize>(this), changetype<usize>(value));
}
set mUserData(value: i32) {
_emscripten_bind_OffsetCenterOfMassShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asDecoratedShapeSettings(): DecoratedShapeSettings {
return changetype<DecoratedShapeSettings>(this);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_OffsetCenterOfMassShape_2")
declare function _emscripten_bind_OffsetCenterOfMassShape_OffsetCenterOfMassShape_2(inShape: usize, inOffset: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape___destroy___0")
declare function _emscripten_bind_OffsetCenterOfMassShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetInnerShape_0")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetInnerShape_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetRefCount_0")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_AddRef_0")
declare function _emscripten_bind_OffsetCenterOfMassShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_Release_0")
declare function _emscripten_bind_OffsetCenterOfMassShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetType_0")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetSubType_0")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_MustBeStatic_0")
declare function _emscripten_bind_OffsetCenterOfMassShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetLocalBounds_0")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetCenterOfMass_0")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetUserData_0")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_SetUserData_1")
declare function _emscripten_bind_OffsetCenterOfMassShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetInnerRadius_0")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetMassProperties_0")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetLeafShape_2")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetMaterial_1")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetSurfaceNormal_2")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetSubShapeUserData_1")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_GetVolume_0")
declare function _emscripten_bind_OffsetCenterOfMassShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_IsValidScale_1")
declare function _emscripten_bind_OffsetCenterOfMassShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_MakeScaleValid_1")
declare function _emscripten_bind_OffsetCenterOfMassShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_OffsetCenterOfMassShape_ScaleShape_1")
declare function _emscripten_bind_OffsetCenterOfMassShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class OffsetCenterOfMassShape {
static new(inShape: Shape, inOffset: Vec3): OffsetCenterOfMassShape {
return changetype<OffsetCenterOfMassShape>(_emscripten_bind_OffsetCenterOfMassShape_OffsetCenterOfMassShape_2(changetype<usize>(inShape), changetype<usize>(inOffset)));
}
__destroy__(): void {
_emscripten_bind_OffsetCenterOfMassShape___destroy___0(changetype<usize>(this));
}
GetInnerShape(): Shape {
return changetype<Shape>(_emscripten_bind_OffsetCenterOfMassShape_GetInnerShape_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_OffsetCenterOfMassShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_OffsetCenterOfMassShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_OffsetCenterOfMassShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_OffsetCenterOfMassShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_OffsetCenterOfMassShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_OffsetCenterOfMassShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_OffsetCenterOfMassShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_OffsetCenterOfMassShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_OffsetCenterOfMassShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_OffsetCenterOfMassShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_OffsetCenterOfMassShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_OffsetCenterOfMassShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_OffsetCenterOfMassShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_OffsetCenterOfMassShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_OffsetCenterOfMassShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_OffsetCenterOfMassShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_OffsetCenterOfMassShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_OffsetCenterOfMassShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_OffsetCenterOfMassShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_OffsetCenterOfMassShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_OffsetCenterOfMassShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_OffsetCenterOfMassShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_OffsetCenterOfMassShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asDecoratedShape(): DecoratedShape {
return changetype<DecoratedShape>(this);
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_RotatedTranslatedShapeSettings_RotatedTranslatedShapeSettings_3")
declare function _emscripten_bind_RotatedTranslatedShapeSettings_RotatedTranslatedShapeSettings_3(inPosition: usize, inRotation: usize, inShape: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShapeSettings___destroy___0")
declare function _emscripten_bind_RotatedTranslatedShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShapeSettings_GetRefCount_0")
declare function _emscripten_bind_RotatedTranslatedShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShapeSettings_AddRef_0")
declare function _emscripten_bind_RotatedTranslatedShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShapeSettings_Release_0")
declare function _emscripten_bind_RotatedTranslatedShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShapeSettings_Create_0")
declare function _emscripten_bind_RotatedTranslatedShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_RotatedTranslatedShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShapeSettings_get_mPosition_0")
declare function _emscripten_bind_RotatedTranslatedShapeSettings_get_mPosition_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShapeSettings_get_mRotation_0")
declare function _emscripten_bind_RotatedTranslatedShapeSettings_get_mRotation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShapeSettings_get_mUserData_0")
declare function _emscripten_bind_RotatedTranslatedShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShapeSettings_set_mPosition_1")
declare function _emscripten_bind_RotatedTranslatedShapeSettings_set_mPosition_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShapeSettings_set_mRotation_1")
declare function _emscripten_bind_RotatedTranslatedShapeSettings_set_mRotation_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShapeSettings_set_mUserData_1")
declare function _emscripten_bind_RotatedTranslatedShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class RotatedTranslatedShapeSettings {
static new(inPosition: Vec3, inRotation: Quat, inShape: ShapeSettings): RotatedTranslatedShapeSettings {
return changetype<RotatedTranslatedShapeSettings>(_emscripten_bind_RotatedTranslatedShapeSettings_RotatedTranslatedShapeSettings_3(changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inShape)));
}
__destroy__(): void {
_emscripten_bind_RotatedTranslatedShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_RotatedTranslatedShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_RotatedTranslatedShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_RotatedTranslatedShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_RotatedTranslatedShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_RotatedTranslatedShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mPosition(): Vec3 {
return changetype<Vec3>(_emscripten_bind_RotatedTranslatedShapeSettings_get_mPosition_0(changetype<usize>(this)));
}
get mRotation(): Quat {
return changetype<Quat>(_emscripten_bind_RotatedTranslatedShapeSettings_get_mRotation_0(changetype<usize>(this)));
}
get mUserData(): i32 {
return _emscripten_bind_RotatedTranslatedShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mPosition(value: Vec3) {
_emscripten_bind_RotatedTranslatedShapeSettings_set_mPosition_1(changetype<usize>(this), changetype<usize>(value));
}
set mRotation(value: Quat) {
_emscripten_bind_RotatedTranslatedShapeSettings_set_mRotation_1(changetype<usize>(this), changetype<usize>(value));
}
set mUserData(value: i32) {
_emscripten_bind_RotatedTranslatedShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asDecoratedShapeSettings(): DecoratedShapeSettings {
return changetype<DecoratedShapeSettings>(this);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape___destroy___0")
declare function _emscripten_bind_RotatedTranslatedShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetRotation_0")
declare function _emscripten_bind_RotatedTranslatedShape_GetRotation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetPosition_0")
declare function _emscripten_bind_RotatedTranslatedShape_GetPosition_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetInnerShape_0")
declare function _emscripten_bind_RotatedTranslatedShape_GetInnerShape_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetRefCount_0")
declare function _emscripten_bind_RotatedTranslatedShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_AddRef_0")
declare function _emscripten_bind_RotatedTranslatedShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_Release_0")
declare function _emscripten_bind_RotatedTranslatedShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetType_0")
declare function _emscripten_bind_RotatedTranslatedShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetSubType_0")
declare function _emscripten_bind_RotatedTranslatedShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_MustBeStatic_0")
declare function _emscripten_bind_RotatedTranslatedShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetLocalBounds_0")
declare function _emscripten_bind_RotatedTranslatedShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_RotatedTranslatedShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetCenterOfMass_0")
declare function _emscripten_bind_RotatedTranslatedShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetUserData_0")
declare function _emscripten_bind_RotatedTranslatedShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_SetUserData_1")
declare function _emscripten_bind_RotatedTranslatedShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_RotatedTranslatedShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetInnerRadius_0")
declare function _emscripten_bind_RotatedTranslatedShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetMassProperties_0")
declare function _emscripten_bind_RotatedTranslatedShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetLeafShape_2")
declare function _emscripten_bind_RotatedTranslatedShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetMaterial_1")
declare function _emscripten_bind_RotatedTranslatedShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetSurfaceNormal_2")
declare function _emscripten_bind_RotatedTranslatedShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetSubShapeUserData_1")
declare function _emscripten_bind_RotatedTranslatedShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_RotatedTranslatedShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_GetVolume_0")
declare function _emscripten_bind_RotatedTranslatedShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_IsValidScale_1")
declare function _emscripten_bind_RotatedTranslatedShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_MakeScaleValid_1")
declare function _emscripten_bind_RotatedTranslatedShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_RotatedTranslatedShape_ScaleShape_1")
declare function _emscripten_bind_RotatedTranslatedShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class RotatedTranslatedShape {
__destroy__(): void {
_emscripten_bind_RotatedTranslatedShape___destroy___0(changetype<usize>(this));
}
GetRotation(): Quat {
return changetype<Quat>(_emscripten_bind_RotatedTranslatedShape_GetRotation_0(changetype<usize>(this)));
}
GetPosition(): Vec3 {
return changetype<Vec3>(_emscripten_bind_RotatedTranslatedShape_GetPosition_0(changetype<usize>(this)));
}
GetInnerShape(): Shape {
return changetype<Shape>(_emscripten_bind_RotatedTranslatedShape_GetInnerShape_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_RotatedTranslatedShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_RotatedTranslatedShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_RotatedTranslatedShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_RotatedTranslatedShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_RotatedTranslatedShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_RotatedTranslatedShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_RotatedTranslatedShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_RotatedTranslatedShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_RotatedTranslatedShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_RotatedTranslatedShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_RotatedTranslatedShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_RotatedTranslatedShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_RotatedTranslatedShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_RotatedTranslatedShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_RotatedTranslatedShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_RotatedTranslatedShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_RotatedTranslatedShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_RotatedTranslatedShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_RotatedTranslatedShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_RotatedTranslatedShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_RotatedTranslatedShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_RotatedTranslatedShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_RotatedTranslatedShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asDecoratedShape(): DecoratedShape {
return changetype<DecoratedShape>(this);
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_MeshShapeSettings_MeshShapeSettings_0")
declare function _emscripten_bind_MeshShapeSettings_MeshShapeSettings_0(): usize;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_MeshShapeSettings_2")
declare function _emscripten_bind_MeshShapeSettings_MeshShapeSettings_2(inTriangleList: usize, inMaterialList: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_MeshShapeSettings_1")
declare function _emscripten_bind_MeshShapeSettings_MeshShapeSettings_1(inTriangleList: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_MeshShapeSettings_3")
declare function _emscripten_bind_MeshShapeSettings_MeshShapeSettings_3(inVertices: usize, inTriangles: usize, inMaterialList: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShapeSettings___destroy___0")
declare function _emscripten_bind_MeshShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_Sanitize_0")
declare function _emscripten_bind_MeshShapeSettings_Sanitize_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_GetRefCount_0")
declare function _emscripten_bind_MeshShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_AddRef_0")
declare function _emscripten_bind_MeshShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_Release_0")
declare function _emscripten_bind_MeshShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_Create_0")
declare function _emscripten_bind_MeshShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_MeshShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_get_mTriangleVertices_0")
declare function _emscripten_bind_MeshShapeSettings_get_mTriangleVertices_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_get_mIndexedTriangles_0")
declare function _emscripten_bind_MeshShapeSettings_get_mIndexedTriangles_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_get_mMaterials_0")
declare function _emscripten_bind_MeshShapeSettings_get_mMaterials_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_get_mMaxTrianglesPerLeaf_0")
declare function _emscripten_bind_MeshShapeSettings_get_mMaxTrianglesPerLeaf_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_get_mActiveEdgeCosThresholdAngle_0")
declare function _emscripten_bind_MeshShapeSettings_get_mActiveEdgeCosThresholdAngle_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_get_mPerTriangleUserData_0")
declare function _emscripten_bind_MeshShapeSettings_get_mPerTriangleUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_get_mBuildQuality_0")
declare function _emscripten_bind_MeshShapeSettings_get_mBuildQuality_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_get_mUserData_0")
declare function _emscripten_bind_MeshShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_set_mTriangleVertices_1")
declare function _emscripten_bind_MeshShapeSettings_set_mTriangleVertices_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_set_mIndexedTriangles_1")
declare function _emscripten_bind_MeshShapeSettings_set_mIndexedTriangles_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_set_mMaterials_1")
declare function _emscripten_bind_MeshShapeSettings_set_mMaterials_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_set_mMaxTrianglesPerLeaf_1")
declare function _emscripten_bind_MeshShapeSettings_set_mMaxTrianglesPerLeaf_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_set_mActiveEdgeCosThresholdAngle_1")
declare function _emscripten_bind_MeshShapeSettings_set_mActiveEdgeCosThresholdAngle_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_set_mPerTriangleUserData_1")
declare function _emscripten_bind_MeshShapeSettings_set_mPerTriangleUserData_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_set_mBuildQuality_1")
declare function _emscripten_bind_MeshShapeSettings_set_mBuildQuality_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_MeshShapeSettings_set_mUserData_1")
declare function _emscripten_bind_MeshShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class MeshShapeSettings {
static new0(): MeshShapeSettings {
return changetype<MeshShapeSettings>(_emscripten_bind_MeshShapeSettings_MeshShapeSettings_0());
}
static new2(inTriangleList: TriangleList, inMaterialList: PhysicsMaterialList): MeshShapeSettings {
return changetype<MeshShapeSettings>(_emscripten_bind_MeshShapeSettings_MeshShapeSettings_2(changetype<usize>(inTriangleList), changetype<usize>(inMaterialList)));
}
static new1(inTriangleList: TriangleList): MeshShapeSettings {
return changetype<MeshShapeSettings>(_emscripten_bind_MeshShapeSettings_MeshShapeSettings_1(changetype<usize>(inTriangleList)));
}
static new3(inVertices: VertexList, inTriangles: IndexedTriangleList, inMaterialList: PhysicsMaterialList): MeshShapeSettings {
return changetype<MeshShapeSettings>(_emscripten_bind_MeshShapeSettings_MeshShapeSettings_3(changetype<usize>(inVertices), changetype<usize>(inTriangles), changetype<usize>(inMaterialList)));
}
__destroy__(): void {
_emscripten_bind_MeshShapeSettings___destroy___0(changetype<usize>(this));
}
Sanitize(): void {
_emscripten_bind_MeshShapeSettings_Sanitize_0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_MeshShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_MeshShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_MeshShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_MeshShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_MeshShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mTriangleVertices(): VertexList {
return changetype<VertexList>(_emscripten_bind_MeshShapeSettings_get_mTriangleVertices_0(changetype<usize>(this)));
}
get mIndexedTriangles(): IndexedTriangleList {
return changetype<IndexedTriangleList>(_emscripten_bind_MeshShapeSettings_get_mIndexedTriangles_0(changetype<usize>(this)));
}
get mMaterials(): PhysicsMaterialList {
return changetype<PhysicsMaterialList>(_emscripten_bind_MeshShapeSettings_get_mMaterials_0(changetype<usize>(this)));
}
get mMaxTrianglesPerLeaf(): i32 {
return _emscripten_bind_MeshShapeSettings_get_mMaxTrianglesPerLeaf_0(changetype<usize>(this));
}
get mActiveEdgeCosThresholdAngle(): f32 {
return _emscripten_bind_MeshShapeSettings_get_mActiveEdgeCosThresholdAngle_0(changetype<usize>(this));
}
get mPerTriangleUserData(): bool {
return _emscripten_bind_MeshShapeSettings_get_mPerTriangleUserData_0(changetype<usize>(this));
}
get mBuildQuality(): MeshShapeSettings_EBuildQuality {
return changetype<MeshShapeSettings_EBuildQuality>(_emscripten_bind_MeshShapeSettings_get_mBuildQuality_0(changetype<usize>(this)));
}
get mUserData(): i32 {
return _emscripten_bind_MeshShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mTriangleVertices(value: VertexList) {
_emscripten_bind_MeshShapeSettings_set_mTriangleVertices_1(changetype<usize>(this), changetype<usize>(value));
}
set mIndexedTriangles(value: IndexedTriangleList) {
_emscripten_bind_MeshShapeSettings_set_mIndexedTriangles_1(changetype<usize>(this), changetype<usize>(value));
}
set mMaterials(value: PhysicsMaterialList) {
_emscripten_bind_MeshShapeSettings_set_mMaterials_1(changetype<usize>(this), changetype<usize>(value));
}
set mMaxTrianglesPerLeaf(value: i32) {
_emscripten_bind_MeshShapeSettings_set_mMaxTrianglesPerLeaf_1(changetype<usize>(this), value);
}
set mActiveEdgeCosThresholdAngle(value: f32) {
_emscripten_bind_MeshShapeSettings_set_mActiveEdgeCosThresholdAngle_1(changetype<usize>(this), value);
}
set mPerTriangleUserData(value: bool) {
_emscripten_bind_MeshShapeSettings_set_mPerTriangleUserData_1(changetype<usize>(this), value);
}
set mBuildQuality(value: MeshShapeSettings_EBuildQuality) {
_emscripten_bind_MeshShapeSettings_set_mBuildQuality_1(changetype<usize>(this), changetype<usize>(value));
}
set mUserData(value: i32) {
_emscripten_bind_MeshShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_MeshShape___destroy___0")
declare function _emscripten_bind_MeshShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_MeshShape_GetTriangleUserData_1")
declare function _emscripten_bind_MeshShape_GetTriangleUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_GetRefCount_0")
declare function _emscripten_bind_MeshShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_AddRef_0")
declare function _emscripten_bind_MeshShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MeshShape_Release_0")
declare function _emscripten_bind_MeshShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MeshShape_GetType_0")
declare function _emscripten_bind_MeshShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_GetSubType_0")
declare function _emscripten_bind_MeshShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_MustBeStatic_0")
declare function _emscripten_bind_MeshShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_GetLocalBounds_0")
declare function _emscripten_bind_MeshShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_MeshShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_GetCenterOfMass_0")
declare function _emscripten_bind_MeshShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_GetUserData_0")
declare function _emscripten_bind_MeshShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_SetUserData_1")
declare function _emscripten_bind_MeshShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_MeshShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_MeshShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_GetInnerRadius_0")
declare function _emscripten_bind_MeshShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MeshShape_GetMassProperties_0")
declare function _emscripten_bind_MeshShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_GetLeafShape_2")
declare function _emscripten_bind_MeshShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_GetMaterial_1")
declare function _emscripten_bind_MeshShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_GetSurfaceNormal_2")
declare function _emscripten_bind_MeshShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_GetSubShapeUserData_1")
declare function _emscripten_bind_MeshShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_MeshShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_GetVolume_0")
declare function _emscripten_bind_MeshShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MeshShape_IsValidScale_1")
declare function _emscripten_bind_MeshShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_MakeScaleValid_1")
declare function _emscripten_bind_MeshShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_MeshShape_ScaleShape_1")
declare function _emscripten_bind_MeshShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class MeshShape {
__destroy__(): void {
_emscripten_bind_MeshShape___destroy___0(changetype<usize>(this));
}
GetTriangleUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_MeshShape_GetTriangleUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetRefCount(): i32 {
return _emscripten_bind_MeshShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_MeshShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_MeshShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_MeshShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_MeshShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_MeshShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_MeshShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_MeshShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_MeshShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_MeshShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_MeshShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_MeshShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_MeshShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_MeshShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_MeshShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_MeshShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_MeshShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_MeshShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_MeshShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_MeshShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_MeshShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_MeshShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_MeshShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_HeightFieldShapeConstantValues___destroy___0")
declare function _emscripten_bind_HeightFieldShapeConstantValues___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeConstantValues_get_cNoCollisionValue_0")
declare function _emscripten_bind_HeightFieldShapeConstantValues_get_cNoCollisionValue_0(): f32;
@final
@unmanaged
export class HeightFieldShapeConstantValues {
__destroy__(): void {
_emscripten_bind_HeightFieldShapeConstantValues___destroy___0(changetype<usize>(this));
}
get cNoCollisionValue(): f32 {
return _emscripten_bind_HeightFieldShapeConstantValues_get_cNoCollisionValue_0();
}
}
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_HeightFieldShapeSettings_0")
declare function _emscripten_bind_HeightFieldShapeSettings_HeightFieldShapeSettings_0(): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings___destroy___0")
declare function _emscripten_bind_HeightFieldShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_GetRefCount_0")
declare function _emscripten_bind_HeightFieldShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_AddRef_0")
declare function _emscripten_bind_HeightFieldShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_Release_0")
declare function _emscripten_bind_HeightFieldShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_Create_0")
declare function _emscripten_bind_HeightFieldShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_HeightFieldShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_get_mOffset_0")
declare function _emscripten_bind_HeightFieldShapeSettings_get_mOffset_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_get_mScale_0")
declare function _emscripten_bind_HeightFieldShapeSettings_get_mScale_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_get_mSampleCount_0")
declare function _emscripten_bind_HeightFieldShapeSettings_get_mSampleCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_get_mMinHeightValue_0")
declare function _emscripten_bind_HeightFieldShapeSettings_get_mMinHeightValue_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_get_mMaxHeightValue_0")
declare function _emscripten_bind_HeightFieldShapeSettings_get_mMaxHeightValue_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_get_mMaterialsCapacity_0")
declare function _emscripten_bind_HeightFieldShapeSettings_get_mMaterialsCapacity_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_get_mBlockSize_0")
declare function _emscripten_bind_HeightFieldShapeSettings_get_mBlockSize_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_get_mBitsPerSample_0")
declare function _emscripten_bind_HeightFieldShapeSettings_get_mBitsPerSample_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_get_mHeightSamples_0")
declare function _emscripten_bind_HeightFieldShapeSettings_get_mHeightSamples_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_get_mMaterialIndices_0")
declare function _emscripten_bind_HeightFieldShapeSettings_get_mMaterialIndices_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_get_mMaterials_0")
declare function _emscripten_bind_HeightFieldShapeSettings_get_mMaterials_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_get_mActiveEdgeCosThresholdAngle_0")
declare function _emscripten_bind_HeightFieldShapeSettings_get_mActiveEdgeCosThresholdAngle_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_get_mUserData_0")
declare function _emscripten_bind_HeightFieldShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_set_mOffset_1")
declare function _emscripten_bind_HeightFieldShapeSettings_set_mOffset_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_set_mScale_1")
declare function _emscripten_bind_HeightFieldShapeSettings_set_mScale_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_set_mSampleCount_1")
declare function _emscripten_bind_HeightFieldShapeSettings_set_mSampleCount_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_set_mMinHeightValue_1")
declare function _emscripten_bind_HeightFieldShapeSettings_set_mMinHeightValue_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_set_mMaxHeightValue_1")
declare function _emscripten_bind_HeightFieldShapeSettings_set_mMaxHeightValue_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_set_mMaterialsCapacity_1")
declare function _emscripten_bind_HeightFieldShapeSettings_set_mMaterialsCapacity_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_set_mBlockSize_1")
declare function _emscripten_bind_HeightFieldShapeSettings_set_mBlockSize_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_set_mBitsPerSample_1")
declare function _emscripten_bind_HeightFieldShapeSettings_set_mBitsPerSample_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_set_mHeightSamples_1")
declare function _emscripten_bind_HeightFieldShapeSettings_set_mHeightSamples_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_set_mMaterialIndices_1")
declare function _emscripten_bind_HeightFieldShapeSettings_set_mMaterialIndices_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_set_mMaterials_1")
declare function _emscripten_bind_HeightFieldShapeSettings_set_mMaterials_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_set_mActiveEdgeCosThresholdAngle_1")
declare function _emscripten_bind_HeightFieldShapeSettings_set_mActiveEdgeCosThresholdAngle_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_HeightFieldShapeSettings_set_mUserData_1")
declare function _emscripten_bind_HeightFieldShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class HeightFieldShapeSettings {
static new(): HeightFieldShapeSettings {
return changetype<HeightFieldShapeSettings>(_emscripten_bind_HeightFieldShapeSettings_HeightFieldShapeSettings_0());
}
__destroy__(): void {
_emscripten_bind_HeightFieldShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_HeightFieldShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_HeightFieldShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_HeightFieldShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_HeightFieldShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_HeightFieldShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mOffset(): Vec3 {
return changetype<Vec3>(_emscripten_bind_HeightFieldShapeSettings_get_mOffset_0(changetype<usize>(this)));
}
get mScale(): Vec3 {
return changetype<Vec3>(_emscripten_bind_HeightFieldShapeSettings_get_mScale_0(changetype<usize>(this)));
}
get mSampleCount(): i32 {
return _emscripten_bind_HeightFieldShapeSettings_get_mSampleCount_0(changetype<usize>(this));
}
get mMinHeightValue(): f32 {
return _emscripten_bind_HeightFieldShapeSettings_get_mMinHeightValue_0(changetype<usize>(this));
}
get mMaxHeightValue(): f32 {
return _emscripten_bind_HeightFieldShapeSettings_get_mMaxHeightValue_0(changetype<usize>(this));
}
get mMaterialsCapacity(): i32 {
return _emscripten_bind_HeightFieldShapeSettings_get_mMaterialsCapacity_0(changetype<usize>(this));
}
get mBlockSize(): i32 {
return _emscripten_bind_HeightFieldShapeSettings_get_mBlockSize_0(changetype<usize>(this));
}
get mBitsPerSample(): i32 {
return _emscripten_bind_HeightFieldShapeSettings_get_mBitsPerSample_0(changetype<usize>(this));
}
get mHeightSamples(): ArrayFloat {
return changetype<ArrayFloat>(_emscripten_bind_HeightFieldShapeSettings_get_mHeightSamples_0(changetype<usize>(this)));
}
get mMaterialIndices(): ArrayUint8 {
return changetype<ArrayUint8>(_emscripten_bind_HeightFieldShapeSettings_get_mMaterialIndices_0(changetype<usize>(this)));
}
get mMaterials(): PhysicsMaterialList {
return changetype<PhysicsMaterialList>(_emscripten_bind_HeightFieldShapeSettings_get_mMaterials_0(changetype<usize>(this)));
}
get mActiveEdgeCosThresholdAngle(): f32 {
return _emscripten_bind_HeightFieldShapeSettings_get_mActiveEdgeCosThresholdAngle_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_HeightFieldShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mOffset(value: Vec3) {
_emscripten_bind_HeightFieldShapeSettings_set_mOffset_1(changetype<usize>(this), changetype<usize>(value));
}
set mScale(value: Vec3) {
_emscripten_bind_HeightFieldShapeSettings_set_mScale_1(changetype<usize>(this), changetype<usize>(value));
}
set mSampleCount(value: i32) {
_emscripten_bind_HeightFieldShapeSettings_set_mSampleCount_1(changetype<usize>(this), value);
}
set mMinHeightValue(value: f32) {
_emscripten_bind_HeightFieldShapeSettings_set_mMinHeightValue_1(changetype<usize>(this), value);
}
set mMaxHeightValue(value: f32) {
_emscripten_bind_HeightFieldShapeSettings_set_mMaxHeightValue_1(changetype<usize>(this), value);
}
set mMaterialsCapacity(value: i32) {
_emscripten_bind_HeightFieldShapeSettings_set_mMaterialsCapacity_1(changetype<usize>(this), value);
}
set mBlockSize(value: i32) {
_emscripten_bind_HeightFieldShapeSettings_set_mBlockSize_1(changetype<usize>(this), value);
}
set mBitsPerSample(value: i32) {
_emscripten_bind_HeightFieldShapeSettings_set_mBitsPerSample_1(changetype<usize>(this), value);
}
set mHeightSamples(value: ArrayFloat) {
_emscripten_bind_HeightFieldShapeSettings_set_mHeightSamples_1(changetype<usize>(this), changetype<usize>(value));
}
set mMaterialIndices(value: ArrayUint8) {
_emscripten_bind_HeightFieldShapeSettings_set_mMaterialIndices_1(changetype<usize>(this), changetype<usize>(value));
}
set mMaterials(value: PhysicsMaterialList) {
_emscripten_bind_HeightFieldShapeSettings_set_mMaterials_1(changetype<usize>(this), changetype<usize>(value));
}
set mActiveEdgeCosThresholdAngle(value: f32) {
_emscripten_bind_HeightFieldShapeSettings_set_mActiveEdgeCosThresholdAngle_1(changetype<usize>(this), value);
}
set mUserData(value: i32) {
_emscripten_bind_HeightFieldShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_HeightFieldShape___destroy___0")
declare function _emscripten_bind_HeightFieldShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetSampleCount_0")
declare function _emscripten_bind_HeightFieldShape_GetSampleCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetBlockSize_0")
declare function _emscripten_bind_HeightFieldShape_GetBlockSize_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetPosition_2")
declare function _emscripten_bind_HeightFieldShape_GetPosition_2(self: usize, inX: usize, inY: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_IsNoCollision_2")
declare function _emscripten_bind_HeightFieldShape_IsNoCollision_2(self: usize, inX: usize, inY: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetMinHeightValue_0")
declare function _emscripten_bind_HeightFieldShape_GetMinHeightValue_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetMaxHeightValue_0")
declare function _emscripten_bind_HeightFieldShape_GetMaxHeightValue_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetHeights_6")
declare function _emscripten_bind_HeightFieldShape_GetHeights_6(self: usize, inX: usize, inY: usize, inSizeX: usize, inSizeY: usize, outHeights: usize, inHeightsStride: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShape_SetHeights_8")
declare function _emscripten_bind_HeightFieldShape_SetHeights_8(self: usize, inX: usize, inY: usize, inSizeX: usize, inSizeY: usize, inHeights: usize, inHeightsStride: usize, inAllocator: usize, inActiveEdgeCosThresholdAngle: f32): void;
@external("Jolt", "_emscripten_bind_HeightFieldShape_SetHeights_7")
declare function _emscripten_bind_HeightFieldShape_SetHeights_7(self: usize, inX: usize, inY: usize, inSizeX: usize, inSizeY: usize, inHeights: usize, inHeightsStride: usize, inAllocator: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetMaterials_6")
declare function _emscripten_bind_HeightFieldShape_GetMaterials_6(self: usize, inX: usize, inY: usize, inSizeX: usize, inSizeY: usize, outMaterials: usize, inMaterialsStride: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShape_SetMaterials_8")
declare function _emscripten_bind_HeightFieldShape_SetMaterials_8(self: usize, inX: usize, inY: usize, inSizeX: usize, inSizeY: usize, inMaterials: usize, inMaterialsStride: usize, inMaterialList: usize, inAllocator: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetRefCount_0")
declare function _emscripten_bind_HeightFieldShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_AddRef_0")
declare function _emscripten_bind_HeightFieldShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShape_Release_0")
declare function _emscripten_bind_HeightFieldShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetType_0")
declare function _emscripten_bind_HeightFieldShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetSubType_0")
declare function _emscripten_bind_HeightFieldShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_MustBeStatic_0")
declare function _emscripten_bind_HeightFieldShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetLocalBounds_0")
declare function _emscripten_bind_HeightFieldShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_HeightFieldShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetCenterOfMass_0")
declare function _emscripten_bind_HeightFieldShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetUserData_0")
declare function _emscripten_bind_HeightFieldShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_SetUserData_1")
declare function _emscripten_bind_HeightFieldShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_HeightFieldShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetInnerRadius_0")
declare function _emscripten_bind_HeightFieldShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetMassProperties_0")
declare function _emscripten_bind_HeightFieldShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetLeafShape_2")
declare function _emscripten_bind_HeightFieldShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetMaterial_1")
declare function _emscripten_bind_HeightFieldShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetSurfaceNormal_2")
declare function _emscripten_bind_HeightFieldShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetSubShapeUserData_1")
declare function _emscripten_bind_HeightFieldShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_HeightFieldShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_GetVolume_0")
declare function _emscripten_bind_HeightFieldShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HeightFieldShape_IsValidScale_1")
declare function _emscripten_bind_HeightFieldShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_MakeScaleValid_1")
declare function _emscripten_bind_HeightFieldShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_HeightFieldShape_ScaleShape_1")
declare function _emscripten_bind_HeightFieldShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class HeightFieldShape {
__destroy__(): void {
_emscripten_bind_HeightFieldShape___destroy___0(changetype<usize>(this));
}
GetSampleCount(): i32 {
return _emscripten_bind_HeightFieldShape_GetSampleCount_0(changetype<usize>(this));
}
GetBlockSize(): i32 {
return _emscripten_bind_HeightFieldShape_GetBlockSize_0(changetype<usize>(this));
}
GetPosition(inX: i32, inY: i32): Vec3 {
return changetype<Vec3>(_emscripten_bind_HeightFieldShape_GetPosition_2(changetype<usize>(this), inX, inY));
}
IsNoCollision(inX: i32, inY: i32): bool {
return _emscripten_bind_HeightFieldShape_IsNoCollision_2(changetype<usize>(this), inX, inY);
}
GetMinHeightValue(): f32 {
return _emscripten_bind_HeightFieldShape_GetMinHeightValue_0(changetype<usize>(this));
}
GetMaxHeightValue(): f32 {
return _emscripten_bind_HeightFieldShape_GetMaxHeightValue_0(changetype<usize>(this));
}
GetHeights(inX: i32, inY: i32, inSizeX: i32, inSizeY: i32, outHeights: FloatMemRef, inHeightsStride: i32): void {
_emscripten_bind_HeightFieldShape_GetHeights_6(changetype<usize>(this), inX, inY, inSizeX, inSizeY, changetype<usize>(outHeights), inHeightsStride);
}
SetHeights_8(inX: i32, inY: i32, inSizeX: i32, inSizeY: i32, inHeights: FloatMemRef, inHeightsStride: i32, inAllocator: TempAllocator, inActiveEdgeCosThresholdAngle: f32): void {
_emscripten_bind_HeightFieldShape_SetHeights_8(changetype<usize>(this), inX, inY, inSizeX, inSizeY, changetype<usize>(inHeights), inHeightsStride, changetype<usize>(inAllocator), inActiveEdgeCosThresholdAngle);
}
SetHeights_7(inX: i32, inY: i32, inSizeX: i32, inSizeY: i32, inHeights: FloatMemRef, inHeightsStride: i32, inAllocator: TempAllocator): void {
_emscripten_bind_HeightFieldShape_SetHeights_7(changetype<usize>(this), inX, inY, inSizeX, inSizeY, changetype<usize>(inHeights), inHeightsStride, changetype<usize>(inAllocator));
}
GetMaterials(inX: i32, inY: i32, inSizeX: i32, inSizeY: i32, outMaterials: Uint8MemRef, inMaterialsStride: i32): void {
_emscripten_bind_HeightFieldShape_GetMaterials_6(changetype<usize>(this), inX, inY, inSizeX, inSizeY, changetype<usize>(outMaterials), inMaterialsStride);
}
SetMaterials(inX: i32, inY: i32, inSizeX: i32, inSizeY: i32, inMaterials: Uint8MemRef, inMaterialsStride: i32, inMaterialList: PhysicsMaterialList, inAllocator: TempAllocator): bool {
return _emscripten_bind_HeightFieldShape_SetMaterials_8(changetype<usize>(this), inX, inY, inSizeX, inSizeY, changetype<usize>(inMaterials), inMaterialsStride, changetype<usize>(inMaterialList), changetype<usize>(inAllocator));
}
GetRefCount(): i32 {
return _emscripten_bind_HeightFieldShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_HeightFieldShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_HeightFieldShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_HeightFieldShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_HeightFieldShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_HeightFieldShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_HeightFieldShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_HeightFieldShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_HeightFieldShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_HeightFieldShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_HeightFieldShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_HeightFieldShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_HeightFieldShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_HeightFieldShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_HeightFieldShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_HeightFieldShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_HeightFieldShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_HeightFieldShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_HeightFieldShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_HeightFieldShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_HeightFieldShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_HeightFieldShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_HeightFieldShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_PlaneShapeSettings_3")
declare function _emscripten_bind_PlaneShapeSettings_PlaneShapeSettings_3(inPlane: usize, inMaterial: usize, inHalfExtent: f32): usize;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_PlaneShapeSettings_2")
declare function _emscripten_bind_PlaneShapeSettings_PlaneShapeSettings_2(inPlane: usize, inMaterial: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_PlaneShapeSettings_1")
declare function _emscripten_bind_PlaneShapeSettings_PlaneShapeSettings_1(inPlane: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings___destroy___0")
declare function _emscripten_bind_PlaneShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_GetRefCount_0")
declare function _emscripten_bind_PlaneShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_AddRef_0")
declare function _emscripten_bind_PlaneShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_Release_0")
declare function _emscripten_bind_PlaneShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_Create_0")
declare function _emscripten_bind_PlaneShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_PlaneShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_get_mPlane_0")
declare function _emscripten_bind_PlaneShapeSettings_get_mPlane_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_get_mMaterial_0")
declare function _emscripten_bind_PlaneShapeSettings_get_mMaterial_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_get_mHalfExtent_0")
declare function _emscripten_bind_PlaneShapeSettings_get_mHalfExtent_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_get_mUserData_0")
declare function _emscripten_bind_PlaneShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_set_mPlane_1")
declare function _emscripten_bind_PlaneShapeSettings_set_mPlane_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_set_mMaterial_1")
declare function _emscripten_bind_PlaneShapeSettings_set_mMaterial_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_set_mHalfExtent_1")
declare function _emscripten_bind_PlaneShapeSettings_set_mHalfExtent_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PlaneShapeSettings_set_mUserData_1")
declare function _emscripten_bind_PlaneShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class PlaneShapeSettings {
static new3(inPlane: Plane, inMaterial: PhysicsMaterial, inHalfExtent: f32): PlaneShapeSettings {
return changetype<PlaneShapeSettings>(_emscripten_bind_PlaneShapeSettings_PlaneShapeSettings_3(changetype<usize>(inPlane), changetype<usize>(inMaterial), inHalfExtent));
}
static new2(inPlane: Plane, inMaterial: PhysicsMaterial): PlaneShapeSettings {
return changetype<PlaneShapeSettings>(_emscripten_bind_PlaneShapeSettings_PlaneShapeSettings_2(changetype<usize>(inPlane), changetype<usize>(inMaterial)));
}
static new1(inPlane: Plane): PlaneShapeSettings {
return changetype<PlaneShapeSettings>(_emscripten_bind_PlaneShapeSettings_PlaneShapeSettings_1(changetype<usize>(inPlane)));
}
__destroy__(): void {
_emscripten_bind_PlaneShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_PlaneShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_PlaneShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_PlaneShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_PlaneShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_PlaneShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mPlane(): Plane {
return changetype<Plane>(_emscripten_bind_PlaneShapeSettings_get_mPlane_0(changetype<usize>(this)));
}
get mMaterial(): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_PlaneShapeSettings_get_mMaterial_0(changetype<usize>(this)));
}
get mHalfExtent(): f32 {
return _emscripten_bind_PlaneShapeSettings_get_mHalfExtent_0(changetype<usize>(this));
}
get mUserData(): i32 {
return _emscripten_bind_PlaneShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mPlane(value: Plane) {
_emscripten_bind_PlaneShapeSettings_set_mPlane_1(changetype<usize>(this), changetype<usize>(value));
}
set mMaterial(value: PhysicsMaterial) {
_emscripten_bind_PlaneShapeSettings_set_mMaterial_1(changetype<usize>(this), changetype<usize>(value));
}
set mHalfExtent(value: f32) {
_emscripten_bind_PlaneShapeSettings_set_mHalfExtent_1(changetype<usize>(this), value);
}
set mUserData(value: i32) {
_emscripten_bind_PlaneShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_PlaneShape_PlaneShape_3")
declare function _emscripten_bind_PlaneShape_PlaneShape_3(inPlane: usize, inMaterial: usize, inHalfExtent: f32): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_PlaneShape_2")
declare function _emscripten_bind_PlaneShape_PlaneShape_2(inPlane: usize, inMaterial: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_PlaneShape_1")
declare function _emscripten_bind_PlaneShape_PlaneShape_1(inPlane: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape___destroy___0")
declare function _emscripten_bind_PlaneShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_PlaneShape_SetMaterial_1")
declare function _emscripten_bind_PlaneShape_SetMaterial_1(self: usize, inMaterial: usize): void;
@external("Jolt", "_emscripten_bind_PlaneShape_GetPlane_0")
declare function _emscripten_bind_PlaneShape_GetPlane_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_GetHalfExtent_0")
declare function _emscripten_bind_PlaneShape_GetHalfExtent_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PlaneShape_GetRefCount_0")
declare function _emscripten_bind_PlaneShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_AddRef_0")
declare function _emscripten_bind_PlaneShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PlaneShape_Release_0")
declare function _emscripten_bind_PlaneShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PlaneShape_GetType_0")
declare function _emscripten_bind_PlaneShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_GetSubType_0")
declare function _emscripten_bind_PlaneShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_MustBeStatic_0")
declare function _emscripten_bind_PlaneShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_GetLocalBounds_0")
declare function _emscripten_bind_PlaneShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_PlaneShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_GetCenterOfMass_0")
declare function _emscripten_bind_PlaneShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_GetUserData_0")
declare function _emscripten_bind_PlaneShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_SetUserData_1")
declare function _emscripten_bind_PlaneShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_PlaneShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_PlaneShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_GetInnerRadius_0")
declare function _emscripten_bind_PlaneShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PlaneShape_GetMassProperties_0")
declare function _emscripten_bind_PlaneShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_GetLeafShape_2")
declare function _emscripten_bind_PlaneShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_GetMaterial_1")
declare function _emscripten_bind_PlaneShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_GetSurfaceNormal_2")
declare function _emscripten_bind_PlaneShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_GetSubShapeUserData_1")
declare function _emscripten_bind_PlaneShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_PlaneShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_GetVolume_0")
declare function _emscripten_bind_PlaneShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PlaneShape_IsValidScale_1")
declare function _emscripten_bind_PlaneShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_MakeScaleValid_1")
declare function _emscripten_bind_PlaneShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_PlaneShape_ScaleShape_1")
declare function _emscripten_bind_PlaneShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class PlaneShape {
static new3(inPlane: Plane, inMaterial: PhysicsMaterial, inHalfExtent: f32): PlaneShape {
return changetype<PlaneShape>(_emscripten_bind_PlaneShape_PlaneShape_3(changetype<usize>(inPlane), changetype<usize>(inMaterial), inHalfExtent));
}
static new2(inPlane: Plane, inMaterial: PhysicsMaterial): PlaneShape {
return changetype<PlaneShape>(_emscripten_bind_PlaneShape_PlaneShape_2(changetype<usize>(inPlane), changetype<usize>(inMaterial)));
}
static new1(inPlane: Plane): PlaneShape {
return changetype<PlaneShape>(_emscripten_bind_PlaneShape_PlaneShape_1(changetype<usize>(inPlane)));
}
__destroy__(): void {
_emscripten_bind_PlaneShape___destroy___0(changetype<usize>(this));
}
SetMaterial(inMaterial: PhysicsMaterial): void {
_emscripten_bind_PlaneShape_SetMaterial_1(changetype<usize>(this), changetype<usize>(inMaterial));
}
GetPlane(): Plane {
return changetype<Plane>(_emscripten_bind_PlaneShape_GetPlane_0(changetype<usize>(this)));
}
GetHalfExtent(): f32 {
return _emscripten_bind_PlaneShape_GetHalfExtent_0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_PlaneShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_PlaneShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_PlaneShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_PlaneShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_PlaneShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_PlaneShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_PlaneShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_PlaneShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_PlaneShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_PlaneShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_PlaneShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_PlaneShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_PlaneShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_PlaneShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_PlaneShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_PlaneShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_PlaneShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_PlaneShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_PlaneShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_PlaneShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_PlaneShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_PlaneShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_PlaneShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_EmptyShapeSettings_EmptyShapeSettings_0")
declare function _emscripten_bind_EmptyShapeSettings_EmptyShapeSettings_0(): usize;
@external("Jolt", "_emscripten_bind_EmptyShapeSettings___destroy___0")
declare function _emscripten_bind_EmptyShapeSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_EmptyShapeSettings_GetRefCount_0")
declare function _emscripten_bind_EmptyShapeSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShapeSettings_AddRef_0")
declare function _emscripten_bind_EmptyShapeSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_EmptyShapeSettings_Release_0")
declare function _emscripten_bind_EmptyShapeSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_EmptyShapeSettings_Create_0")
declare function _emscripten_bind_EmptyShapeSettings_Create_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShapeSettings_ClearCachedResult_0")
declare function _emscripten_bind_EmptyShapeSettings_ClearCachedResult_0(self: usize): void;
@external("Jolt", "_emscripten_bind_EmptyShapeSettings_get_mCenterOfMass_0")
declare function _emscripten_bind_EmptyShapeSettings_get_mCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShapeSettings_get_mUserData_0")
declare function _emscripten_bind_EmptyShapeSettings_get_mUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShapeSettings_set_mCenterOfMass_1")
declare function _emscripten_bind_EmptyShapeSettings_set_mCenterOfMass_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_EmptyShapeSettings_set_mUserData_1")
declare function _emscripten_bind_EmptyShapeSettings_set_mUserData_1(self: usize, value: usize): void;
@final
@unmanaged
export class EmptyShapeSettings {
static new(): EmptyShapeSettings {
return changetype<EmptyShapeSettings>(_emscripten_bind_EmptyShapeSettings_EmptyShapeSettings_0());
}
__destroy__(): void {
_emscripten_bind_EmptyShapeSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_EmptyShapeSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_EmptyShapeSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_EmptyShapeSettings_Release_0(changetype<usize>(this));
}
Create(): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_EmptyShapeSettings_Create_0(changetype<usize>(this)));
}
ClearCachedResult(): void {
_emscripten_bind_EmptyShapeSettings_ClearCachedResult_0(changetype<usize>(this));
}
get mCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_EmptyShapeSettings_get_mCenterOfMass_0(changetype<usize>(this)));
}
get mUserData(): i32 {
return _emscripten_bind_EmptyShapeSettings_get_mUserData_0(changetype<usize>(this));
}
set mCenterOfMass(value: Vec3) {
_emscripten_bind_EmptyShapeSettings_set_mCenterOfMass_1(changetype<usize>(this), changetype<usize>(value));
}
set mUserData(value: i32) {
_emscripten_bind_EmptyShapeSettings_set_mUserData_1(changetype<usize>(this), value);
}
asShapeSettings(): ShapeSettings {
return changetype<ShapeSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_EmptyShape_EmptyShape_1")
declare function _emscripten_bind_EmptyShape_EmptyShape_1(inCenterOfMass: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_EmptyShape_0")
declare function _emscripten_bind_EmptyShape_EmptyShape_0(): usize;
@external("Jolt", "_emscripten_bind_EmptyShape___destroy___0")
declare function _emscripten_bind_EmptyShape___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_EmptyShape_GetRefCount_0")
declare function _emscripten_bind_EmptyShape_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_AddRef_0")
declare function _emscripten_bind_EmptyShape_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_EmptyShape_Release_0")
declare function _emscripten_bind_EmptyShape_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_EmptyShape_GetType_0")
declare function _emscripten_bind_EmptyShape_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_GetSubType_0")
declare function _emscripten_bind_EmptyShape_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_MustBeStatic_0")
declare function _emscripten_bind_EmptyShape_MustBeStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_GetLocalBounds_0")
declare function _emscripten_bind_EmptyShape_GetLocalBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_GetWorldSpaceBounds_2")
declare function _emscripten_bind_EmptyShape_GetWorldSpaceBounds_2(self: usize, inCenterOfMassTransform: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_GetCenterOfMass_0")
declare function _emscripten_bind_EmptyShape_GetCenterOfMass_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_GetUserData_0")
declare function _emscripten_bind_EmptyShape_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_SetUserData_1")
declare function _emscripten_bind_EmptyShape_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_EmptyShape_GetSubShapeIDBitsRecursive_0")
declare function _emscripten_bind_EmptyShape_GetSubShapeIDBitsRecursive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_GetInnerRadius_0")
declare function _emscripten_bind_EmptyShape_GetInnerRadius_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_EmptyShape_GetMassProperties_0")
declare function _emscripten_bind_EmptyShape_GetMassProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_GetLeafShape_2")
declare function _emscripten_bind_EmptyShape_GetLeafShape_2(self: usize, inSubShapeID: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_GetMaterial_1")
declare function _emscripten_bind_EmptyShape_GetMaterial_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_GetSurfaceNormal_2")
declare function _emscripten_bind_EmptyShape_GetSurfaceNormal_2(self: usize, inSubShapeID: usize, inLocalSurfacePosition: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_GetSubShapeUserData_1")
declare function _emscripten_bind_EmptyShape_GetSubShapeUserData_1(self: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_GetSubShapeTransformedShape_5")
declare function _emscripten_bind_EmptyShape_GetSubShapeTransformedShape_5(self: usize, inSubShapeID: usize, inPositionCOM: usize, inRotation: usize, inScale: usize, outRemainder: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_GetVolume_0")
declare function _emscripten_bind_EmptyShape_GetVolume_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_EmptyShape_IsValidScale_1")
declare function _emscripten_bind_EmptyShape_IsValidScale_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_MakeScaleValid_1")
declare function _emscripten_bind_EmptyShape_MakeScaleValid_1(self: usize, inScale: usize): usize;
@external("Jolt", "_emscripten_bind_EmptyShape_ScaleShape_1")
declare function _emscripten_bind_EmptyShape_ScaleShape_1(self: usize, inScale: usize): usize;
@final
@unmanaged
export class EmptyShape {
static new1(inCenterOfMass: Vec3): EmptyShape {
return changetype<EmptyShape>(_emscripten_bind_EmptyShape_EmptyShape_1(changetype<usize>(inCenterOfMass)));
}
static new0(): EmptyShape {
return changetype<EmptyShape>(_emscripten_bind_EmptyShape_EmptyShape_0());
}
__destroy__(): void {
_emscripten_bind_EmptyShape___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_EmptyShape_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_EmptyShape_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_EmptyShape_Release_0(changetype<usize>(this));
}
GetType(): EShapeType {
return changetype<EShapeType>(_emscripten_bind_EmptyShape_GetType_0(changetype<usize>(this)));
}
GetSubType(): EShapeSubType {
return changetype<EShapeSubType>(_emscripten_bind_EmptyShape_GetSubType_0(changetype<usize>(this)));
}
MustBeStatic(): bool {
return _emscripten_bind_EmptyShape_MustBeStatic_0(changetype<usize>(this));
}
GetLocalBounds(): AABox {
return changetype<AABox>(_emscripten_bind_EmptyShape_GetLocalBounds_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(inCenterOfMassTransform: Mat44, inScale: Vec3): AABox {
return changetype<AABox>(_emscripten_bind_EmptyShape_GetWorldSpaceBounds_2(changetype<usize>(this), changetype<usize>(inCenterOfMassTransform), changetype<usize>(inScale)));
}
GetCenterOfMass(): Vec3 {
return changetype<Vec3>(_emscripten_bind_EmptyShape_GetCenterOfMass_0(changetype<usize>(this)));
}
GetUserData(): i32 {
return _emscripten_bind_EmptyShape_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_EmptyShape_SetUserData_1(changetype<usize>(this), inUserData);
}
GetSubShapeIDBitsRecursive(): i32 {
return _emscripten_bind_EmptyShape_GetSubShapeIDBitsRecursive_0(changetype<usize>(this));
}
GetInnerRadius(): f32 {
return _emscripten_bind_EmptyShape_GetInnerRadius_0(changetype<usize>(this));
}
GetMassProperties(): MassProperties {
return changetype<MassProperties>(_emscripten_bind_EmptyShape_GetMassProperties_0(changetype<usize>(this)));
}
GetLeafShape(inSubShapeID: SubShapeID, outRemainder: SubShapeID): Shape {
return changetype<Shape>(_emscripten_bind_EmptyShape_GetLeafShape_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(outRemainder)));
}
GetMaterial(inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_EmptyShape_GetMaterial_1(changetype<usize>(this), changetype<usize>(inSubShapeID)));
}
GetSurfaceNormal(inSubShapeID: SubShapeID, inLocalSurfacePosition: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_EmptyShape_GetSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inLocalSurfacePosition)));
}
GetSubShapeUserData(inSubShapeID: SubShapeID): i32 {
return _emscripten_bind_EmptyShape_GetSubShapeUserData_1(changetype<usize>(this), changetype<usize>(inSubShapeID));
}
GetSubShapeTransformedShape(inSubShapeID: SubShapeID, inPositionCOM: Vec3, inRotation: Quat, inScale: Vec3, outRemainder: SubShapeID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_EmptyShape_GetSubShapeTransformedShape_5(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPositionCOM), changetype<usize>(inRotation), changetype<usize>(inScale), changetype<usize>(outRemainder)));
}
GetVolume(): f32 {
return _emscripten_bind_EmptyShape_GetVolume_0(changetype<usize>(this));
}
IsValidScale(inScale: Vec3): bool {
return _emscripten_bind_EmptyShape_IsValidScale_1(changetype<usize>(this), changetype<usize>(inScale));
}
MakeScaleValid(inScale: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_EmptyShape_MakeScaleValid_1(changetype<usize>(this), changetype<usize>(inScale)));
}
ScaleShape(inScale: Vec3): ShapeResult {
return changetype<ShapeResult>(_emscripten_bind_EmptyShape_ScaleShape_1(changetype<usize>(this), changetype<usize>(inScale)));
}
asShape(): Shape {
return changetype<Shape>(this);
}
}
@external("Jolt", "_emscripten_bind_ConstraintSettings___destroy___0")
declare function _emscripten_bind_ConstraintSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConstraintSettings_GetRefCount_0")
declare function _emscripten_bind_ConstraintSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConstraintSettings_AddRef_0")
declare function _emscripten_bind_ConstraintSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConstraintSettings_Release_0")
declare function _emscripten_bind_ConstraintSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConstraintSettings_get_mEnabled_0")
declare function _emscripten_bind_ConstraintSettings_get_mEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConstraintSettings_get_mNumVelocityStepsOverride_0")
declare function _emscripten_bind_ConstraintSettings_get_mNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConstraintSettings_get_mNumPositionStepsOverride_0")
declare function _emscripten_bind_ConstraintSettings_get_mNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConstraintSettings_set_mEnabled_1")
declare function _emscripten_bind_ConstraintSettings_set_mEnabled_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_ConstraintSettings_set_mNumVelocityStepsOverride_1")
declare function _emscripten_bind_ConstraintSettings_set_mNumVelocityStepsOverride_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_ConstraintSettings_set_mNumPositionStepsOverride_1")
declare function _emscripten_bind_ConstraintSettings_set_mNumPositionStepsOverride_1(self: usize, value: usize): void;
@final
@unmanaged
export class ConstraintSettings {
__destroy__(): void {
_emscripten_bind_ConstraintSettings___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_ConstraintSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_ConstraintSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_ConstraintSettings_Release_0(changetype<usize>(this));
}
get mEnabled(): bool {
return _emscripten_bind_ConstraintSettings_get_mEnabled_0(changetype<usize>(this));
}
get mNumVelocityStepsOverride(): i32 {
return _emscripten_bind_ConstraintSettings_get_mNumVelocityStepsOverride_0(changetype<usize>(this));
}
get mNumPositionStepsOverride(): i32 {
return _emscripten_bind_ConstraintSettings_get_mNumPositionStepsOverride_0(changetype<usize>(this));
}
set mEnabled(value: bool) {
_emscripten_bind_ConstraintSettings_set_mEnabled_1(changetype<usize>(this), value);
}
set mNumVelocityStepsOverride(value: i32) {
_emscripten_bind_ConstraintSettings_set_mNumVelocityStepsOverride_1(changetype<usize>(this), value);
}
set mNumPositionStepsOverride(value: i32) {
_emscripten_bind_ConstraintSettings_set_mNumPositionStepsOverride_1(changetype<usize>(this), value);
}
}
@external("Jolt", "_emscripten_bind_Constraint___destroy___0")
declare function _emscripten_bind_Constraint___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_Constraint_GetRefCount_0")
declare function _emscripten_bind_Constraint_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Constraint_AddRef_0")
declare function _emscripten_bind_Constraint_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_Constraint_Release_0")
declare function _emscripten_bind_Constraint_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_Constraint_GetType_0")
declare function _emscripten_bind_Constraint_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Constraint_GetSubType_0")
declare function _emscripten_bind_Constraint_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Constraint_GetConstraintPriority_0")
declare function _emscripten_bind_Constraint_GetConstraintPriority_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Constraint_SetConstraintPriority_1")
declare function _emscripten_bind_Constraint_SetConstraintPriority_1(self: usize, inPriority: usize): void;
@external("Jolt", "_emscripten_bind_Constraint_SetNumVelocityStepsOverride_1")
declare function _emscripten_bind_Constraint_SetNumVelocityStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_Constraint_GetNumVelocityStepsOverride_0")
declare function _emscripten_bind_Constraint_GetNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Constraint_SetNumPositionStepsOverride_1")
declare function _emscripten_bind_Constraint_SetNumPositionStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_Constraint_GetNumPositionStepsOverride_0")
declare function _emscripten_bind_Constraint_GetNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Constraint_SetEnabled_1")
declare function _emscripten_bind_Constraint_SetEnabled_1(self: usize, inEnabled: usize): void;
@external("Jolt", "_emscripten_bind_Constraint_GetEnabled_0")
declare function _emscripten_bind_Constraint_GetEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Constraint_IsActive_0")
declare function _emscripten_bind_Constraint_IsActive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Constraint_GetUserData_0")
declare function _emscripten_bind_Constraint_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Constraint_SetUserData_1")
declare function _emscripten_bind_Constraint_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_Constraint_ResetWarmStart_0")
declare function _emscripten_bind_Constraint_ResetWarmStart_0(self: usize): void;
@external("Jolt", "_emscripten_bind_Constraint_SaveState_1")
declare function _emscripten_bind_Constraint_SaveState_1(self: usize, inStream: usize): void;
@external("Jolt", "_emscripten_bind_Constraint_RestoreState_1")
declare function _emscripten_bind_Constraint_RestoreState_1(self: usize, inStream: usize): void;
@final
@unmanaged
export class Constraint {
__destroy__(): void {
_emscripten_bind_Constraint___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_Constraint_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_Constraint_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_Constraint_Release_0(changetype<usize>(this));
}
GetType(): EConstraintType {
return changetype<EConstraintType>(_emscripten_bind_Constraint_GetType_0(changetype<usize>(this)));
}
GetSubType(): EConstraintSubType {
return changetype<EConstraintSubType>(_emscripten_bind_Constraint_GetSubType_0(changetype<usize>(this)));
}
GetConstraintPriority(): i32 {
return _emscripten_bind_Constraint_GetConstraintPriority_0(changetype<usize>(this));
}
SetConstraintPriority(inPriority: i32): void {
_emscripten_bind_Constraint_SetConstraintPriority_1(changetype<usize>(this), inPriority);
}
SetNumVelocityStepsOverride(inN: i32): void {
_emscripten_bind_Constraint_SetNumVelocityStepsOverride_1(changetype<usize>(this), inN);
}
GetNumVelocityStepsOverride(): i32 {
return _emscripten_bind_Constraint_GetNumVelocityStepsOverride_0(changetype<usize>(this));
}
SetNumPositionStepsOverride(inN: i32): void {
_emscripten_bind_Constraint_SetNumPositionStepsOverride_1(changetype<usize>(this), inN);
}
GetNumPositionStepsOverride(): i32 {
return _emscripten_bind_Constraint_GetNumPositionStepsOverride_0(changetype<usize>(this));
}
SetEnabled(inEnabled: bool): void {
_emscripten_bind_Constraint_SetEnabled_1(changetype<usize>(this), inEnabled);
}
GetEnabled(): bool {
return _emscripten_bind_Constraint_GetEnabled_0(changetype<usize>(this));
}
IsActive(): bool {
return _emscripten_bind_Constraint_IsActive_0(changetype<usize>(this));
}
GetUserData(): i32 {
return _emscripten_bind_Constraint_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_Constraint_SetUserData_1(changetype<usize>(this), inUserData);
}
ResetWarmStart(): void {
_emscripten_bind_Constraint_ResetWarmStart_0(changetype<usize>(this));
}
SaveState(inStream: StateRecorder): void {
_emscripten_bind_Constraint_SaveState_1(changetype<usize>(this), changetype<usize>(inStream));
}
RestoreState(inStream: StateRecorder): void {
_emscripten_bind_Constraint_RestoreState_1(changetype<usize>(this), changetype<usize>(inStream));
}
}
@external("Jolt", "_emscripten_bind_TwoBodyConstraintSettings___destroy___0")
declare function _emscripten_bind_TwoBodyConstraintSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_TwoBodyConstraintSettings_Create_2")
declare function _emscripten_bind_TwoBodyConstraintSettings_Create_2(self: usize, inBody1: usize, inBody2: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraintSettings_GetRefCount_0")
declare function _emscripten_bind_TwoBodyConstraintSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraintSettings_AddRef_0")
declare function _emscripten_bind_TwoBodyConstraintSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_TwoBodyConstraintSettings_Release_0")
declare function _emscripten_bind_TwoBodyConstraintSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_TwoBodyConstraintSettings_get_mEnabled_0")
declare function _emscripten_bind_TwoBodyConstraintSettings_get_mEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraintSettings_get_mNumVelocityStepsOverride_0")
declare function _emscripten_bind_TwoBodyConstraintSettings_get_mNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraintSettings_get_mNumPositionStepsOverride_0")
declare function _emscripten_bind_TwoBodyConstraintSettings_get_mNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraintSettings_set_mEnabled_1")
declare function _emscripten_bind_TwoBodyConstraintSettings_set_mEnabled_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_TwoBodyConstraintSettings_set_mNumVelocityStepsOverride_1")
declare function _emscripten_bind_TwoBodyConstraintSettings_set_mNumVelocityStepsOverride_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_TwoBodyConstraintSettings_set_mNumPositionStepsOverride_1")
declare function _emscripten_bind_TwoBodyConstraintSettings_set_mNumPositionStepsOverride_1(self: usize, value: usize): void;
@final
@unmanaged
export class TwoBodyConstraintSettings {
__destroy__(): void {
_emscripten_bind_TwoBodyConstraintSettings___destroy___0(changetype<usize>(this));
}
Create(inBody1: Body, inBody2: Body): Constraint {
return changetype<Constraint>(_emscripten_bind_TwoBodyConstraintSettings_Create_2(changetype<usize>(this), changetype<usize>(inBody1), changetype<usize>(inBody2)));
}
GetRefCount(): i32 {
return _emscripten_bind_TwoBodyConstraintSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_TwoBodyConstraintSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_TwoBodyConstraintSettings_Release_0(changetype<usize>(this));
}
get mEnabled(): bool {
return _emscripten_bind_TwoBodyConstraintSettings_get_mEnabled_0(changetype<usize>(this));
}
get mNumVelocityStepsOverride(): i32 {
return _emscripten_bind_TwoBodyConstraintSettings_get_mNumVelocityStepsOverride_0(changetype<usize>(this));
}
get mNumPositionStepsOverride(): i32 {
return _emscripten_bind_TwoBodyConstraintSettings_get_mNumPositionStepsOverride_0(changetype<usize>(this));
}
set mEnabled(value: bool) {
_emscripten_bind_TwoBodyConstraintSettings_set_mEnabled_1(changetype<usize>(this), value);
}
set mNumVelocityStepsOverride(value: i32) {
_emscripten_bind_TwoBodyConstraintSettings_set_mNumVelocityStepsOverride_1(changetype<usize>(this), value);
}
set mNumPositionStepsOverride(value: i32) {
_emscripten_bind_TwoBodyConstraintSettings_set_mNumPositionStepsOverride_1(changetype<usize>(this), value);
}
asConstraintSettings(): ConstraintSettings {
return changetype<ConstraintSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_TwoBodyConstraint___destroy___0")
declare function _emscripten_bind_TwoBodyConstraint___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_GetBody1_0")
declare function _emscripten_bind_TwoBodyConstraint_GetBody1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_GetBody2_0")
declare function _emscripten_bind_TwoBodyConstraint_GetBody2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_GetConstraintToBody1Matrix_0")
declare function _emscripten_bind_TwoBodyConstraint_GetConstraintToBody1Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_GetConstraintToBody2Matrix_0")
declare function _emscripten_bind_TwoBodyConstraint_GetConstraintToBody2Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_GetRefCount_0")
declare function _emscripten_bind_TwoBodyConstraint_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_AddRef_0")
declare function _emscripten_bind_TwoBodyConstraint_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_Release_0")
declare function _emscripten_bind_TwoBodyConstraint_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_GetType_0")
declare function _emscripten_bind_TwoBodyConstraint_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_GetSubType_0")
declare function _emscripten_bind_TwoBodyConstraint_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_GetConstraintPriority_0")
declare function _emscripten_bind_TwoBodyConstraint_GetConstraintPriority_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_SetConstraintPriority_1")
declare function _emscripten_bind_TwoBodyConstraint_SetConstraintPriority_1(self: usize, inPriority: usize): void;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_SetNumVelocityStepsOverride_1")
declare function _emscripten_bind_TwoBodyConstraint_SetNumVelocityStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_GetNumVelocityStepsOverride_0")
declare function _emscripten_bind_TwoBodyConstraint_GetNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_SetNumPositionStepsOverride_1")
declare function _emscripten_bind_TwoBodyConstraint_SetNumPositionStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_GetNumPositionStepsOverride_0")
declare function _emscripten_bind_TwoBodyConstraint_GetNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_SetEnabled_1")
declare function _emscripten_bind_TwoBodyConstraint_SetEnabled_1(self: usize, inEnabled: usize): void;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_GetEnabled_0")
declare function _emscripten_bind_TwoBodyConstraint_GetEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_IsActive_0")
declare function _emscripten_bind_TwoBodyConstraint_IsActive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_GetUserData_0")
declare function _emscripten_bind_TwoBodyConstraint_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_SetUserData_1")
declare function _emscripten_bind_TwoBodyConstraint_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_ResetWarmStart_0")
declare function _emscripten_bind_TwoBodyConstraint_ResetWarmStart_0(self: usize): void;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_SaveState_1")
declare function _emscripten_bind_TwoBodyConstraint_SaveState_1(self: usize, inStream: usize): void;
@external("Jolt", "_emscripten_bind_TwoBodyConstraint_RestoreState_1")
declare function _emscripten_bind_TwoBodyConstraint_RestoreState_1(self: usize, inStream: usize): void;
@final
@unmanaged
export class TwoBodyConstraint {
__destroy__(): void {
_emscripten_bind_TwoBodyConstraint___destroy___0(changetype<usize>(this));
}
GetBody1(): Body {
return changetype<Body>(_emscripten_bind_TwoBodyConstraint_GetBody1_0(changetype<usize>(this)));
}
GetBody2(): Body {
return changetype<Body>(_emscripten_bind_TwoBodyConstraint_GetBody2_0(changetype<usize>(this)));
}
GetConstraintToBody1Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_TwoBodyConstraint_GetConstraintToBody1Matrix_0(changetype<usize>(this)));
}
GetConstraintToBody2Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_TwoBodyConstraint_GetConstraintToBody2Matrix_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_TwoBodyConstraint_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_TwoBodyConstraint_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_TwoBodyConstraint_Release_0(changetype<usize>(this));
}
GetType(): EConstraintType {
return changetype<EConstraintType>(_emscripten_bind_TwoBodyConstraint_GetType_0(changetype<usize>(this)));
}
GetSubType(): EConstraintSubType {
return changetype<EConstraintSubType>(_emscripten_bind_TwoBodyConstraint_GetSubType_0(changetype<usize>(this)));
}
GetConstraintPriority(): i32 {
return _emscripten_bind_TwoBodyConstraint_GetConstraintPriority_0(changetype<usize>(this));
}
SetConstraintPriority(inPriority: i32): void {
_emscripten_bind_TwoBodyConstraint_SetConstraintPriority_1(changetype<usize>(this), inPriority);
}
SetNumVelocityStepsOverride(inN: i32): void {
_emscripten_bind_TwoBodyConstraint_SetNumVelocityStepsOverride_1(changetype<usize>(this), inN);
}
GetNumVelocityStepsOverride(): i32 {
return _emscripten_bind_TwoBodyConstraint_GetNumVelocityStepsOverride_0(changetype<usize>(this));
}
SetNumPositionStepsOverride(inN: i32): void {
_emscripten_bind_TwoBodyConstraint_SetNumPositionStepsOverride_1(changetype<usize>(this), inN);
}
GetNumPositionStepsOverride(): i32 {
return _emscripten_bind_TwoBodyConstraint_GetNumPositionStepsOverride_0(changetype<usize>(this));
}
SetEnabled(inEnabled: bool): void {
_emscripten_bind_TwoBodyConstraint_SetEnabled_1(changetype<usize>(this), inEnabled);
}
GetEnabled(): bool {
return _emscripten_bind_TwoBodyConstraint_GetEnabled_0(changetype<usize>(this));
}
IsActive(): bool {
return _emscripten_bind_TwoBodyConstraint_IsActive_0(changetype<usize>(this));
}
GetUserData(): i32 {
return _emscripten_bind_TwoBodyConstraint_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_TwoBodyConstraint_SetUserData_1(changetype<usize>(this), inUserData);
}
ResetWarmStart(): void {
_emscripten_bind_TwoBodyConstraint_ResetWarmStart_0(changetype<usize>(this));
}
SaveState(inStream: StateRecorder): void {
_emscripten_bind_TwoBodyConstraint_SaveState_1(changetype<usize>(this), changetype<usize>(inStream));
}
RestoreState(inStream: StateRecorder): void {
_emscripten_bind_TwoBodyConstraint_RestoreState_1(changetype<usize>(this), changetype<usize>(inStream));
}
asConstraint(): Constraint {
return changetype<Constraint>(this);
}
}
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_FixedConstraintSettings_0")
declare function _emscripten_bind_FixedConstraintSettings_FixedConstraintSettings_0(): usize;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings___destroy___0")
declare function _emscripten_bind_FixedConstraintSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_Create_2")
declare function _emscripten_bind_FixedConstraintSettings_Create_2(self: usize, inBody1: usize, inBody2: usize): usize;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_GetRefCount_0")
declare function _emscripten_bind_FixedConstraintSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_AddRef_0")
declare function _emscripten_bind_FixedConstraintSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_Release_0")
declare function _emscripten_bind_FixedConstraintSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_get_mSpace_0")
declare function _emscripten_bind_FixedConstraintSettings_get_mSpace_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_get_mAutoDetectPoint_0")
declare function _emscripten_bind_FixedConstraintSettings_get_mAutoDetectPoint_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_get_mPoint1_0")
declare function _emscripten_bind_FixedConstraintSettings_get_mPoint1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_get_mAxisX1_0")
declare function _emscripten_bind_FixedConstraintSettings_get_mAxisX1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_get_mAxisY1_0")
declare function _emscripten_bind_FixedConstraintSettings_get_mAxisY1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_get_mPoint2_0")
declare function _emscripten_bind_FixedConstraintSettings_get_mPoint2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_get_mAxisX2_0")
declare function _emscripten_bind_FixedConstraintSettings_get_mAxisX2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_get_mAxisY2_0")
declare function _emscripten_bind_FixedConstraintSettings_get_mAxisY2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_get_mEnabled_0")
declare function _emscripten_bind_FixedConstraintSettings_get_mEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_get_mNumVelocityStepsOverride_0")
declare function _emscripten_bind_FixedConstraintSettings_get_mNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_get_mNumPositionStepsOverride_0")
declare function _emscripten_bind_FixedConstraintSettings_get_mNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_set_mSpace_1")
declare function _emscripten_bind_FixedConstraintSettings_set_mSpace_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_set_mAutoDetectPoint_1")
declare function _emscripten_bind_FixedConstraintSettings_set_mAutoDetectPoint_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_set_mPoint1_1")
declare function _emscripten_bind_FixedConstraintSettings_set_mPoint1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_set_mAxisX1_1")
declare function _emscripten_bind_FixedConstraintSettings_set_mAxisX1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_set_mAxisY1_1")
declare function _emscripten_bind_FixedConstraintSettings_set_mAxisY1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_set_mPoint2_1")
declare function _emscripten_bind_FixedConstraintSettings_set_mPoint2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_set_mAxisX2_1")
declare function _emscripten_bind_FixedConstraintSettings_set_mAxisX2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_set_mAxisY2_1")
declare function _emscripten_bind_FixedConstraintSettings_set_mAxisY2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_set_mEnabled_1")
declare function _emscripten_bind_FixedConstraintSettings_set_mEnabled_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_set_mNumVelocityStepsOverride_1")
declare function _emscripten_bind_FixedConstraintSettings_set_mNumVelocityStepsOverride_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_FixedConstraintSettings_set_mNumPositionStepsOverride_1")
declare function _emscripten_bind_FixedConstraintSettings_set_mNumPositionStepsOverride_1(self: usize, value: usize): void;
@final
@unmanaged
export class FixedConstraintSettings {
static new(): FixedConstraintSettings {
return changetype<FixedConstraintSettings>(_emscripten_bind_FixedConstraintSettings_FixedConstraintSettings_0());
}
__destroy__(): void {
_emscripten_bind_FixedConstraintSettings___destroy___0(changetype<usize>(this));
}
Create(inBody1: Body, inBody2: Body): Constraint {
return changetype<Constraint>(_emscripten_bind_FixedConstraintSettings_Create_2(changetype<usize>(this), changetype<usize>(inBody1), changetype<usize>(inBody2)));
}
GetRefCount(): i32 {
return _emscripten_bind_FixedConstraintSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_FixedConstraintSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_FixedConstraintSettings_Release_0(changetype<usize>(this));
}
get mSpace(): EConstraintSpace {
return changetype<EConstraintSpace>(_emscripten_bind_FixedConstraintSettings_get_mSpace_0(changetype<usize>(this)));
}
get mAutoDetectPoint(): bool {
return _emscripten_bind_FixedConstraintSettings_get_mAutoDetectPoint_0(changetype<usize>(this));
}
get mPoint1(): RVec3 {
return changetype<RVec3>(_emscripten_bind_FixedConstraintSettings_get_mPoint1_0(changetype<usize>(this)));
}
get mAxisX1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_FixedConstraintSettings_get_mAxisX1_0(changetype<usize>(this)));
}
get mAxisY1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_FixedConstraintSettings_get_mAxisY1_0(changetype<usize>(this)));
}
get mPoint2(): RVec3 {
return changetype<RVec3>(_emscripten_bind_FixedConstraintSettings_get_mPoint2_0(changetype<usize>(this)));
}
get mAxisX2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_FixedConstraintSettings_get_mAxisX2_0(changetype<usize>(this)));
}
get mAxisY2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_FixedConstraintSettings_get_mAxisY2_0(changetype<usize>(this)));
}
get mEnabled(): bool {
return _emscripten_bind_FixedConstraintSettings_get_mEnabled_0(changetype<usize>(this));
}
get mNumVelocityStepsOverride(): i32 {
return _emscripten_bind_FixedConstraintSettings_get_mNumVelocityStepsOverride_0(changetype<usize>(this));
}
get mNumPositionStepsOverride(): i32 {
return _emscripten_bind_FixedConstraintSettings_get_mNumPositionStepsOverride_0(changetype<usize>(this));
}
set mSpace(value: EConstraintSpace) {
_emscripten_bind_FixedConstraintSettings_set_mSpace_1(changetype<usize>(this), changetype<usize>(value));
}
set mAutoDetectPoint(value: bool) {
_emscripten_bind_FixedConstraintSettings_set_mAutoDetectPoint_1(changetype<usize>(this), value);
}
set mPoint1(value: RVec3) {
_emscripten_bind_FixedConstraintSettings_set_mPoint1_1(changetype<usize>(this), changetype<usize>(value));
}
set mAxisX1(value: Vec3) {
_emscripten_bind_FixedConstraintSettings_set_mAxisX1_1(changetype<usize>(this), changetype<usize>(value));
}
set mAxisY1(value: Vec3) {
_emscripten_bind_FixedConstraintSettings_set_mAxisY1_1(changetype<usize>(this), changetype<usize>(value));
}
set mPoint2(value: RVec3) {
_emscripten_bind_FixedConstraintSettings_set_mPoint2_1(changetype<usize>(this), changetype<usize>(value));
}
set mAxisX2(value: Vec3) {
_emscripten_bind_FixedConstraintSettings_set_mAxisX2_1(changetype<usize>(this), changetype<usize>(value));
}
set mAxisY2(value: Vec3) {
_emscripten_bind_FixedConstraintSettings_set_mAxisY2_1(changetype<usize>(this), changetype<usize>(value));
}
set mEnabled(value: bool) {
_emscripten_bind_FixedConstraintSettings_set_mEnabled_1(changetype<usize>(this), value);
}
set mNumVelocityStepsOverride(value: i32) {
_emscripten_bind_FixedConstraintSettings_set_mNumVelocityStepsOverride_1(changetype<usize>(this), value);
}
set mNumPositionStepsOverride(value: i32) {
_emscripten_bind_FixedConstraintSettings_set_mNumPositionStepsOverride_1(changetype<usize>(this), value);
}
asTwoBodyConstraintSettings(): TwoBodyConstraintSettings {
return changetype<TwoBodyConstraintSettings>(this);
}
asConstraintSettings(): ConstraintSettings {
return changetype<ConstraintSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_SpringSettings_SpringSettings_0")
declare function _emscripten_bind_SpringSettings_SpringSettings_0(): usize;
@external("Jolt", "_emscripten_bind_SpringSettings___destroy___0")
declare function _emscripten_bind_SpringSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_SpringSettings_HasStiffness_0")
declare function _emscripten_bind_SpringSettings_HasStiffness_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SpringSettings_get_mMode_0")
declare function _emscripten_bind_SpringSettings_get_mMode_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SpringSettings_get_mFrequency_0")
declare function _emscripten_bind_SpringSettings_get_mFrequency_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SpringSettings_get_mStiffness_0")
declare function _emscripten_bind_SpringSettings_get_mStiffness_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SpringSettings_get_mDamping_0")
declare function _emscripten_bind_SpringSettings_get_mDamping_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SpringSettings_set_mMode_1")
declare function _emscripten_bind_SpringSettings_set_mMode_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SpringSettings_set_mFrequency_1")
declare function _emscripten_bind_SpringSettings_set_mFrequency_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_SpringSettings_set_mStiffness_1")
declare function _emscripten_bind_SpringSettings_set_mStiffness_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_SpringSettings_set_mDamping_1")
declare function _emscripten_bind_SpringSettings_set_mDamping_1(self: usize, value: f32): void;
@final
@unmanaged
export class SpringSettings {
static new(): SpringSettings {
return changetype<SpringSettings>(_emscripten_bind_SpringSettings_SpringSettings_0());
}
__destroy__(): void {
_emscripten_bind_SpringSettings___destroy___0(changetype<usize>(this));
}
HasStiffness(): bool {
return _emscripten_bind_SpringSettings_HasStiffness_0(changetype<usize>(this));
}
get mMode(): ESpringMode {
return changetype<ESpringMode>(_emscripten_bind_SpringSettings_get_mMode_0(changetype<usize>(this)));
}
get mFrequency(): f32 {
return _emscripten_bind_SpringSettings_get_mFrequency_0(changetype<usize>(this));
}
get mStiffness(): f32 {
return _emscripten_bind_SpringSettings_get_mStiffness_0(changetype<usize>(this));
}
get mDamping(): f32 {
return _emscripten_bind_SpringSettings_get_mDamping_0(changetype<usize>(this));
}
set mMode(value: ESpringMode) {
_emscripten_bind_SpringSettings_set_mMode_1(changetype<usize>(this), changetype<usize>(value));
}
set mFrequency(value: f32) {
_emscripten_bind_SpringSettings_set_mFrequency_1(changetype<usize>(this), value);
}
set mStiffness(value: f32) {
_emscripten_bind_SpringSettings_set_mStiffness_1(changetype<usize>(this), value);
}
set mDamping(value: f32) {
_emscripten_bind_SpringSettings_set_mDamping_1(changetype<usize>(this), value);
}
}
@external("Jolt", "_emscripten_bind_MotorSettings_MotorSettings_0")
declare function _emscripten_bind_MotorSettings_MotorSettings_0(): usize;
@external("Jolt", "_emscripten_bind_MotorSettings___destroy___0")
declare function _emscripten_bind_MotorSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_MotorSettings_get_mSpringSettings_0")
declare function _emscripten_bind_MotorSettings_get_mSpringSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MotorSettings_get_mMinForceLimit_0")
declare function _emscripten_bind_MotorSettings_get_mMinForceLimit_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MotorSettings_get_mMaxForceLimit_0")
declare function _emscripten_bind_MotorSettings_get_mMaxForceLimit_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MotorSettings_get_mMinTorqueLimit_0")
declare function _emscripten_bind_MotorSettings_get_mMinTorqueLimit_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MotorSettings_get_mMaxTorqueLimit_0")
declare function _emscripten_bind_MotorSettings_get_mMaxTorqueLimit_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MotorSettings_set_mSpringSettings_1")
declare function _emscripten_bind_MotorSettings_set_mSpringSettings_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_MotorSettings_set_mMinForceLimit_1")
declare function _emscripten_bind_MotorSettings_set_mMinForceLimit_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_MotorSettings_set_mMaxForceLimit_1")
declare function _emscripten_bind_MotorSettings_set_mMaxForceLimit_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_MotorSettings_set_mMinTorqueLimit_1")
declare function _emscripten_bind_MotorSettings_set_mMinTorqueLimit_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_MotorSettings_set_mMaxTorqueLimit_1")
declare function _emscripten_bind_MotorSettings_set_mMaxTorqueLimit_1(self: usize, value: f32): void;
@final
@unmanaged
export class MotorSettings {
static new(): MotorSettings {
return changetype<MotorSettings>(_emscripten_bind_MotorSettings_MotorSettings_0());
}
__destroy__(): void {
_emscripten_bind_MotorSettings___destroy___0(changetype<usize>(this));
}
get mSpringSettings(): SpringSettings {
return changetype<SpringSettings>(_emscripten_bind_MotorSettings_get_mSpringSettings_0(changetype<usize>(this)));
}
get mMinForceLimit(): f32 {
return _emscripten_bind_MotorSettings_get_mMinForceLimit_0(changetype<usize>(this));
}
get mMaxForceLimit(): f32 {
return _emscripten_bind_MotorSettings_get_mMaxForceLimit_0(changetype<usize>(this));
}
get mMinTorqueLimit(): f32 {
return _emscripten_bind_MotorSettings_get_mMinTorqueLimit_0(changetype<usize>(this));
}
get mMaxTorqueLimit(): f32 {
return _emscripten_bind_MotorSettings_get_mMaxTorqueLimit_0(changetype<usize>(this));
}
set mSpringSettings(value: SpringSettings) {
_emscripten_bind_MotorSettings_set_mSpringSettings_1(changetype<usize>(this), changetype<usize>(value));
}
set mMinForceLimit(value: f32) {
_emscripten_bind_MotorSettings_set_mMinForceLimit_1(changetype<usize>(this), value);
}
set mMaxForceLimit(value: f32) {
_emscripten_bind_MotorSettings_set_mMaxForceLimit_1(changetype<usize>(this), value);
}
set mMinTorqueLimit(value: f32) {
_emscripten_bind_MotorSettings_set_mMinTorqueLimit_1(changetype<usize>(this), value);
}
set mMaxTorqueLimit(value: f32) {
_emscripten_bind_MotorSettings_set_mMaxTorqueLimit_1(changetype<usize>(this), value);
}
}
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_DistanceConstraintSettings_0")
declare function _emscripten_bind_DistanceConstraintSettings_DistanceConstraintSettings_0(): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings___destroy___0")
declare function _emscripten_bind_DistanceConstraintSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_Create_2")
declare function _emscripten_bind_DistanceConstraintSettings_Create_2(self: usize, inBody1: usize, inBody2: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_GetRefCount_0")
declare function _emscripten_bind_DistanceConstraintSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_AddRef_0")
declare function _emscripten_bind_DistanceConstraintSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_Release_0")
declare function _emscripten_bind_DistanceConstraintSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_get_mSpace_0")
declare function _emscripten_bind_DistanceConstraintSettings_get_mSpace_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_get_mPoint1_0")
declare function _emscripten_bind_DistanceConstraintSettings_get_mPoint1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_get_mPoint2_0")
declare function _emscripten_bind_DistanceConstraintSettings_get_mPoint2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_get_mMinDistance_0")
declare function _emscripten_bind_DistanceConstraintSettings_get_mMinDistance_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_get_mMaxDistance_0")
declare function _emscripten_bind_DistanceConstraintSettings_get_mMaxDistance_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_get_mLimitsSpringSettings_0")
declare function _emscripten_bind_DistanceConstraintSettings_get_mLimitsSpringSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_get_mEnabled_0")
declare function _emscripten_bind_DistanceConstraintSettings_get_mEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_get_mNumVelocityStepsOverride_0")
declare function _emscripten_bind_DistanceConstraintSettings_get_mNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_get_mNumPositionStepsOverride_0")
declare function _emscripten_bind_DistanceConstraintSettings_get_mNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_set_mSpace_1")
declare function _emscripten_bind_DistanceConstraintSettings_set_mSpace_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_set_mPoint1_1")
declare function _emscripten_bind_DistanceConstraintSettings_set_mPoint1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_set_mPoint2_1")
declare function _emscripten_bind_DistanceConstraintSettings_set_mPoint2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_set_mMinDistance_1")
declare function _emscripten_bind_DistanceConstraintSettings_set_mMinDistance_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_set_mMaxDistance_1")
declare function _emscripten_bind_DistanceConstraintSettings_set_mMaxDistance_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_set_mLimitsSpringSettings_1")
declare function _emscripten_bind_DistanceConstraintSettings_set_mLimitsSpringSettings_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_set_mEnabled_1")
declare function _emscripten_bind_DistanceConstraintSettings_set_mEnabled_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_set_mNumVelocityStepsOverride_1")
declare function _emscripten_bind_DistanceConstraintSettings_set_mNumVelocityStepsOverride_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraintSettings_set_mNumPositionStepsOverride_1")
declare function _emscripten_bind_DistanceConstraintSettings_set_mNumPositionStepsOverride_1(self: usize, value: usize): void;
@final
@unmanaged
export class DistanceConstraintSettings {
static new(): DistanceConstraintSettings {
return changetype<DistanceConstraintSettings>(_emscripten_bind_DistanceConstraintSettings_DistanceConstraintSettings_0());
}
__destroy__(): void {
_emscripten_bind_DistanceConstraintSettings___destroy___0(changetype<usize>(this));
}
Create(inBody1: Body, inBody2: Body): Constraint {
return changetype<Constraint>(_emscripten_bind_DistanceConstraintSettings_Create_2(changetype<usize>(this), changetype<usize>(inBody1), changetype<usize>(inBody2)));
}
GetRefCount(): i32 {
return _emscripten_bind_DistanceConstraintSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_DistanceConstraintSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_DistanceConstraintSettings_Release_0(changetype<usize>(this));
}
get mSpace(): EConstraintSpace {
return changetype<EConstraintSpace>(_emscripten_bind_DistanceConstraintSettings_get_mSpace_0(changetype<usize>(this)));
}
get mPoint1(): RVec3 {
return changetype<RVec3>(_emscripten_bind_DistanceConstraintSettings_get_mPoint1_0(changetype<usize>(this)));
}
get mPoint2(): RVec3 {
return changetype<RVec3>(_emscripten_bind_DistanceConstraintSettings_get_mPoint2_0(changetype<usize>(this)));
}
get mMinDistance(): f32 {
return _emscripten_bind_DistanceConstraintSettings_get_mMinDistance_0(changetype<usize>(this));
}
get mMaxDistance(): f32 {
return _emscripten_bind_DistanceConstraintSettings_get_mMaxDistance_0(changetype<usize>(this));
}
get mLimitsSpringSettings(): SpringSettings {
return changetype<SpringSettings>(_emscripten_bind_DistanceConstraintSettings_get_mLimitsSpringSettings_0(changetype<usize>(this)));
}
get mEnabled(): bool {
return _emscripten_bind_DistanceConstraintSettings_get_mEnabled_0(changetype<usize>(this));
}
get mNumVelocityStepsOverride(): i32 {
return _emscripten_bind_DistanceConstraintSettings_get_mNumVelocityStepsOverride_0(changetype<usize>(this));
}
get mNumPositionStepsOverride(): i32 {
return _emscripten_bind_DistanceConstraintSettings_get_mNumPositionStepsOverride_0(changetype<usize>(this));
}
set mSpace(value: EConstraintSpace) {
_emscripten_bind_DistanceConstraintSettings_set_mSpace_1(changetype<usize>(this), changetype<usize>(value));
}
set mPoint1(value: RVec3) {
_emscripten_bind_DistanceConstraintSettings_set_mPoint1_1(changetype<usize>(this), changetype<usize>(value));
}
set mPoint2(value: RVec3) {
_emscripten_bind_DistanceConstraintSettings_set_mPoint2_1(changetype<usize>(this), changetype<usize>(value));
}
set mMinDistance(value: f32) {
_emscripten_bind_DistanceConstraintSettings_set_mMinDistance_1(changetype<usize>(this), value);
}
set mMaxDistance(value: f32) {
_emscripten_bind_DistanceConstraintSettings_set_mMaxDistance_1(changetype<usize>(this), value);
}
set mLimitsSpringSettings(value: SpringSettings) {
_emscripten_bind_DistanceConstraintSettings_set_mLimitsSpringSettings_1(changetype<usize>(this), changetype<usize>(value));
}
set mEnabled(value: bool) {
_emscripten_bind_DistanceConstraintSettings_set_mEnabled_1(changetype<usize>(this), value);
}
set mNumVelocityStepsOverride(value: i32) {
_emscripten_bind_DistanceConstraintSettings_set_mNumVelocityStepsOverride_1(changetype<usize>(this), value);
}
set mNumPositionStepsOverride(value: i32) {
_emscripten_bind_DistanceConstraintSettings_set_mNumPositionStepsOverride_1(changetype<usize>(this), value);
}
asTwoBodyConstraintSettings(): TwoBodyConstraintSettings {
return changetype<TwoBodyConstraintSettings>(this);
}
asConstraintSettings(): ConstraintSettings {
return changetype<ConstraintSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_DistanceConstraint___destroy___0")
declare function _emscripten_bind_DistanceConstraint___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraint_SetDistance_2")
declare function _emscripten_bind_DistanceConstraint_SetDistance_2(self: usize, inMinDistance: f32, inMaxDistance: f32): void;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetMinDistance_0")
declare function _emscripten_bind_DistanceConstraint_GetMinDistance_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetMaxDistance_0")
declare function _emscripten_bind_DistanceConstraint_GetMaxDistance_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetLimitsSpringSettings_0")
declare function _emscripten_bind_DistanceConstraint_GetLimitsSpringSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraint_SetLimitsSpringSettings_1")
declare function _emscripten_bind_DistanceConstraint_SetLimitsSpringSettings_1(self: usize, inSettings: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetTotalLambdaPosition_0")
declare function _emscripten_bind_DistanceConstraint_GetTotalLambdaPosition_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetBody1_0")
declare function _emscripten_bind_DistanceConstraint_GetBody1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetBody2_0")
declare function _emscripten_bind_DistanceConstraint_GetBody2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetConstraintToBody1Matrix_0")
declare function _emscripten_bind_DistanceConstraint_GetConstraintToBody1Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetConstraintToBody2Matrix_0")
declare function _emscripten_bind_DistanceConstraint_GetConstraintToBody2Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetRefCount_0")
declare function _emscripten_bind_DistanceConstraint_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraint_AddRef_0")
declare function _emscripten_bind_DistanceConstraint_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraint_Release_0")
declare function _emscripten_bind_DistanceConstraint_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetType_0")
declare function _emscripten_bind_DistanceConstraint_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetSubType_0")
declare function _emscripten_bind_DistanceConstraint_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetConstraintPriority_0")
declare function _emscripten_bind_DistanceConstraint_GetConstraintPriority_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraint_SetConstraintPriority_1")
declare function _emscripten_bind_DistanceConstraint_SetConstraintPriority_1(self: usize, inPriority: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraint_SetNumVelocityStepsOverride_1")
declare function _emscripten_bind_DistanceConstraint_SetNumVelocityStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetNumVelocityStepsOverride_0")
declare function _emscripten_bind_DistanceConstraint_GetNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraint_SetNumPositionStepsOverride_1")
declare function _emscripten_bind_DistanceConstraint_SetNumPositionStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetNumPositionStepsOverride_0")
declare function _emscripten_bind_DistanceConstraint_GetNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraint_SetEnabled_1")
declare function _emscripten_bind_DistanceConstraint_SetEnabled_1(self: usize, inEnabled: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetEnabled_0")
declare function _emscripten_bind_DistanceConstraint_GetEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraint_IsActive_0")
declare function _emscripten_bind_DistanceConstraint_IsActive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraint_GetUserData_0")
declare function _emscripten_bind_DistanceConstraint_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_DistanceConstraint_SetUserData_1")
declare function _emscripten_bind_DistanceConstraint_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraint_ResetWarmStart_0")
declare function _emscripten_bind_DistanceConstraint_ResetWarmStart_0(self: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraint_SaveState_1")
declare function _emscripten_bind_DistanceConstraint_SaveState_1(self: usize, inStream: usize): void;
@external("Jolt", "_emscripten_bind_DistanceConstraint_RestoreState_1")
declare function _emscripten_bind_DistanceConstraint_RestoreState_1(self: usize, inStream: usize): void;
@final
@unmanaged
export class DistanceConstraint {
__destroy__(): void {
_emscripten_bind_DistanceConstraint___destroy___0(changetype<usize>(this));
}
SetDistance(inMinDistance: f32, inMaxDistance: f32): void {
_emscripten_bind_DistanceConstraint_SetDistance_2(changetype<usize>(this), inMinDistance, inMaxDistance);
}
GetMinDistance(): f32 {
return _emscripten_bind_DistanceConstraint_GetMinDistance_0(changetype<usize>(this));
}
GetMaxDistance(): f32 {
return _emscripten_bind_DistanceConstraint_GetMaxDistance_0(changetype<usize>(this));
}
GetLimitsSpringSettings(): SpringSettings {
return changetype<SpringSettings>(_emscripten_bind_DistanceConstraint_GetLimitsSpringSettings_0(changetype<usize>(this)));
}
SetLimitsSpringSettings(inSettings: SpringSettings): void {
_emscripten_bind_DistanceConstraint_SetLimitsSpringSettings_1(changetype<usize>(this), changetype<usize>(inSettings));
}
GetTotalLambdaPosition(): f32 {
return _emscripten_bind_DistanceConstraint_GetTotalLambdaPosition_0(changetype<usize>(this));
}
GetBody1(): Body {
return changetype<Body>(_emscripten_bind_DistanceConstraint_GetBody1_0(changetype<usize>(this)));
}
GetBody2(): Body {
return changetype<Body>(_emscripten_bind_DistanceConstraint_GetBody2_0(changetype<usize>(this)));
}
GetConstraintToBody1Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_DistanceConstraint_GetConstraintToBody1Matrix_0(changetype<usize>(this)));
}
GetConstraintToBody2Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_DistanceConstraint_GetConstraintToBody2Matrix_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_DistanceConstraint_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_DistanceConstraint_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_DistanceConstraint_Release_0(changetype<usize>(this));
}
GetType(): EConstraintType {
return changetype<EConstraintType>(_emscripten_bind_DistanceConstraint_GetType_0(changetype<usize>(this)));
}
GetSubType(): EConstraintSubType {
return changetype<EConstraintSubType>(_emscripten_bind_DistanceConstraint_GetSubType_0(changetype<usize>(this)));
}
GetConstraintPriority(): i32 {
return _emscripten_bind_DistanceConstraint_GetConstraintPriority_0(changetype<usize>(this));
}
SetConstraintPriority(inPriority: i32): void {
_emscripten_bind_DistanceConstraint_SetConstraintPriority_1(changetype<usize>(this), inPriority);
}
SetNumVelocityStepsOverride(inN: i32): void {
_emscripten_bind_DistanceConstraint_SetNumVelocityStepsOverride_1(changetype<usize>(this), inN);
}
GetNumVelocityStepsOverride(): i32 {
return _emscripten_bind_DistanceConstraint_GetNumVelocityStepsOverride_0(changetype<usize>(this));
}
SetNumPositionStepsOverride(inN: i32): void {
_emscripten_bind_DistanceConstraint_SetNumPositionStepsOverride_1(changetype<usize>(this), inN);
}
GetNumPositionStepsOverride(): i32 {
return _emscripten_bind_DistanceConstraint_GetNumPositionStepsOverride_0(changetype<usize>(this));
}
SetEnabled(inEnabled: bool): void {
_emscripten_bind_DistanceConstraint_SetEnabled_1(changetype<usize>(this), inEnabled);
}
GetEnabled(): bool {
return _emscripten_bind_DistanceConstraint_GetEnabled_0(changetype<usize>(this));
}
IsActive(): bool {
return _emscripten_bind_DistanceConstraint_IsActive_0(changetype<usize>(this));
}
GetUserData(): i32 {
return _emscripten_bind_DistanceConstraint_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_DistanceConstraint_SetUserData_1(changetype<usize>(this), inUserData);
}
ResetWarmStart(): void {
_emscripten_bind_DistanceConstraint_ResetWarmStart_0(changetype<usize>(this));
}
SaveState(inStream: StateRecorder): void {
_emscripten_bind_DistanceConstraint_SaveState_1(changetype<usize>(this), changetype<usize>(inStream));
}
RestoreState(inStream: StateRecorder): void {
_emscripten_bind_DistanceConstraint_RestoreState_1(changetype<usize>(this), changetype<usize>(inStream));
}
asTwoBodyConstraint(): TwoBodyConstraint {
return changetype<TwoBodyConstraint>(this);
}
asConstraint(): Constraint {
return changetype<Constraint>(this);
}
}
@external("Jolt", "_emscripten_bind_PointConstraintSettings_PointConstraintSettings_0")
declare function _emscripten_bind_PointConstraintSettings_PointConstraintSettings_0(): usize;
@external("Jolt", "_emscripten_bind_PointConstraintSettings___destroy___0")
declare function _emscripten_bind_PointConstraintSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_Create_2")
declare function _emscripten_bind_PointConstraintSettings_Create_2(self: usize, inBody1: usize, inBody2: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_GetRefCount_0")
declare function _emscripten_bind_PointConstraintSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_AddRef_0")
declare function _emscripten_bind_PointConstraintSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_Release_0")
declare function _emscripten_bind_PointConstraintSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_get_mSpace_0")
declare function _emscripten_bind_PointConstraintSettings_get_mSpace_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_get_mPoint1_0")
declare function _emscripten_bind_PointConstraintSettings_get_mPoint1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_get_mPoint2_0")
declare function _emscripten_bind_PointConstraintSettings_get_mPoint2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_get_mEnabled_0")
declare function _emscripten_bind_PointConstraintSettings_get_mEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_get_mNumVelocityStepsOverride_0")
declare function _emscripten_bind_PointConstraintSettings_get_mNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_get_mNumPositionStepsOverride_0")
declare function _emscripten_bind_PointConstraintSettings_get_mNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_set_mSpace_1")
declare function _emscripten_bind_PointConstraintSettings_set_mSpace_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_set_mPoint1_1")
declare function _emscripten_bind_PointConstraintSettings_set_mPoint1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_set_mPoint2_1")
declare function _emscripten_bind_PointConstraintSettings_set_mPoint2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_set_mEnabled_1")
declare function _emscripten_bind_PointConstraintSettings_set_mEnabled_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_set_mNumVelocityStepsOverride_1")
declare function _emscripten_bind_PointConstraintSettings_set_mNumVelocityStepsOverride_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraintSettings_set_mNumPositionStepsOverride_1")
declare function _emscripten_bind_PointConstraintSettings_set_mNumPositionStepsOverride_1(self: usize, value: usize): void;
@final
@unmanaged
export class PointConstraintSettings {
static new(): PointConstraintSettings {
return changetype<PointConstraintSettings>(_emscripten_bind_PointConstraintSettings_PointConstraintSettings_0());
}
__destroy__(): void {
_emscripten_bind_PointConstraintSettings___destroy___0(changetype<usize>(this));
}
Create(inBody1: Body, inBody2: Body): Constraint {
return changetype<Constraint>(_emscripten_bind_PointConstraintSettings_Create_2(changetype<usize>(this), changetype<usize>(inBody1), changetype<usize>(inBody2)));
}
GetRefCount(): i32 {
return _emscripten_bind_PointConstraintSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_PointConstraintSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_PointConstraintSettings_Release_0(changetype<usize>(this));
}
get mSpace(): EConstraintSpace {
return changetype<EConstraintSpace>(_emscripten_bind_PointConstraintSettings_get_mSpace_0(changetype<usize>(this)));
}
get mPoint1(): RVec3 {
return changetype<RVec3>(_emscripten_bind_PointConstraintSettings_get_mPoint1_0(changetype<usize>(this)));
}
get mPoint2(): RVec3 {
return changetype<RVec3>(_emscripten_bind_PointConstraintSettings_get_mPoint2_0(changetype<usize>(this)));
}
get mEnabled(): bool {
return _emscripten_bind_PointConstraintSettings_get_mEnabled_0(changetype<usize>(this));
}
get mNumVelocityStepsOverride(): i32 {
return _emscripten_bind_PointConstraintSettings_get_mNumVelocityStepsOverride_0(changetype<usize>(this));
}
get mNumPositionStepsOverride(): i32 {
return _emscripten_bind_PointConstraintSettings_get_mNumPositionStepsOverride_0(changetype<usize>(this));
}
set mSpace(value: EConstraintSpace) {
_emscripten_bind_PointConstraintSettings_set_mSpace_1(changetype<usize>(this), changetype<usize>(value));
}
set mPoint1(value: RVec3) {
_emscripten_bind_PointConstraintSettings_set_mPoint1_1(changetype<usize>(this), changetype<usize>(value));
}
set mPoint2(value: RVec3) {
_emscripten_bind_PointConstraintSettings_set_mPoint2_1(changetype<usize>(this), changetype<usize>(value));
}
set mEnabled(value: bool) {
_emscripten_bind_PointConstraintSettings_set_mEnabled_1(changetype<usize>(this), value);
}
set mNumVelocityStepsOverride(value: i32) {
_emscripten_bind_PointConstraintSettings_set_mNumVelocityStepsOverride_1(changetype<usize>(this), value);
}
set mNumPositionStepsOverride(value: i32) {
_emscripten_bind_PointConstraintSettings_set_mNumPositionStepsOverride_1(changetype<usize>(this), value);
}
asTwoBodyConstraintSettings(): TwoBodyConstraintSettings {
return changetype<TwoBodyConstraintSettings>(this);
}
asConstraintSettings(): ConstraintSettings {
return changetype<ConstraintSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_PointConstraint___destroy___0")
declare function _emscripten_bind_PointConstraint___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraint_GetLocalSpacePoint1_0")
declare function _emscripten_bind_PointConstraint_GetLocalSpacePoint1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_GetLocalSpacePoint2_0")
declare function _emscripten_bind_PointConstraint_GetLocalSpacePoint2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_GetTotalLambdaPosition_0")
declare function _emscripten_bind_PointConstraint_GetTotalLambdaPosition_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_GetBody1_0")
declare function _emscripten_bind_PointConstraint_GetBody1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_GetBody2_0")
declare function _emscripten_bind_PointConstraint_GetBody2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_GetConstraintToBody1Matrix_0")
declare function _emscripten_bind_PointConstraint_GetConstraintToBody1Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_GetConstraintToBody2Matrix_0")
declare function _emscripten_bind_PointConstraint_GetConstraintToBody2Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_GetRefCount_0")
declare function _emscripten_bind_PointConstraint_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_AddRef_0")
declare function _emscripten_bind_PointConstraint_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraint_Release_0")
declare function _emscripten_bind_PointConstraint_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraint_GetType_0")
declare function _emscripten_bind_PointConstraint_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_GetSubType_0")
declare function _emscripten_bind_PointConstraint_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_GetConstraintPriority_0")
declare function _emscripten_bind_PointConstraint_GetConstraintPriority_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_SetConstraintPriority_1")
declare function _emscripten_bind_PointConstraint_SetConstraintPriority_1(self: usize, inPriority: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraint_SetNumVelocityStepsOverride_1")
declare function _emscripten_bind_PointConstraint_SetNumVelocityStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraint_GetNumVelocityStepsOverride_0")
declare function _emscripten_bind_PointConstraint_GetNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_SetNumPositionStepsOverride_1")
declare function _emscripten_bind_PointConstraint_SetNumPositionStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraint_GetNumPositionStepsOverride_0")
declare function _emscripten_bind_PointConstraint_GetNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_SetEnabled_1")
declare function _emscripten_bind_PointConstraint_SetEnabled_1(self: usize, inEnabled: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraint_GetEnabled_0")
declare function _emscripten_bind_PointConstraint_GetEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_IsActive_0")
declare function _emscripten_bind_PointConstraint_IsActive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_GetUserData_0")
declare function _emscripten_bind_PointConstraint_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PointConstraint_SetUserData_1")
declare function _emscripten_bind_PointConstraint_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraint_ResetWarmStart_0")
declare function _emscripten_bind_PointConstraint_ResetWarmStart_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraint_SaveState_1")
declare function _emscripten_bind_PointConstraint_SaveState_1(self: usize, inStream: usize): void;
@external("Jolt", "_emscripten_bind_PointConstraint_RestoreState_1")
declare function _emscripten_bind_PointConstraint_RestoreState_1(self: usize, inStream: usize): void;
@final
@unmanaged
export class PointConstraint {
__destroy__(): void {
_emscripten_bind_PointConstraint___destroy___0(changetype<usize>(this));
}
GetLocalSpacePoint1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_PointConstraint_GetLocalSpacePoint1_0(changetype<usize>(this)));
}
GetLocalSpacePoint2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_PointConstraint_GetLocalSpacePoint2_0(changetype<usize>(this)));
}
GetTotalLambdaPosition(): Vec3 {
return changetype<Vec3>(_emscripten_bind_PointConstraint_GetTotalLambdaPosition_0(changetype<usize>(this)));
}
GetBody1(): Body {
return changetype<Body>(_emscripten_bind_PointConstraint_GetBody1_0(changetype<usize>(this)));
}
GetBody2(): Body {
return changetype<Body>(_emscripten_bind_PointConstraint_GetBody2_0(changetype<usize>(this)));
}
GetConstraintToBody1Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_PointConstraint_GetConstraintToBody1Matrix_0(changetype<usize>(this)));
}
GetConstraintToBody2Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_PointConstraint_GetConstraintToBody2Matrix_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_PointConstraint_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_PointConstraint_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_PointConstraint_Release_0(changetype<usize>(this));
}
GetType(): EConstraintType {
return changetype<EConstraintType>(_emscripten_bind_PointConstraint_GetType_0(changetype<usize>(this)));
}
GetSubType(): EConstraintSubType {
return changetype<EConstraintSubType>(_emscripten_bind_PointConstraint_GetSubType_0(changetype<usize>(this)));
}
GetConstraintPriority(): i32 {
return _emscripten_bind_PointConstraint_GetConstraintPriority_0(changetype<usize>(this));
}
SetConstraintPriority(inPriority: i32): void {
_emscripten_bind_PointConstraint_SetConstraintPriority_1(changetype<usize>(this), inPriority);
}
SetNumVelocityStepsOverride(inN: i32): void {
_emscripten_bind_PointConstraint_SetNumVelocityStepsOverride_1(changetype<usize>(this), inN);
}
GetNumVelocityStepsOverride(): i32 {
return _emscripten_bind_PointConstraint_GetNumVelocityStepsOverride_0(changetype<usize>(this));
}
SetNumPositionStepsOverride(inN: i32): void {
_emscripten_bind_PointConstraint_SetNumPositionStepsOverride_1(changetype<usize>(this), inN);
}
GetNumPositionStepsOverride(): i32 {
return _emscripten_bind_PointConstraint_GetNumPositionStepsOverride_0(changetype<usize>(this));
}
SetEnabled(inEnabled: bool): void {
_emscripten_bind_PointConstraint_SetEnabled_1(changetype<usize>(this), inEnabled);
}
GetEnabled(): bool {
return _emscripten_bind_PointConstraint_GetEnabled_0(changetype<usize>(this));
}
IsActive(): bool {
return _emscripten_bind_PointConstraint_IsActive_0(changetype<usize>(this));
}
GetUserData(): i32 {
return _emscripten_bind_PointConstraint_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_PointConstraint_SetUserData_1(changetype<usize>(this), inUserData);
}
ResetWarmStart(): void {
_emscripten_bind_PointConstraint_ResetWarmStart_0(changetype<usize>(this));
}
SaveState(inStream: StateRecorder): void {
_emscripten_bind_PointConstraint_SaveState_1(changetype<usize>(this), changetype<usize>(inStream));
}
RestoreState(inStream: StateRecorder): void {
_emscripten_bind_PointConstraint_RestoreState_1(changetype<usize>(this), changetype<usize>(inStream));
}
asTwoBodyConstraint(): TwoBodyConstraint {
return changetype<TwoBodyConstraint>(this);
}
asConstraint(): Constraint {
return changetype<Constraint>(this);
}
}
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_HingeConstraintSettings_0")
declare function _emscripten_bind_HingeConstraintSettings_HingeConstraintSettings_0(): usize;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings___destroy___0")
declare function _emscripten_bind_HingeConstraintSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_Create_2")
declare function _emscripten_bind_HingeConstraintSettings_Create_2(self: usize, inBody1: usize, inBody2: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_GetRefCount_0")
declare function _emscripten_bind_HingeConstraintSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_AddRef_0")
declare function _emscripten_bind_HingeConstraintSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_Release_0")
declare function _emscripten_bind_HingeConstraintSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_get_mSpace_0")
declare function _emscripten_bind_HingeConstraintSettings_get_mSpace_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_get_mPoint1_0")
declare function _emscripten_bind_HingeConstraintSettings_get_mPoint1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_get_mHingeAxis1_0")
declare function _emscripten_bind_HingeConstraintSettings_get_mHingeAxis1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_get_mNormalAxis1_0")
declare function _emscripten_bind_HingeConstraintSettings_get_mNormalAxis1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_get_mPoint2_0")
declare function _emscripten_bind_HingeConstraintSettings_get_mPoint2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_get_mHingeAxis2_0")
declare function _emscripten_bind_HingeConstraintSettings_get_mHingeAxis2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_get_mNormalAxis2_0")
declare function _emscripten_bind_HingeConstraintSettings_get_mNormalAxis2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_get_mLimitsMin_0")
declare function _emscripten_bind_HingeConstraintSettings_get_mLimitsMin_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_get_mLimitsMax_0")
declare function _emscripten_bind_HingeConstraintSettings_get_mLimitsMax_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_get_mLimitsSpringSettings_0")
declare function _emscripten_bind_HingeConstraintSettings_get_mLimitsSpringSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_get_mMaxFrictionTorque_0")
declare function _emscripten_bind_HingeConstraintSettings_get_mMaxFrictionTorque_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_get_mMotorSettings_0")
declare function _emscripten_bind_HingeConstraintSettings_get_mMotorSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_get_mEnabled_0")
declare function _emscripten_bind_HingeConstraintSettings_get_mEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_get_mNumVelocityStepsOverride_0")
declare function _emscripten_bind_HingeConstraintSettings_get_mNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_get_mNumPositionStepsOverride_0")
declare function _emscripten_bind_HingeConstraintSettings_get_mNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_set_mSpace_1")
declare function _emscripten_bind_HingeConstraintSettings_set_mSpace_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_set_mPoint1_1")
declare function _emscripten_bind_HingeConstraintSettings_set_mPoint1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_set_mHingeAxis1_1")
declare function _emscripten_bind_HingeConstraintSettings_set_mHingeAxis1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_set_mNormalAxis1_1")
declare function _emscripten_bind_HingeConstraintSettings_set_mNormalAxis1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_set_mPoint2_1")
declare function _emscripten_bind_HingeConstraintSettings_set_mPoint2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_set_mHingeAxis2_1")
declare function _emscripten_bind_HingeConstraintSettings_set_mHingeAxis2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_set_mNormalAxis2_1")
declare function _emscripten_bind_HingeConstraintSettings_set_mNormalAxis2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_set_mLimitsMin_1")
declare function _emscripten_bind_HingeConstraintSettings_set_mLimitsMin_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_set_mLimitsMax_1")
declare function _emscripten_bind_HingeConstraintSettings_set_mLimitsMax_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_set_mLimitsSpringSettings_1")
declare function _emscripten_bind_HingeConstraintSettings_set_mLimitsSpringSettings_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_set_mMaxFrictionTorque_1")
declare function _emscripten_bind_HingeConstraintSettings_set_mMaxFrictionTorque_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_set_mMotorSettings_1")
declare function _emscripten_bind_HingeConstraintSettings_set_mMotorSettings_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_set_mEnabled_1")
declare function _emscripten_bind_HingeConstraintSettings_set_mEnabled_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_set_mNumVelocityStepsOverride_1")
declare function _emscripten_bind_HingeConstraintSettings_set_mNumVelocityStepsOverride_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraintSettings_set_mNumPositionStepsOverride_1")
declare function _emscripten_bind_HingeConstraintSettings_set_mNumPositionStepsOverride_1(self: usize, value: usize): void;
@final
@unmanaged
export class HingeConstraintSettings {
static new(): HingeConstraintSettings {
return changetype<HingeConstraintSettings>(_emscripten_bind_HingeConstraintSettings_HingeConstraintSettings_0());
}
__destroy__(): void {
_emscripten_bind_HingeConstraintSettings___destroy___0(changetype<usize>(this));
}
Create(inBody1: Body, inBody2: Body): Constraint {
return changetype<Constraint>(_emscripten_bind_HingeConstraintSettings_Create_2(changetype<usize>(this), changetype<usize>(inBody1), changetype<usize>(inBody2)));
}
GetRefCount(): i32 {
return _emscripten_bind_HingeConstraintSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_HingeConstraintSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_HingeConstraintSettings_Release_0(changetype<usize>(this));
}
get mSpace(): EConstraintSpace {
return changetype<EConstraintSpace>(_emscripten_bind_HingeConstraintSettings_get_mSpace_0(changetype<usize>(this)));
}
get mPoint1(): RVec3 {
return changetype<RVec3>(_emscripten_bind_HingeConstraintSettings_get_mPoint1_0(changetype<usize>(this)));
}
get mHingeAxis1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_HingeConstraintSettings_get_mHingeAxis1_0(changetype<usize>(this)));
}
get mNormalAxis1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_HingeConstraintSettings_get_mNormalAxis1_0(changetype<usize>(this)));
}
get mPoint2(): RVec3 {
return changetype<RVec3>(_emscripten_bind_HingeConstraintSettings_get_mPoint2_0(changetype<usize>(this)));
}
get mHingeAxis2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_HingeConstraintSettings_get_mHingeAxis2_0(changetype<usize>(this)));
}
get mNormalAxis2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_HingeConstraintSettings_get_mNormalAxis2_0(changetype<usize>(this)));
}
get mLimitsMin(): f32 {
return _emscripten_bind_HingeConstraintSettings_get_mLimitsMin_0(changetype<usize>(this));
}
get mLimitsMax(): f32 {
return _emscripten_bind_HingeConstraintSettings_get_mLimitsMax_0(changetype<usize>(this));
}
get mLimitsSpringSettings(): SpringSettings {
return changetype<SpringSettings>(_emscripten_bind_HingeConstraintSettings_get_mLimitsSpringSettings_0(changetype<usize>(this)));
}
get mMaxFrictionTorque(): f32 {
return _emscripten_bind_HingeConstraintSettings_get_mMaxFrictionTorque_0(changetype<usize>(this));
}
get mMotorSettings(): MotorSettings {
return changetype<MotorSettings>(_emscripten_bind_HingeConstraintSettings_get_mMotorSettings_0(changetype<usize>(this)));
}
get mEnabled(): bool {
return _emscripten_bind_HingeConstraintSettings_get_mEnabled_0(changetype<usize>(this));
}
get mNumVelocityStepsOverride(): i32 {
return _emscripten_bind_HingeConstraintSettings_get_mNumVelocityStepsOverride_0(changetype<usize>(this));
}
get mNumPositionStepsOverride(): i32 {
return _emscripten_bind_HingeConstraintSettings_get_mNumPositionStepsOverride_0(changetype<usize>(this));
}
set mSpace(value: EConstraintSpace) {
_emscripten_bind_HingeConstraintSettings_set_mSpace_1(changetype<usize>(this), changetype<usize>(value));
}
set mPoint1(value: RVec3) {
_emscripten_bind_HingeConstraintSettings_set_mPoint1_1(changetype<usize>(this), changetype<usize>(value));
}
set mHingeAxis1(value: Vec3) {
_emscripten_bind_HingeConstraintSettings_set_mHingeAxis1_1(changetype<usize>(this), changetype<usize>(value));
}
set mNormalAxis1(value: Vec3) {
_emscripten_bind_HingeConstraintSettings_set_mNormalAxis1_1(changetype<usize>(this), changetype<usize>(value));
}
set mPoint2(value: RVec3) {
_emscripten_bind_HingeConstraintSettings_set_mPoint2_1(changetype<usize>(this), changetype<usize>(value));
}
set mHingeAxis2(value: Vec3) {
_emscripten_bind_HingeConstraintSettings_set_mHingeAxis2_1(changetype<usize>(this), changetype<usize>(value));
}
set mNormalAxis2(value: Vec3) {
_emscripten_bind_HingeConstraintSettings_set_mNormalAxis2_1(changetype<usize>(this), changetype<usize>(value));
}
set mLimitsMin(value: f32) {
_emscripten_bind_HingeConstraintSettings_set_mLimitsMin_1(changetype<usize>(this), value);
}
set mLimitsMax(value: f32) {
_emscripten_bind_HingeConstraintSettings_set_mLimitsMax_1(changetype<usize>(this), value);
}
set mLimitsSpringSettings(value: SpringSettings) {
_emscripten_bind_HingeConstraintSettings_set_mLimitsSpringSettings_1(changetype<usize>(this), changetype<usize>(value));
}
set mMaxFrictionTorque(value: f32) {
_emscripten_bind_HingeConstraintSettings_set_mMaxFrictionTorque_1(changetype<usize>(this), value);
}
set mMotorSettings(value: MotorSettings) {
_emscripten_bind_HingeConstraintSettings_set_mMotorSettings_1(changetype<usize>(this), changetype<usize>(value));
}
set mEnabled(value: bool) {
_emscripten_bind_HingeConstraintSettings_set_mEnabled_1(changetype<usize>(this), value);
}
set mNumVelocityStepsOverride(value: i32) {
_emscripten_bind_HingeConstraintSettings_set_mNumVelocityStepsOverride_1(changetype<usize>(this), value);
}
set mNumPositionStepsOverride(value: i32) {
_emscripten_bind_HingeConstraintSettings_set_mNumPositionStepsOverride_1(changetype<usize>(this), value);
}
asTwoBodyConstraintSettings(): TwoBodyConstraintSettings {
return changetype<TwoBodyConstraintSettings>(this);
}
asConstraintSettings(): ConstraintSettings {
return changetype<ConstraintSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_HingeConstraint___destroy___0")
declare function _emscripten_bind_HingeConstraint___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetLocalSpacePoint1_0")
declare function _emscripten_bind_HingeConstraint_GetLocalSpacePoint1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetLocalSpacePoint2_0")
declare function _emscripten_bind_HingeConstraint_GetLocalSpacePoint2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetLocalSpaceHingeAxis1_0")
declare function _emscripten_bind_HingeConstraint_GetLocalSpaceHingeAxis1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetLocalSpaceHingeAxis2_0")
declare function _emscripten_bind_HingeConstraint_GetLocalSpaceHingeAxis2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetLocalSpaceNormalAxis1_0")
declare function _emscripten_bind_HingeConstraint_GetLocalSpaceNormalAxis1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetLocalSpaceNormalAxis2_0")
declare function _emscripten_bind_HingeConstraint_GetLocalSpaceNormalAxis2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetCurrentAngle_0")
declare function _emscripten_bind_HingeConstraint_GetCurrentAngle_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HingeConstraint_SetMaxFrictionTorque_1")
declare function _emscripten_bind_HingeConstraint_SetMaxFrictionTorque_1(self: usize, inFrictionTorque: f32): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetMaxFrictionTorque_0")
declare function _emscripten_bind_HingeConstraint_GetMaxFrictionTorque_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetMotorSettings_0")
declare function _emscripten_bind_HingeConstraint_GetMotorSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_SetMotorState_1")
declare function _emscripten_bind_HingeConstraint_SetMotorState_1(self: usize, inState: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetMotorState_0")
declare function _emscripten_bind_HingeConstraint_GetMotorState_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_SetTargetAngularVelocity_1")
declare function _emscripten_bind_HingeConstraint_SetTargetAngularVelocity_1(self: usize, inAngularVelocity: f32): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetTargetAngularVelocity_0")
declare function _emscripten_bind_HingeConstraint_GetTargetAngularVelocity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HingeConstraint_SetTargetAngle_1")
declare function _emscripten_bind_HingeConstraint_SetTargetAngle_1(self: usize, inAngle: f32): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetTargetAngle_0")
declare function _emscripten_bind_HingeConstraint_GetTargetAngle_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HingeConstraint_SetTargetOrientationBS_1")
declare function _emscripten_bind_HingeConstraint_SetTargetOrientationBS_1(self: usize, inOrientation: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_SetLimits_2")
declare function _emscripten_bind_HingeConstraint_SetLimits_2(self: usize, inLimitsMin: f32, inLimitsMax: f32): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetLimitsMin_0")
declare function _emscripten_bind_HingeConstraint_GetLimitsMin_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetLimitsMax_0")
declare function _emscripten_bind_HingeConstraint_GetLimitsMax_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HingeConstraint_HasLimits_0")
declare function _emscripten_bind_HingeConstraint_HasLimits_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetLimitsSpringSettings_0")
declare function _emscripten_bind_HingeConstraint_GetLimitsSpringSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_SetLimitsSpringSettings_1")
declare function _emscripten_bind_HingeConstraint_SetLimitsSpringSettings_1(self: usize, inLimitsSpringSettings: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetTotalLambdaPosition_0")
declare function _emscripten_bind_HingeConstraint_GetTotalLambdaPosition_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetTotalLambdaRotation_0")
declare function _emscripten_bind_HingeConstraint_GetTotalLambdaRotation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetTotalLambdaRotationLimits_0")
declare function _emscripten_bind_HingeConstraint_GetTotalLambdaRotationLimits_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetTotalLambdaMotor_0")
declare function _emscripten_bind_HingeConstraint_GetTotalLambdaMotor_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetBody1_0")
declare function _emscripten_bind_HingeConstraint_GetBody1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetBody2_0")
declare function _emscripten_bind_HingeConstraint_GetBody2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetConstraintToBody1Matrix_0")
declare function _emscripten_bind_HingeConstraint_GetConstraintToBody1Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetConstraintToBody2Matrix_0")
declare function _emscripten_bind_HingeConstraint_GetConstraintToBody2Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetRefCount_0")
declare function _emscripten_bind_HingeConstraint_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_AddRef_0")
declare function _emscripten_bind_HingeConstraint_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_Release_0")
declare function _emscripten_bind_HingeConstraint_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetType_0")
declare function _emscripten_bind_HingeConstraint_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetSubType_0")
declare function _emscripten_bind_HingeConstraint_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetConstraintPriority_0")
declare function _emscripten_bind_HingeConstraint_GetConstraintPriority_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_SetConstraintPriority_1")
declare function _emscripten_bind_HingeConstraint_SetConstraintPriority_1(self: usize, inPriority: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_SetNumVelocityStepsOverride_1")
declare function _emscripten_bind_HingeConstraint_SetNumVelocityStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetNumVelocityStepsOverride_0")
declare function _emscripten_bind_HingeConstraint_GetNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_SetNumPositionStepsOverride_1")
declare function _emscripten_bind_HingeConstraint_SetNumPositionStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetNumPositionStepsOverride_0")
declare function _emscripten_bind_HingeConstraint_GetNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_SetEnabled_1")
declare function _emscripten_bind_HingeConstraint_SetEnabled_1(self: usize, inEnabled: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetEnabled_0")
declare function _emscripten_bind_HingeConstraint_GetEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_IsActive_0")
declare function _emscripten_bind_HingeConstraint_IsActive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_GetUserData_0")
declare function _emscripten_bind_HingeConstraint_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_HingeConstraint_SetUserData_1")
declare function _emscripten_bind_HingeConstraint_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_ResetWarmStart_0")
declare function _emscripten_bind_HingeConstraint_ResetWarmStart_0(self: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_SaveState_1")
declare function _emscripten_bind_HingeConstraint_SaveState_1(self: usize, inStream: usize): void;
@external("Jolt", "_emscripten_bind_HingeConstraint_RestoreState_1")
declare function _emscripten_bind_HingeConstraint_RestoreState_1(self: usize, inStream: usize): void;
@final
@unmanaged
export class HingeConstraint {
__destroy__(): void {
_emscripten_bind_HingeConstraint___destroy___0(changetype<usize>(this));
}
GetLocalSpacePoint1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_HingeConstraint_GetLocalSpacePoint1_0(changetype<usize>(this)));
}
GetLocalSpacePoint2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_HingeConstraint_GetLocalSpacePoint2_0(changetype<usize>(this)));
}
GetLocalSpaceHingeAxis1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_HingeConstraint_GetLocalSpaceHingeAxis1_0(changetype<usize>(this)));
}
GetLocalSpaceHingeAxis2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_HingeConstraint_GetLocalSpaceHingeAxis2_0(changetype<usize>(this)));
}
GetLocalSpaceNormalAxis1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_HingeConstraint_GetLocalSpaceNormalAxis1_0(changetype<usize>(this)));
}
GetLocalSpaceNormalAxis2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_HingeConstraint_GetLocalSpaceNormalAxis2_0(changetype<usize>(this)));
}
GetCurrentAngle(): f32 {
return _emscripten_bind_HingeConstraint_GetCurrentAngle_0(changetype<usize>(this));
}
SetMaxFrictionTorque(inFrictionTorque: f32): void {
_emscripten_bind_HingeConstraint_SetMaxFrictionTorque_1(changetype<usize>(this), inFrictionTorque);
}
GetMaxFrictionTorque(): f32 {
return _emscripten_bind_HingeConstraint_GetMaxFrictionTorque_0(changetype<usize>(this));
}
GetMotorSettings(): MotorSettings {
return changetype<MotorSettings>(_emscripten_bind_HingeConstraint_GetMotorSettings_0(changetype<usize>(this)));
}
SetMotorState(inState: EMotorState): void {
_emscripten_bind_HingeConstraint_SetMotorState_1(changetype<usize>(this), changetype<usize>(inState));
}
GetMotorState(): EMotorState {
return changetype<EMotorState>(_emscripten_bind_HingeConstraint_GetMotorState_0(changetype<usize>(this)));
}
SetTargetAngularVelocity(inAngularVelocity: f32): void {
_emscripten_bind_HingeConstraint_SetTargetAngularVelocity_1(changetype<usize>(this), inAngularVelocity);
}
GetTargetAngularVelocity(): f32 {
return _emscripten_bind_HingeConstraint_GetTargetAngularVelocity_0(changetype<usize>(this));
}
SetTargetAngle(inAngle: f32): void {
_emscripten_bind_HingeConstraint_SetTargetAngle_1(changetype<usize>(this), inAngle);
}
GetTargetAngle(): f32 {
return _emscripten_bind_HingeConstraint_GetTargetAngle_0(changetype<usize>(this));
}
SetTargetOrientationBS(inOrientation: Quat): void {
_emscripten_bind_HingeConstraint_SetTargetOrientationBS_1(changetype<usize>(this), changetype<usize>(inOrientation));
}
SetLimits(inLimitsMin: f32, inLimitsMax: f32): void {
_emscripten_bind_HingeConstraint_SetLimits_2(changetype<usize>(this), inLimitsMin, inLimitsMax);
}
GetLimitsMin(): f32 {
return _emscripten_bind_HingeConstraint_GetLimitsMin_0(changetype<usize>(this));
}
GetLimitsMax(): f32 {
return _emscripten_bind_HingeConstraint_GetLimitsMax_0(changetype<usize>(this));
}
HasLimits(): bool {
return _emscripten_bind_HingeConstraint_HasLimits_0(changetype<usize>(this));
}
GetLimitsSpringSettings(): SpringSettings {
return changetype<SpringSettings>(_emscripten_bind_HingeConstraint_GetLimitsSpringSettings_0(changetype<usize>(this)));
}
SetLimitsSpringSettings(inLimitsSpringSettings: SpringSettings): void {
_emscripten_bind_HingeConstraint_SetLimitsSpringSettings_1(changetype<usize>(this), changetype<usize>(inLimitsSpringSettings));
}
GetTotalLambdaPosition(): Vec3 {
return changetype<Vec3>(_emscripten_bind_HingeConstraint_GetTotalLambdaPosition_0(changetype<usize>(this)));
}
GetTotalLambdaRotation(): Vector2 {
return changetype<Vector2>(_emscripten_bind_HingeConstraint_GetTotalLambdaRotation_0(changetype<usize>(this)));
}
GetTotalLambdaRotationLimits(): f32 {
return _emscripten_bind_HingeConstraint_GetTotalLambdaRotationLimits_0(changetype<usize>(this));
}
GetTotalLambdaMotor(): f32 {
return _emscripten_bind_HingeConstraint_GetTotalLambdaMotor_0(changetype<usize>(this));
}
GetBody1(): Body {
return changetype<Body>(_emscripten_bind_HingeConstraint_GetBody1_0(changetype<usize>(this)));
}
GetBody2(): Body {
return changetype<Body>(_emscripten_bind_HingeConstraint_GetBody2_0(changetype<usize>(this)));
}
GetConstraintToBody1Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_HingeConstraint_GetConstraintToBody1Matrix_0(changetype<usize>(this)));
}
GetConstraintToBody2Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_HingeConstraint_GetConstraintToBody2Matrix_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_HingeConstraint_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_HingeConstraint_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_HingeConstraint_Release_0(changetype<usize>(this));
}
GetType(): EConstraintType {
return changetype<EConstraintType>(_emscripten_bind_HingeConstraint_GetType_0(changetype<usize>(this)));
}
GetSubType(): EConstraintSubType {
return changetype<EConstraintSubType>(_emscripten_bind_HingeConstraint_GetSubType_0(changetype<usize>(this)));
}
GetConstraintPriority(): i32 {
return _emscripten_bind_HingeConstraint_GetConstraintPriority_0(changetype<usize>(this));
}
SetConstraintPriority(inPriority: i32): void {
_emscripten_bind_HingeConstraint_SetConstraintPriority_1(changetype<usize>(this), inPriority);
}
SetNumVelocityStepsOverride(inN: i32): void {
_emscripten_bind_HingeConstraint_SetNumVelocityStepsOverride_1(changetype<usize>(this), inN);
}
GetNumVelocityStepsOverride(): i32 {
return _emscripten_bind_HingeConstraint_GetNumVelocityStepsOverride_0(changetype<usize>(this));
}
SetNumPositionStepsOverride(inN: i32): void {
_emscripten_bind_HingeConstraint_SetNumPositionStepsOverride_1(changetype<usize>(this), inN);
}
GetNumPositionStepsOverride(): i32 {
return _emscripten_bind_HingeConstraint_GetNumPositionStepsOverride_0(changetype<usize>(this));
}
SetEnabled(inEnabled: bool): void {
_emscripten_bind_HingeConstraint_SetEnabled_1(changetype<usize>(this), inEnabled);
}
GetEnabled(): bool {
return _emscripten_bind_HingeConstraint_GetEnabled_0(changetype<usize>(this));
}
IsActive(): bool {
return _emscripten_bind_HingeConstraint_IsActive_0(changetype<usize>(this));
}
GetUserData(): i32 {
return _emscripten_bind_HingeConstraint_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_HingeConstraint_SetUserData_1(changetype<usize>(this), inUserData);
}
ResetWarmStart(): void {
_emscripten_bind_HingeConstraint_ResetWarmStart_0(changetype<usize>(this));
}
SaveState(inStream: StateRecorder): void {
_emscripten_bind_HingeConstraint_SaveState_1(changetype<usize>(this), changetype<usize>(inStream));
}
RestoreState(inStream: StateRecorder): void {
_emscripten_bind_HingeConstraint_RestoreState_1(changetype<usize>(this), changetype<usize>(inStream));
}
asTwoBodyConstraint(): TwoBodyConstraint {
return changetype<TwoBodyConstraint>(this);
}
asConstraint(): Constraint {
return changetype<Constraint>(this);
}
}
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_ConeConstraintSettings_0")
declare function _emscripten_bind_ConeConstraintSettings_ConeConstraintSettings_0(): usize;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings___destroy___0")
declare function _emscripten_bind_ConeConstraintSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_Create_2")
declare function _emscripten_bind_ConeConstraintSettings_Create_2(self: usize, inBody1: usize, inBody2: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_GetRefCount_0")
declare function _emscripten_bind_ConeConstraintSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_AddRef_0")
declare function _emscripten_bind_ConeConstraintSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_Release_0")
declare function _emscripten_bind_ConeConstraintSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_get_mSpace_0")
declare function _emscripten_bind_ConeConstraintSettings_get_mSpace_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_get_mPoint1_0")
declare function _emscripten_bind_ConeConstraintSettings_get_mPoint1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_get_mTwistAxis1_0")
declare function _emscripten_bind_ConeConstraintSettings_get_mTwistAxis1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_get_mPoint2_0")
declare function _emscripten_bind_ConeConstraintSettings_get_mPoint2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_get_mTwistAxis2_0")
declare function _emscripten_bind_ConeConstraintSettings_get_mTwistAxis2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_get_mHalfConeAngle_0")
declare function _emscripten_bind_ConeConstraintSettings_get_mHalfConeAngle_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_get_mEnabled_0")
declare function _emscripten_bind_ConeConstraintSettings_get_mEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_get_mNumVelocityStepsOverride_0")
declare function _emscripten_bind_ConeConstraintSettings_get_mNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_get_mNumPositionStepsOverride_0")
declare function _emscripten_bind_ConeConstraintSettings_get_mNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_set_mSpace_1")
declare function _emscripten_bind_ConeConstraintSettings_set_mSpace_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_set_mPoint1_1")
declare function _emscripten_bind_ConeConstraintSettings_set_mPoint1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_set_mTwistAxis1_1")
declare function _emscripten_bind_ConeConstraintSettings_set_mTwistAxis1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_set_mPoint2_1")
declare function _emscripten_bind_ConeConstraintSettings_set_mPoint2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_set_mTwistAxis2_1")
declare function _emscripten_bind_ConeConstraintSettings_set_mTwistAxis2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_set_mHalfConeAngle_1")
declare function _emscripten_bind_ConeConstraintSettings_set_mHalfConeAngle_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_set_mEnabled_1")
declare function _emscripten_bind_ConeConstraintSettings_set_mEnabled_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_set_mNumVelocityStepsOverride_1")
declare function _emscripten_bind_ConeConstraintSettings_set_mNumVelocityStepsOverride_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraintSettings_set_mNumPositionStepsOverride_1")
declare function _emscripten_bind_ConeConstraintSettings_set_mNumPositionStepsOverride_1(self: usize, value: usize): void;
@final
@unmanaged
export class ConeConstraintSettings {
static new(): ConeConstraintSettings {
return changetype<ConeConstraintSettings>(_emscripten_bind_ConeConstraintSettings_ConeConstraintSettings_0());
}
__destroy__(): void {
_emscripten_bind_ConeConstraintSettings___destroy___0(changetype<usize>(this));
}
Create(inBody1: Body, inBody2: Body): Constraint {
return changetype<Constraint>(_emscripten_bind_ConeConstraintSettings_Create_2(changetype<usize>(this), changetype<usize>(inBody1), changetype<usize>(inBody2)));
}
GetRefCount(): i32 {
return _emscripten_bind_ConeConstraintSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_ConeConstraintSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_ConeConstraintSettings_Release_0(changetype<usize>(this));
}
get mSpace(): EConstraintSpace {
return changetype<EConstraintSpace>(_emscripten_bind_ConeConstraintSettings_get_mSpace_0(changetype<usize>(this)));
}
get mPoint1(): RVec3 {
return changetype<RVec3>(_emscripten_bind_ConeConstraintSettings_get_mPoint1_0(changetype<usize>(this)));
}
get mTwistAxis1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_ConeConstraintSettings_get_mTwistAxis1_0(changetype<usize>(this)));
}
get mPoint2(): RVec3 {
return changetype<RVec3>(_emscripten_bind_ConeConstraintSettings_get_mPoint2_0(changetype<usize>(this)));
}
get mTwistAxis2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_ConeConstraintSettings_get_mTwistAxis2_0(changetype<usize>(this)));
}
get mHalfConeAngle(): f32 {
return _emscripten_bind_ConeConstraintSettings_get_mHalfConeAngle_0(changetype<usize>(this));
}
get mEnabled(): bool {
return _emscripten_bind_ConeConstraintSettings_get_mEnabled_0(changetype<usize>(this));
}
get mNumVelocityStepsOverride(): i32 {
return _emscripten_bind_ConeConstraintSettings_get_mNumVelocityStepsOverride_0(changetype<usize>(this));
}
get mNumPositionStepsOverride(): i32 {
return _emscripten_bind_ConeConstraintSettings_get_mNumPositionStepsOverride_0(changetype<usize>(this));
}
set mSpace(value: EConstraintSpace) {
_emscripten_bind_ConeConstraintSettings_set_mSpace_1(changetype<usize>(this), changetype<usize>(value));
}
set mPoint1(value: RVec3) {
_emscripten_bind_ConeConstraintSettings_set_mPoint1_1(changetype<usize>(this), changetype<usize>(value));
}
set mTwistAxis1(value: Vec3) {
_emscripten_bind_ConeConstraintSettings_set_mTwistAxis1_1(changetype<usize>(this), changetype<usize>(value));
}
set mPoint2(value: RVec3) {
_emscripten_bind_ConeConstraintSettings_set_mPoint2_1(changetype<usize>(this), changetype<usize>(value));
}
set mTwistAxis2(value: Vec3) {
_emscripten_bind_ConeConstraintSettings_set_mTwistAxis2_1(changetype<usize>(this), changetype<usize>(value));
}
set mHalfConeAngle(value: f32) {
_emscripten_bind_ConeConstraintSettings_set_mHalfConeAngle_1(changetype<usize>(this), value);
}
set mEnabled(value: bool) {
_emscripten_bind_ConeConstraintSettings_set_mEnabled_1(changetype<usize>(this), value);
}
set mNumVelocityStepsOverride(value: i32) {
_emscripten_bind_ConeConstraintSettings_set_mNumVelocityStepsOverride_1(changetype<usize>(this), value);
}
set mNumPositionStepsOverride(value: i32) {
_emscripten_bind_ConeConstraintSettings_set_mNumPositionStepsOverride_1(changetype<usize>(this), value);
}
asTwoBodyConstraintSettings(): TwoBodyConstraintSettings {
return changetype<TwoBodyConstraintSettings>(this);
}
asConstraintSettings(): ConstraintSettings {
return changetype<ConstraintSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_ConeConstraint___destroy___0")
declare function _emscripten_bind_ConeConstraint___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraint_SetHalfConeAngle_1")
declare function _emscripten_bind_ConeConstraint_SetHalfConeAngle_1(self: usize, inHalfConeAngle: f32): void;
@external("Jolt", "_emscripten_bind_ConeConstraint_GetCosHalfConeAngle_0")
declare function _emscripten_bind_ConeConstraint_GetCosHalfConeAngle_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ConeConstraint_GetTotalLambdaPosition_0")
declare function _emscripten_bind_ConeConstraint_GetTotalLambdaPosition_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraint_GetTotalLambdaRotation_0")
declare function _emscripten_bind_ConeConstraint_GetTotalLambdaRotation_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ConeConstraint_GetBody1_0")
declare function _emscripten_bind_ConeConstraint_GetBody1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraint_GetBody2_0")
declare function _emscripten_bind_ConeConstraint_GetBody2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraint_GetConstraintToBody1Matrix_0")
declare function _emscripten_bind_ConeConstraint_GetConstraintToBody1Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraint_GetConstraintToBody2Matrix_0")
declare function _emscripten_bind_ConeConstraint_GetConstraintToBody2Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraint_GetRefCount_0")
declare function _emscripten_bind_ConeConstraint_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraint_AddRef_0")
declare function _emscripten_bind_ConeConstraint_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraint_Release_0")
declare function _emscripten_bind_ConeConstraint_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraint_GetType_0")
declare function _emscripten_bind_ConeConstraint_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraint_GetSubType_0")
declare function _emscripten_bind_ConeConstraint_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraint_GetConstraintPriority_0")
declare function _emscripten_bind_ConeConstraint_GetConstraintPriority_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraint_SetConstraintPriority_1")
declare function _emscripten_bind_ConeConstraint_SetConstraintPriority_1(self: usize, inPriority: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraint_SetNumVelocityStepsOverride_1")
declare function _emscripten_bind_ConeConstraint_SetNumVelocityStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraint_GetNumVelocityStepsOverride_0")
declare function _emscripten_bind_ConeConstraint_GetNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraint_SetNumPositionStepsOverride_1")
declare function _emscripten_bind_ConeConstraint_SetNumPositionStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraint_GetNumPositionStepsOverride_0")
declare function _emscripten_bind_ConeConstraint_GetNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraint_SetEnabled_1")
declare function _emscripten_bind_ConeConstraint_SetEnabled_1(self: usize, inEnabled: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraint_GetEnabled_0")
declare function _emscripten_bind_ConeConstraint_GetEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraint_IsActive_0")
declare function _emscripten_bind_ConeConstraint_IsActive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraint_GetUserData_0")
declare function _emscripten_bind_ConeConstraint_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ConeConstraint_SetUserData_1")
declare function _emscripten_bind_ConeConstraint_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraint_ResetWarmStart_0")
declare function _emscripten_bind_ConeConstraint_ResetWarmStart_0(self: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraint_SaveState_1")
declare function _emscripten_bind_ConeConstraint_SaveState_1(self: usize, inStream: usize): void;
@external("Jolt", "_emscripten_bind_ConeConstraint_RestoreState_1")
declare function _emscripten_bind_ConeConstraint_RestoreState_1(self: usize, inStream: usize): void;
@final
@unmanaged
export class ConeConstraint {
__destroy__(): void {
_emscripten_bind_ConeConstraint___destroy___0(changetype<usize>(this));
}
SetHalfConeAngle(inHalfConeAngle: f32): void {
_emscripten_bind_ConeConstraint_SetHalfConeAngle_1(changetype<usize>(this), inHalfConeAngle);
}
GetCosHalfConeAngle(): f32 {
return _emscripten_bind_ConeConstraint_GetCosHalfConeAngle_0(changetype<usize>(this));
}
GetTotalLambdaPosition(): Vec3 {
return changetype<Vec3>(_emscripten_bind_ConeConstraint_GetTotalLambdaPosition_0(changetype<usize>(this)));
}
GetTotalLambdaRotation(): f32 {
return _emscripten_bind_ConeConstraint_GetTotalLambdaRotation_0(changetype<usize>(this));
}
GetBody1(): Body {
return changetype<Body>(_emscripten_bind_ConeConstraint_GetBody1_0(changetype<usize>(this)));
}
GetBody2(): Body {
return changetype<Body>(_emscripten_bind_ConeConstraint_GetBody2_0(changetype<usize>(this)));
}
GetConstraintToBody1Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_ConeConstraint_GetConstraintToBody1Matrix_0(changetype<usize>(this)));
}
GetConstraintToBody2Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_ConeConstraint_GetConstraintToBody2Matrix_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_ConeConstraint_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_ConeConstraint_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_ConeConstraint_Release_0(changetype<usize>(this));
}
GetType(): EConstraintType {
return changetype<EConstraintType>(_emscripten_bind_ConeConstraint_GetType_0(changetype<usize>(this)));
}
GetSubType(): EConstraintSubType {
return changetype<EConstraintSubType>(_emscripten_bind_ConeConstraint_GetSubType_0(changetype<usize>(this)));
}
GetConstraintPriority(): i32 {
return _emscripten_bind_ConeConstraint_GetConstraintPriority_0(changetype<usize>(this));
}
SetConstraintPriority(inPriority: i32): void {
_emscripten_bind_ConeConstraint_SetConstraintPriority_1(changetype<usize>(this), inPriority);
}
SetNumVelocityStepsOverride(inN: i32): void {
_emscripten_bind_ConeConstraint_SetNumVelocityStepsOverride_1(changetype<usize>(this), inN);
}
GetNumVelocityStepsOverride(): i32 {
return _emscripten_bind_ConeConstraint_GetNumVelocityStepsOverride_0(changetype<usize>(this));
}
SetNumPositionStepsOverride(inN: i32): void {
_emscripten_bind_ConeConstraint_SetNumPositionStepsOverride_1(changetype<usize>(this), inN);
}
GetNumPositionStepsOverride(): i32 {
return _emscripten_bind_ConeConstraint_GetNumPositionStepsOverride_0(changetype<usize>(this));
}
SetEnabled(inEnabled: bool): void {
_emscripten_bind_ConeConstraint_SetEnabled_1(changetype<usize>(this), inEnabled);
}
GetEnabled(): bool {
return _emscripten_bind_ConeConstraint_GetEnabled_0(changetype<usize>(this));
}
IsActive(): bool {
return _emscripten_bind_ConeConstraint_IsActive_0(changetype<usize>(this));
}
GetUserData(): i32 {
return _emscripten_bind_ConeConstraint_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_ConeConstraint_SetUserData_1(changetype<usize>(this), inUserData);
}
ResetWarmStart(): void {
_emscripten_bind_ConeConstraint_ResetWarmStart_0(changetype<usize>(this));
}
SaveState(inStream: StateRecorder): void {
_emscripten_bind_ConeConstraint_SaveState_1(changetype<usize>(this), changetype<usize>(inStream));
}
RestoreState(inStream: StateRecorder): void {
_emscripten_bind_ConeConstraint_RestoreState_1(changetype<usize>(this), changetype<usize>(inStream));
}
asTwoBodyConstraint(): TwoBodyConstraint {
return changetype<TwoBodyConstraint>(this);
}
asConstraint(): Constraint {
return changetype<Constraint>(this);
}
}
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_SliderConstraintSettings_0")
declare function _emscripten_bind_SliderConstraintSettings_SliderConstraintSettings_0(): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings___destroy___0")
declare function _emscripten_bind_SliderConstraintSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_Create_2")
declare function _emscripten_bind_SliderConstraintSettings_Create_2(self: usize, inBody1: usize, inBody2: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_GetRefCount_0")
declare function _emscripten_bind_SliderConstraintSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_AddRef_0")
declare function _emscripten_bind_SliderConstraintSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_Release_0")
declare function _emscripten_bind_SliderConstraintSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mSpace_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mSpace_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mAutoDetectPoint_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mAutoDetectPoint_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mPoint1_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mPoint1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mSliderAxis1_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mSliderAxis1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mNormalAxis1_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mNormalAxis1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mPoint2_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mPoint2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mSliderAxis2_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mSliderAxis2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mNormalAxis2_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mNormalAxis2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mLimitsMin_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mLimitsMin_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mLimitsMax_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mLimitsMax_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mLimitsSpringSettings_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mLimitsSpringSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mMaxFrictionForce_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mMaxFrictionForce_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mMotorSettings_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mMotorSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mEnabled_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mNumVelocityStepsOverride_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_get_mNumPositionStepsOverride_0")
declare function _emscripten_bind_SliderConstraintSettings_get_mNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mSpace_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mSpace_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mAutoDetectPoint_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mAutoDetectPoint_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mPoint1_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mPoint1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mSliderAxis1_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mSliderAxis1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mNormalAxis1_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mNormalAxis1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mPoint2_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mPoint2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mSliderAxis2_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mSliderAxis2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mNormalAxis2_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mNormalAxis2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mLimitsMin_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mLimitsMin_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mLimitsMax_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mLimitsMax_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mLimitsSpringSettings_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mLimitsSpringSettings_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mMaxFrictionForce_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mMaxFrictionForce_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mMotorSettings_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mMotorSettings_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mEnabled_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mEnabled_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mNumVelocityStepsOverride_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mNumVelocityStepsOverride_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraintSettings_set_mNumPositionStepsOverride_1")
declare function _emscripten_bind_SliderConstraintSettings_set_mNumPositionStepsOverride_1(self: usize, value: usize): void;
@final
@unmanaged
export class SliderConstraintSettings {
static new(): SliderConstraintSettings {
return changetype<SliderConstraintSettings>(_emscripten_bind_SliderConstraintSettings_SliderConstraintSettings_0());
}
__destroy__(): void {
_emscripten_bind_SliderConstraintSettings___destroy___0(changetype<usize>(this));
}
Create(inBody1: Body, inBody2: Body): Constraint {
return changetype<Constraint>(_emscripten_bind_SliderConstraintSettings_Create_2(changetype<usize>(this), changetype<usize>(inBody1), changetype<usize>(inBody2)));
}
GetRefCount(): i32 {
return _emscripten_bind_SliderConstraintSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_SliderConstraintSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_SliderConstraintSettings_Release_0(changetype<usize>(this));
}
get mSpace(): EConstraintSpace {
return changetype<EConstraintSpace>(_emscripten_bind_SliderConstraintSettings_get_mSpace_0(changetype<usize>(this)));
}
get mAutoDetectPoint(): bool {
return _emscripten_bind_SliderConstraintSettings_get_mAutoDetectPoint_0(changetype<usize>(this));
}
get mPoint1(): RVec3 {
return changetype<RVec3>(_emscripten_bind_SliderConstraintSettings_get_mPoint1_0(changetype<usize>(this)));
}
get mSliderAxis1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SliderConstraintSettings_get_mSliderAxis1_0(changetype<usize>(this)));
}
get mNormalAxis1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SliderConstraintSettings_get_mNormalAxis1_0(changetype<usize>(this)));
}
get mPoint2(): RVec3 {
return changetype<RVec3>(_emscripten_bind_SliderConstraintSettings_get_mPoint2_0(changetype<usize>(this)));
}
get mSliderAxis2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SliderConstraintSettings_get_mSliderAxis2_0(changetype<usize>(this)));
}
get mNormalAxis2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SliderConstraintSettings_get_mNormalAxis2_0(changetype<usize>(this)));
}
get mLimitsMin(): f32 {
return _emscripten_bind_SliderConstraintSettings_get_mLimitsMin_0(changetype<usize>(this));
}
get mLimitsMax(): f32 {
return _emscripten_bind_SliderConstraintSettings_get_mLimitsMax_0(changetype<usize>(this));
}
get mLimitsSpringSettings(): SpringSettings {
return changetype<SpringSettings>(_emscripten_bind_SliderConstraintSettings_get_mLimitsSpringSettings_0(changetype<usize>(this)));
}
get mMaxFrictionForce(): f32 {
return _emscripten_bind_SliderConstraintSettings_get_mMaxFrictionForce_0(changetype<usize>(this));
}
get mMotorSettings(): MotorSettings {
return changetype<MotorSettings>(_emscripten_bind_SliderConstraintSettings_get_mMotorSettings_0(changetype<usize>(this)));
}
get mEnabled(): bool {
return _emscripten_bind_SliderConstraintSettings_get_mEnabled_0(changetype<usize>(this));
}
get mNumVelocityStepsOverride(): i32 {
return _emscripten_bind_SliderConstraintSettings_get_mNumVelocityStepsOverride_0(changetype<usize>(this));
}
get mNumPositionStepsOverride(): i32 {
return _emscripten_bind_SliderConstraintSettings_get_mNumPositionStepsOverride_0(changetype<usize>(this));
}
set mSpace(value: EConstraintSpace) {
_emscripten_bind_SliderConstraintSettings_set_mSpace_1(changetype<usize>(this), changetype<usize>(value));
}
set mAutoDetectPoint(value: bool) {
_emscripten_bind_SliderConstraintSettings_set_mAutoDetectPoint_1(changetype<usize>(this), value);
}
set mPoint1(value: RVec3) {
_emscripten_bind_SliderConstraintSettings_set_mPoint1_1(changetype<usize>(this), changetype<usize>(value));
}
set mSliderAxis1(value: Vec3) {
_emscripten_bind_SliderConstraintSettings_set_mSliderAxis1_1(changetype<usize>(this), changetype<usize>(value));
}
set mNormalAxis1(value: Vec3) {
_emscripten_bind_SliderConstraintSettings_set_mNormalAxis1_1(changetype<usize>(this), changetype<usize>(value));
}
set mPoint2(value: RVec3) {
_emscripten_bind_SliderConstraintSettings_set_mPoint2_1(changetype<usize>(this), changetype<usize>(value));
}
set mSliderAxis2(value: Vec3) {
_emscripten_bind_SliderConstraintSettings_set_mSliderAxis2_1(changetype<usize>(this), changetype<usize>(value));
}
set mNormalAxis2(value: Vec3) {
_emscripten_bind_SliderConstraintSettings_set_mNormalAxis2_1(changetype<usize>(this), changetype<usize>(value));
}
set mLimitsMin(value: f32) {
_emscripten_bind_SliderConstraintSettings_set_mLimitsMin_1(changetype<usize>(this), value);
}
set mLimitsMax(value: f32) {
_emscripten_bind_SliderConstraintSettings_set_mLimitsMax_1(changetype<usize>(this), value);
}
set mLimitsSpringSettings(value: SpringSettings) {
_emscripten_bind_SliderConstraintSettings_set_mLimitsSpringSettings_1(changetype<usize>(this), changetype<usize>(value));
}
set mMaxFrictionForce(value: f32) {
_emscripten_bind_SliderConstraintSettings_set_mMaxFrictionForce_1(changetype<usize>(this), value);
}
set mMotorSettings(value: MotorSettings) {
_emscripten_bind_SliderConstraintSettings_set_mMotorSettings_1(changetype<usize>(this), changetype<usize>(value));
}
set mEnabled(value: bool) {
_emscripten_bind_SliderConstraintSettings_set_mEnabled_1(changetype<usize>(this), value);
}
set mNumVelocityStepsOverride(value: i32) {
_emscripten_bind_SliderConstraintSettings_set_mNumVelocityStepsOverride_1(changetype<usize>(this), value);
}
set mNumPositionStepsOverride(value: i32) {
_emscripten_bind_SliderConstraintSettings_set_mNumPositionStepsOverride_1(changetype<usize>(this), value);
}
asTwoBodyConstraintSettings(): TwoBodyConstraintSettings {
return changetype<TwoBodyConstraintSettings>(this);
}
asConstraintSettings(): ConstraintSettings {
return changetype<ConstraintSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_SliderConstraint___destroy___0")
declare function _emscripten_bind_SliderConstraint___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetCurrentPosition_0")
declare function _emscripten_bind_SliderConstraint_GetCurrentPosition_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SliderConstraint_SetMaxFrictionForce_1")
declare function _emscripten_bind_SliderConstraint_SetMaxFrictionForce_1(self: usize, inFrictionForce: f32): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetMaxFrictionForce_0")
declare function _emscripten_bind_SliderConstraint_GetMaxFrictionForce_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetMotorSettings_0")
declare function _emscripten_bind_SliderConstraint_GetMotorSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_SetMotorState_1")
declare function _emscripten_bind_SliderConstraint_SetMotorState_1(self: usize, inState: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetMotorState_0")
declare function _emscripten_bind_SliderConstraint_GetMotorState_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_SetTargetVelocity_1")
declare function _emscripten_bind_SliderConstraint_SetTargetVelocity_1(self: usize, inVelocity: f32): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetTargetVelocity_0")
declare function _emscripten_bind_SliderConstraint_GetTargetVelocity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SliderConstraint_SetTargetPosition_1")
declare function _emscripten_bind_SliderConstraint_SetTargetPosition_1(self: usize, inPosition: f32): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetTargetPosition_0")
declare function _emscripten_bind_SliderConstraint_GetTargetPosition_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SliderConstraint_SetLimits_2")
declare function _emscripten_bind_SliderConstraint_SetLimits_2(self: usize, inLimitsMin: f32, inLimitsMax: f32): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetLimitsMin_0")
declare function _emscripten_bind_SliderConstraint_GetLimitsMin_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetLimitsMax_0")
declare function _emscripten_bind_SliderConstraint_GetLimitsMax_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SliderConstraint_HasLimits_0")
declare function _emscripten_bind_SliderConstraint_HasLimits_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetLimitsSpringSettings_0")
declare function _emscripten_bind_SliderConstraint_GetLimitsSpringSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_SetLimitsSpringSettings_1")
declare function _emscripten_bind_SliderConstraint_SetLimitsSpringSettings_1(self: usize, inLimitsSpringSettings: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetTotalLambdaPosition_0")
declare function _emscripten_bind_SliderConstraint_GetTotalLambdaPosition_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetTotalLambdaPositionLimits_0")
declare function _emscripten_bind_SliderConstraint_GetTotalLambdaPositionLimits_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetTotalLambdaRotation_0")
declare function _emscripten_bind_SliderConstraint_GetTotalLambdaRotation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetTotalLambdaMotor_0")
declare function _emscripten_bind_SliderConstraint_GetTotalLambdaMotor_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetBody1_0")
declare function _emscripten_bind_SliderConstraint_GetBody1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetBody2_0")
declare function _emscripten_bind_SliderConstraint_GetBody2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetConstraintToBody1Matrix_0")
declare function _emscripten_bind_SliderConstraint_GetConstraintToBody1Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetConstraintToBody2Matrix_0")
declare function _emscripten_bind_SliderConstraint_GetConstraintToBody2Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetRefCount_0")
declare function _emscripten_bind_SliderConstraint_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_AddRef_0")
declare function _emscripten_bind_SliderConstraint_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_Release_0")
declare function _emscripten_bind_SliderConstraint_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetType_0")
declare function _emscripten_bind_SliderConstraint_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetSubType_0")
declare function _emscripten_bind_SliderConstraint_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetConstraintPriority_0")
declare function _emscripten_bind_SliderConstraint_GetConstraintPriority_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_SetConstraintPriority_1")
declare function _emscripten_bind_SliderConstraint_SetConstraintPriority_1(self: usize, inPriority: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_SetNumVelocityStepsOverride_1")
declare function _emscripten_bind_SliderConstraint_SetNumVelocityStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetNumVelocityStepsOverride_0")
declare function _emscripten_bind_SliderConstraint_GetNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_SetNumPositionStepsOverride_1")
declare function _emscripten_bind_SliderConstraint_SetNumPositionStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetNumPositionStepsOverride_0")
declare function _emscripten_bind_SliderConstraint_GetNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_SetEnabled_1")
declare function _emscripten_bind_SliderConstraint_SetEnabled_1(self: usize, inEnabled: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetEnabled_0")
declare function _emscripten_bind_SliderConstraint_GetEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_IsActive_0")
declare function _emscripten_bind_SliderConstraint_IsActive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_GetUserData_0")
declare function _emscripten_bind_SliderConstraint_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SliderConstraint_SetUserData_1")
declare function _emscripten_bind_SliderConstraint_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_ResetWarmStart_0")
declare function _emscripten_bind_SliderConstraint_ResetWarmStart_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_SaveState_1")
declare function _emscripten_bind_SliderConstraint_SaveState_1(self: usize, inStream: usize): void;
@external("Jolt", "_emscripten_bind_SliderConstraint_RestoreState_1")
declare function _emscripten_bind_SliderConstraint_RestoreState_1(self: usize, inStream: usize): void;
@final
@unmanaged
export class SliderConstraint {
__destroy__(): void {
_emscripten_bind_SliderConstraint___destroy___0(changetype<usize>(this));
}
GetCurrentPosition(): f32 {
return _emscripten_bind_SliderConstraint_GetCurrentPosition_0(changetype<usize>(this));
}
SetMaxFrictionForce(inFrictionForce: f32): void {
_emscripten_bind_SliderConstraint_SetMaxFrictionForce_1(changetype<usize>(this), inFrictionForce);
}
GetMaxFrictionForce(): f32 {
return _emscripten_bind_SliderConstraint_GetMaxFrictionForce_0(changetype<usize>(this));
}
GetMotorSettings(): MotorSettings {
return changetype<MotorSettings>(_emscripten_bind_SliderConstraint_GetMotorSettings_0(changetype<usize>(this)));
}
SetMotorState(inState: EMotorState): void {
_emscripten_bind_SliderConstraint_SetMotorState_1(changetype<usize>(this), changetype<usize>(inState));
}
GetMotorState(): EMotorState {
return changetype<EMotorState>(_emscripten_bind_SliderConstraint_GetMotorState_0(changetype<usize>(this)));
}
SetTargetVelocity(inVelocity: f32): void {
_emscripten_bind_SliderConstraint_SetTargetVelocity_1(changetype<usize>(this), inVelocity);
}
GetTargetVelocity(): f32 {
return _emscripten_bind_SliderConstraint_GetTargetVelocity_0(changetype<usize>(this));
}
SetTargetPosition(inPosition: f32): void {
_emscripten_bind_SliderConstraint_SetTargetPosition_1(changetype<usize>(this), inPosition);
}
GetTargetPosition(): f32 {
return _emscripten_bind_SliderConstraint_GetTargetPosition_0(changetype<usize>(this));
}
SetLimits(inLimitsMin: f32, inLimitsMax: f32): void {
_emscripten_bind_SliderConstraint_SetLimits_2(changetype<usize>(this), inLimitsMin, inLimitsMax);
}
GetLimitsMin(): f32 {
return _emscripten_bind_SliderConstraint_GetLimitsMin_0(changetype<usize>(this));
}
GetLimitsMax(): f32 {
return _emscripten_bind_SliderConstraint_GetLimitsMax_0(changetype<usize>(this));
}
HasLimits(): bool {
return _emscripten_bind_SliderConstraint_HasLimits_0(changetype<usize>(this));
}
GetLimitsSpringSettings(): SpringSettings {
return changetype<SpringSettings>(_emscripten_bind_SliderConstraint_GetLimitsSpringSettings_0(changetype<usize>(this)));
}
SetLimitsSpringSettings(inLimitsSpringSettings: SpringSettings): void {
_emscripten_bind_SliderConstraint_SetLimitsSpringSettings_1(changetype<usize>(this), changetype<usize>(inLimitsSpringSettings));
}
GetTotalLambdaPosition(): Vector2 {
return changetype<Vector2>(_emscripten_bind_SliderConstraint_GetTotalLambdaPosition_0(changetype<usize>(this)));
}
GetTotalLambdaPositionLimits(): f32 {
return _emscripten_bind_SliderConstraint_GetTotalLambdaPositionLimits_0(changetype<usize>(this));
}
GetTotalLambdaRotation(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SliderConstraint_GetTotalLambdaRotation_0(changetype<usize>(this)));
}
GetTotalLambdaMotor(): f32 {
return _emscripten_bind_SliderConstraint_GetTotalLambdaMotor_0(changetype<usize>(this));
}
GetBody1(): Body {
return changetype<Body>(_emscripten_bind_SliderConstraint_GetBody1_0(changetype<usize>(this)));
}
GetBody2(): Body {
return changetype<Body>(_emscripten_bind_SliderConstraint_GetBody2_0(changetype<usize>(this)));
}
GetConstraintToBody1Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_SliderConstraint_GetConstraintToBody1Matrix_0(changetype<usize>(this)));
}
GetConstraintToBody2Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_SliderConstraint_GetConstraintToBody2Matrix_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_SliderConstraint_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_SliderConstraint_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_SliderConstraint_Release_0(changetype<usize>(this));
}
GetType(): EConstraintType {
return changetype<EConstraintType>(_emscripten_bind_SliderConstraint_GetType_0(changetype<usize>(this)));
}
GetSubType(): EConstraintSubType {
return changetype<EConstraintSubType>(_emscripten_bind_SliderConstraint_GetSubType_0(changetype<usize>(this)));
}
GetConstraintPriority(): i32 {
return _emscripten_bind_SliderConstraint_GetConstraintPriority_0(changetype<usize>(this));
}
SetConstraintPriority(inPriority: i32): void {
_emscripten_bind_SliderConstraint_SetConstraintPriority_1(changetype<usize>(this), inPriority);
}
SetNumVelocityStepsOverride(inN: i32): void {
_emscripten_bind_SliderConstraint_SetNumVelocityStepsOverride_1(changetype<usize>(this), inN);
}
GetNumVelocityStepsOverride(): i32 {
return _emscripten_bind_SliderConstraint_GetNumVelocityStepsOverride_0(changetype<usize>(this));
}
SetNumPositionStepsOverride(inN: i32): void {
_emscripten_bind_SliderConstraint_SetNumPositionStepsOverride_1(changetype<usize>(this), inN);
}
GetNumPositionStepsOverride(): i32 {
return _emscripten_bind_SliderConstraint_GetNumPositionStepsOverride_0(changetype<usize>(this));
}
SetEnabled(inEnabled: bool): void {
_emscripten_bind_SliderConstraint_SetEnabled_1(changetype<usize>(this), inEnabled);
}
GetEnabled(): bool {
return _emscripten_bind_SliderConstraint_GetEnabled_0(changetype<usize>(this));
}
IsActive(): bool {
return _emscripten_bind_SliderConstraint_IsActive_0(changetype<usize>(this));
}
GetUserData(): i32 {
return _emscripten_bind_SliderConstraint_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_SliderConstraint_SetUserData_1(changetype<usize>(this), inUserData);
}
ResetWarmStart(): void {
_emscripten_bind_SliderConstraint_ResetWarmStart_0(changetype<usize>(this));
}
SaveState(inStream: StateRecorder): void {
_emscripten_bind_SliderConstraint_SaveState_1(changetype<usize>(this), changetype<usize>(inStream));
}
RestoreState(inStream: StateRecorder): void {
_emscripten_bind_SliderConstraint_RestoreState_1(changetype<usize>(this), changetype<usize>(inStream));
}
asTwoBodyConstraint(): TwoBodyConstraint {
return changetype<TwoBodyConstraint>(this);
}
asConstraint(): Constraint {
return changetype<Constraint>(this);
}
}
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_SwingTwistConstraintSettings_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_SwingTwistConstraintSettings_0(): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings___destroy___0")
declare function _emscripten_bind_SwingTwistConstraintSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_Create_2")
declare function _emscripten_bind_SwingTwistConstraintSettings_Create_2(self: usize, inBody1: usize, inBody2: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_GetRefCount_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_AddRef_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_Release_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mSpace_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mSpace_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mPosition1_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mPosition1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mTwistAxis1_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mTwistAxis1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mPlaneAxis1_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mPlaneAxis1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mPosition2_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mPosition2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mTwistAxis2_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mTwistAxis2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mPlaneAxis2_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mPlaneAxis2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mSwingType_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mSwingType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mNormalHalfConeAngle_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mNormalHalfConeAngle_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mPlaneHalfConeAngle_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mPlaneHalfConeAngle_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mTwistMinAngle_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mTwistMinAngle_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mTwistMaxAngle_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mTwistMaxAngle_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mMaxFrictionTorque_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mMaxFrictionTorque_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mSwingMotorSettings_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mSwingMotorSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mTwistMotorSettings_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mTwistMotorSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mEnabled_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mNumVelocityStepsOverride_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_get_mNumPositionStepsOverride_0")
declare function _emscripten_bind_SwingTwistConstraintSettings_get_mNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mSpace_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mSpace_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mPosition1_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mPosition1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mTwistAxis1_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mTwistAxis1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mPlaneAxis1_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mPlaneAxis1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mPosition2_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mPosition2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mTwistAxis2_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mTwistAxis2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mPlaneAxis2_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mPlaneAxis2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mSwingType_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mSwingType_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mNormalHalfConeAngle_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mNormalHalfConeAngle_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mPlaneHalfConeAngle_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mPlaneHalfConeAngle_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mTwistMinAngle_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mTwistMinAngle_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mTwistMaxAngle_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mTwistMaxAngle_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mMaxFrictionTorque_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mMaxFrictionTorque_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mSwingMotorSettings_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mSwingMotorSettings_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mTwistMotorSettings_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mTwistMotorSettings_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mEnabled_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mEnabled_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mNumVelocityStepsOverride_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mNumVelocityStepsOverride_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraintSettings_set_mNumPositionStepsOverride_1")
declare function _emscripten_bind_SwingTwistConstraintSettings_set_mNumPositionStepsOverride_1(self: usize, value: usize): void;
@final
@unmanaged
export class SwingTwistConstraintSettings {
static new(): SwingTwistConstraintSettings {
return changetype<SwingTwistConstraintSettings>(_emscripten_bind_SwingTwistConstraintSettings_SwingTwistConstraintSettings_0());
}
__destroy__(): void {
_emscripten_bind_SwingTwistConstraintSettings___destroy___0(changetype<usize>(this));
}
Create(inBody1: Body, inBody2: Body): Constraint {
return changetype<Constraint>(_emscripten_bind_SwingTwistConstraintSettings_Create_2(changetype<usize>(this), changetype<usize>(inBody1), changetype<usize>(inBody2)));
}
GetRefCount(): i32 {
return _emscripten_bind_SwingTwistConstraintSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_SwingTwistConstraintSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_SwingTwistConstraintSettings_Release_0(changetype<usize>(this));
}
get mSpace(): EConstraintSpace {
return changetype<EConstraintSpace>(_emscripten_bind_SwingTwistConstraintSettings_get_mSpace_0(changetype<usize>(this)));
}
get mPosition1(): RVec3 {
return changetype<RVec3>(_emscripten_bind_SwingTwistConstraintSettings_get_mPosition1_0(changetype<usize>(this)));
}
get mTwistAxis1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SwingTwistConstraintSettings_get_mTwistAxis1_0(changetype<usize>(this)));
}
get mPlaneAxis1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SwingTwistConstraintSettings_get_mPlaneAxis1_0(changetype<usize>(this)));
}
get mPosition2(): RVec3 {
return changetype<RVec3>(_emscripten_bind_SwingTwistConstraintSettings_get_mPosition2_0(changetype<usize>(this)));
}
get mTwistAxis2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SwingTwistConstraintSettings_get_mTwistAxis2_0(changetype<usize>(this)));
}
get mPlaneAxis2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SwingTwistConstraintSettings_get_mPlaneAxis2_0(changetype<usize>(this)));
}
get mSwingType(): ESwingType {
return changetype<ESwingType>(_emscripten_bind_SwingTwistConstraintSettings_get_mSwingType_0(changetype<usize>(this)));
}
get mNormalHalfConeAngle(): f32 {
return _emscripten_bind_SwingTwistConstraintSettings_get_mNormalHalfConeAngle_0(changetype<usize>(this));
}
get mPlaneHalfConeAngle(): f32 {
return _emscripten_bind_SwingTwistConstraintSettings_get_mPlaneHalfConeAngle_0(changetype<usize>(this));
}
get mTwistMinAngle(): f32 {
return _emscripten_bind_SwingTwistConstraintSettings_get_mTwistMinAngle_0(changetype<usize>(this));
}
get mTwistMaxAngle(): f32 {
return _emscripten_bind_SwingTwistConstraintSettings_get_mTwistMaxAngle_0(changetype<usize>(this));
}
get mMaxFrictionTorque(): f32 {
return _emscripten_bind_SwingTwistConstraintSettings_get_mMaxFrictionTorque_0(changetype<usize>(this));
}
get mSwingMotorSettings(): MotorSettings {
return changetype<MotorSettings>(_emscripten_bind_SwingTwistConstraintSettings_get_mSwingMotorSettings_0(changetype<usize>(this)));
}
get mTwistMotorSettings(): MotorSettings {
return changetype<MotorSettings>(_emscripten_bind_SwingTwistConstraintSettings_get_mTwistMotorSettings_0(changetype<usize>(this)));
}
get mEnabled(): bool {
return _emscripten_bind_SwingTwistConstraintSettings_get_mEnabled_0(changetype<usize>(this));
}
get mNumVelocityStepsOverride(): i32 {
return _emscripten_bind_SwingTwistConstraintSettings_get_mNumVelocityStepsOverride_0(changetype<usize>(this));
}
get mNumPositionStepsOverride(): i32 {
return _emscripten_bind_SwingTwistConstraintSettings_get_mNumPositionStepsOverride_0(changetype<usize>(this));
}
set mSpace(value: EConstraintSpace) {
_emscripten_bind_SwingTwistConstraintSettings_set_mSpace_1(changetype<usize>(this), changetype<usize>(value));
}
set mPosition1(value: RVec3) {
_emscripten_bind_SwingTwistConstraintSettings_set_mPosition1_1(changetype<usize>(this), changetype<usize>(value));
}
set mTwistAxis1(value: Vec3) {
_emscripten_bind_SwingTwistConstraintSettings_set_mTwistAxis1_1(changetype<usize>(this), changetype<usize>(value));
}
set mPlaneAxis1(value: Vec3) {
_emscripten_bind_SwingTwistConstraintSettings_set_mPlaneAxis1_1(changetype<usize>(this), changetype<usize>(value));
}
set mPosition2(value: RVec3) {
_emscripten_bind_SwingTwistConstraintSettings_set_mPosition2_1(changetype<usize>(this), changetype<usize>(value));
}
set mTwistAxis2(value: Vec3) {
_emscripten_bind_SwingTwistConstraintSettings_set_mTwistAxis2_1(changetype<usize>(this), changetype<usize>(value));
}
set mPlaneAxis2(value: Vec3) {
_emscripten_bind_SwingTwistConstraintSettings_set_mPlaneAxis2_1(changetype<usize>(this), changetype<usize>(value));
}
set mSwingType(value: ESwingType) {
_emscripten_bind_SwingTwistConstraintSettings_set_mSwingType_1(changetype<usize>(this), changetype<usize>(value));
}
set mNormalHalfConeAngle(value: f32) {
_emscripten_bind_SwingTwistConstraintSettings_set_mNormalHalfConeAngle_1(changetype<usize>(this), value);
}
set mPlaneHalfConeAngle(value: f32) {
_emscripten_bind_SwingTwistConstraintSettings_set_mPlaneHalfConeAngle_1(changetype<usize>(this), value);
}
set mTwistMinAngle(value: f32) {
_emscripten_bind_SwingTwistConstraintSettings_set_mTwistMinAngle_1(changetype<usize>(this), value);
}
set mTwistMaxAngle(value: f32) {
_emscripten_bind_SwingTwistConstraintSettings_set_mTwistMaxAngle_1(changetype<usize>(this), value);
}
set mMaxFrictionTorque(value: f32) {
_emscripten_bind_SwingTwistConstraintSettings_set_mMaxFrictionTorque_1(changetype<usize>(this), value);
}
set mSwingMotorSettings(value: MotorSettings) {
_emscripten_bind_SwingTwistConstraintSettings_set_mSwingMotorSettings_1(changetype<usize>(this), changetype<usize>(value));
}
set mTwistMotorSettings(value: MotorSettings) {
_emscripten_bind_SwingTwistConstraintSettings_set_mTwistMotorSettings_1(changetype<usize>(this), changetype<usize>(value));
}
set mEnabled(value: bool) {
_emscripten_bind_SwingTwistConstraintSettings_set_mEnabled_1(changetype<usize>(this), value);
}
set mNumVelocityStepsOverride(value: i32) {
_emscripten_bind_SwingTwistConstraintSettings_set_mNumVelocityStepsOverride_1(changetype<usize>(this), value);
}
set mNumPositionStepsOverride(value: i32) {
_emscripten_bind_SwingTwistConstraintSettings_set_mNumPositionStepsOverride_1(changetype<usize>(this), value);
}
asTwoBodyConstraintSettings(): TwoBodyConstraintSettings {
return changetype<TwoBodyConstraintSettings>(this);
}
asConstraintSettings(): ConstraintSettings {
return changetype<ConstraintSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_SwingTwistConstraint___destroy___0")
declare function _emscripten_bind_SwingTwistConstraint___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetLocalSpacePosition1_0")
declare function _emscripten_bind_SwingTwistConstraint_GetLocalSpacePosition1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetLocalSpacePosition2_0")
declare function _emscripten_bind_SwingTwistConstraint_GetLocalSpacePosition2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetConstraintToBody1_0")
declare function _emscripten_bind_SwingTwistConstraint_GetConstraintToBody1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetConstraintToBody2_0")
declare function _emscripten_bind_SwingTwistConstraint_GetConstraintToBody2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetNormalHalfConeAngle_0")
declare function _emscripten_bind_SwingTwistConstraint_GetNormalHalfConeAngle_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SetNormalHalfConeAngle_1")
declare function _emscripten_bind_SwingTwistConstraint_SetNormalHalfConeAngle_1(self: usize, inAngle: f32): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetPlaneHalfConeAngle_0")
declare function _emscripten_bind_SwingTwistConstraint_GetPlaneHalfConeAngle_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SetPlaneHalfConeAngle_1")
declare function _emscripten_bind_SwingTwistConstraint_SetPlaneHalfConeAngle_1(self: usize, inAngle: f32): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetTwistMinAngle_0")
declare function _emscripten_bind_SwingTwistConstraint_GetTwistMinAngle_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SetTwistMinAngle_1")
declare function _emscripten_bind_SwingTwistConstraint_SetTwistMinAngle_1(self: usize, inAngle: f32): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetTwistMaxAngle_0")
declare function _emscripten_bind_SwingTwistConstraint_GetTwistMaxAngle_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SetTwistMaxAngle_1")
declare function _emscripten_bind_SwingTwistConstraint_SetTwistMaxAngle_1(self: usize, inAngle: f32): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetSwingMotorSettings_0")
declare function _emscripten_bind_SwingTwistConstraint_GetSwingMotorSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetTwistMotorSettings_0")
declare function _emscripten_bind_SwingTwistConstraint_GetTwistMotorSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SetMaxFrictionTorque_1")
declare function _emscripten_bind_SwingTwistConstraint_SetMaxFrictionTorque_1(self: usize, inFrictionTorque: f32): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetMaxFrictionTorque_0")
declare function _emscripten_bind_SwingTwistConstraint_GetMaxFrictionTorque_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SetSwingMotorState_1")
declare function _emscripten_bind_SwingTwistConstraint_SetSwingMotorState_1(self: usize, inState: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetSwingMotorState_0")
declare function _emscripten_bind_SwingTwistConstraint_GetSwingMotorState_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SetTwistMotorState_1")
declare function _emscripten_bind_SwingTwistConstraint_SetTwistMotorState_1(self: usize, inState: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetTwistMotorState_0")
declare function _emscripten_bind_SwingTwistConstraint_GetTwistMotorState_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SetTargetAngularVelocityCS_1")
declare function _emscripten_bind_SwingTwistConstraint_SetTargetAngularVelocityCS_1(self: usize, inAngularVelocity: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetTargetAngularVelocityCS_0")
declare function _emscripten_bind_SwingTwistConstraint_GetTargetAngularVelocityCS_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SetTargetOrientationCS_1")
declare function _emscripten_bind_SwingTwistConstraint_SetTargetOrientationCS_1(self: usize, inOrientation: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetTargetOrientationCS_0")
declare function _emscripten_bind_SwingTwistConstraint_GetTargetOrientationCS_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SetTargetOrientationBS_1")
declare function _emscripten_bind_SwingTwistConstraint_SetTargetOrientationBS_1(self: usize, inOrientation: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetRotationInConstraintSpace_0")
declare function _emscripten_bind_SwingTwistConstraint_GetRotationInConstraintSpace_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetTotalLambdaPosition_0")
declare function _emscripten_bind_SwingTwistConstraint_GetTotalLambdaPosition_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetTotalLambdaTwist_0")
declare function _emscripten_bind_SwingTwistConstraint_GetTotalLambdaTwist_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetTotalLambdaSwingY_0")
declare function _emscripten_bind_SwingTwistConstraint_GetTotalLambdaSwingY_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetTotalLambdaSwingZ_0")
declare function _emscripten_bind_SwingTwistConstraint_GetTotalLambdaSwingZ_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetTotalLambdaMotor_0")
declare function _emscripten_bind_SwingTwistConstraint_GetTotalLambdaMotor_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetBody1_0")
declare function _emscripten_bind_SwingTwistConstraint_GetBody1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetBody2_0")
declare function _emscripten_bind_SwingTwistConstraint_GetBody2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetConstraintToBody1Matrix_0")
declare function _emscripten_bind_SwingTwistConstraint_GetConstraintToBody1Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetConstraintToBody2Matrix_0")
declare function _emscripten_bind_SwingTwistConstraint_GetConstraintToBody2Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetRefCount_0")
declare function _emscripten_bind_SwingTwistConstraint_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_AddRef_0")
declare function _emscripten_bind_SwingTwistConstraint_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_Release_0")
declare function _emscripten_bind_SwingTwistConstraint_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetType_0")
declare function _emscripten_bind_SwingTwistConstraint_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetSubType_0")
declare function _emscripten_bind_SwingTwistConstraint_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetConstraintPriority_0")
declare function _emscripten_bind_SwingTwistConstraint_GetConstraintPriority_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SetConstraintPriority_1")
declare function _emscripten_bind_SwingTwistConstraint_SetConstraintPriority_1(self: usize, inPriority: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SetNumVelocityStepsOverride_1")
declare function _emscripten_bind_SwingTwistConstraint_SetNumVelocityStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetNumVelocityStepsOverride_0")
declare function _emscripten_bind_SwingTwistConstraint_GetNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SetNumPositionStepsOverride_1")
declare function _emscripten_bind_SwingTwistConstraint_SetNumPositionStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetNumPositionStepsOverride_0")
declare function _emscripten_bind_SwingTwistConstraint_GetNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SetEnabled_1")
declare function _emscripten_bind_SwingTwistConstraint_SetEnabled_1(self: usize, inEnabled: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetEnabled_0")
declare function _emscripten_bind_SwingTwistConstraint_GetEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_IsActive_0")
declare function _emscripten_bind_SwingTwistConstraint_IsActive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_GetUserData_0")
declare function _emscripten_bind_SwingTwistConstraint_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SetUserData_1")
declare function _emscripten_bind_SwingTwistConstraint_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_ResetWarmStart_0")
declare function _emscripten_bind_SwingTwistConstraint_ResetWarmStart_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_SaveState_1")
declare function _emscripten_bind_SwingTwistConstraint_SaveState_1(self: usize, inStream: usize): void;
@external("Jolt", "_emscripten_bind_SwingTwistConstraint_RestoreState_1")
declare function _emscripten_bind_SwingTwistConstraint_RestoreState_1(self: usize, inStream: usize): void;
@final
@unmanaged
export class SwingTwistConstraint {
__destroy__(): void {
_emscripten_bind_SwingTwistConstraint___destroy___0(changetype<usize>(this));
}
GetLocalSpacePosition1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SwingTwistConstraint_GetLocalSpacePosition1_0(changetype<usize>(this)));
}
GetLocalSpacePosition2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SwingTwistConstraint_GetLocalSpacePosition2_0(changetype<usize>(this)));
}
GetConstraintToBody1(): Quat {
return changetype<Quat>(_emscripten_bind_SwingTwistConstraint_GetConstraintToBody1_0(changetype<usize>(this)));
}
GetConstraintToBody2(): Quat {
return changetype<Quat>(_emscripten_bind_SwingTwistConstraint_GetConstraintToBody2_0(changetype<usize>(this)));
}
GetNormalHalfConeAngle(): f32 {
return _emscripten_bind_SwingTwistConstraint_GetNormalHalfConeAngle_0(changetype<usize>(this));
}
SetNormalHalfConeAngle(inAngle: f32): void {
_emscripten_bind_SwingTwistConstraint_SetNormalHalfConeAngle_1(changetype<usize>(this), inAngle);
}
GetPlaneHalfConeAngle(): f32 {
return _emscripten_bind_SwingTwistConstraint_GetPlaneHalfConeAngle_0(changetype<usize>(this));
}
SetPlaneHalfConeAngle(inAngle: f32): void {
_emscripten_bind_SwingTwistConstraint_SetPlaneHalfConeAngle_1(changetype<usize>(this), inAngle);
}
GetTwistMinAngle(): f32 {
return _emscripten_bind_SwingTwistConstraint_GetTwistMinAngle_0(changetype<usize>(this));
}
SetTwistMinAngle(inAngle: f32): void {
_emscripten_bind_SwingTwistConstraint_SetTwistMinAngle_1(changetype<usize>(this), inAngle);
}
GetTwistMaxAngle(): f32 {
return _emscripten_bind_SwingTwistConstraint_GetTwistMaxAngle_0(changetype<usize>(this));
}
SetTwistMaxAngle(inAngle: f32): void {
_emscripten_bind_SwingTwistConstraint_SetTwistMaxAngle_1(changetype<usize>(this), inAngle);
}
GetSwingMotorSettings(): MotorSettings {
return changetype<MotorSettings>(_emscripten_bind_SwingTwistConstraint_GetSwingMotorSettings_0(changetype<usize>(this)));
}
GetTwistMotorSettings(): MotorSettings {
return changetype<MotorSettings>(_emscripten_bind_SwingTwistConstraint_GetTwistMotorSettings_0(changetype<usize>(this)));
}
SetMaxFrictionTorque(inFrictionTorque: f32): void {
_emscripten_bind_SwingTwistConstraint_SetMaxFrictionTorque_1(changetype<usize>(this), inFrictionTorque);
}
GetMaxFrictionTorque(): f32 {
return _emscripten_bind_SwingTwistConstraint_GetMaxFrictionTorque_0(changetype<usize>(this));
}
SetSwingMotorState(inState: EMotorState): void {
_emscripten_bind_SwingTwistConstraint_SetSwingMotorState_1(changetype<usize>(this), changetype<usize>(inState));
}
GetSwingMotorState(): EMotorState {
return changetype<EMotorState>(_emscripten_bind_SwingTwistConstraint_GetSwingMotorState_0(changetype<usize>(this)));
}
SetTwistMotorState(inState: EMotorState): void {
_emscripten_bind_SwingTwistConstraint_SetTwistMotorState_1(changetype<usize>(this), changetype<usize>(inState));
}
GetTwistMotorState(): EMotorState {
return changetype<EMotorState>(_emscripten_bind_SwingTwistConstraint_GetTwistMotorState_0(changetype<usize>(this)));
}
SetTargetAngularVelocityCS(inAngularVelocity: Vec3): void {
_emscripten_bind_SwingTwistConstraint_SetTargetAngularVelocityCS_1(changetype<usize>(this), changetype<usize>(inAngularVelocity));
}
GetTargetAngularVelocityCS(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SwingTwistConstraint_GetTargetAngularVelocityCS_0(changetype<usize>(this)));
}
SetTargetOrientationCS(inOrientation: Quat): void {
_emscripten_bind_SwingTwistConstraint_SetTargetOrientationCS_1(changetype<usize>(this), changetype<usize>(inOrientation));
}
GetTargetOrientationCS(): Quat {
return changetype<Quat>(_emscripten_bind_SwingTwistConstraint_GetTargetOrientationCS_0(changetype<usize>(this)));
}
SetTargetOrientationBS(inOrientation: Quat): void {
_emscripten_bind_SwingTwistConstraint_SetTargetOrientationBS_1(changetype<usize>(this), changetype<usize>(inOrientation));
}
GetRotationInConstraintSpace(): Quat {
return changetype<Quat>(_emscripten_bind_SwingTwistConstraint_GetRotationInConstraintSpace_0(changetype<usize>(this)));
}
GetTotalLambdaPosition(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SwingTwistConstraint_GetTotalLambdaPosition_0(changetype<usize>(this)));
}
GetTotalLambdaTwist(): f32 {
return _emscripten_bind_SwingTwistConstraint_GetTotalLambdaTwist_0(changetype<usize>(this));
}
GetTotalLambdaSwingY(): f32 {
return _emscripten_bind_SwingTwistConstraint_GetTotalLambdaSwingY_0(changetype<usize>(this));
}
GetTotalLambdaSwingZ(): f32 {
return _emscripten_bind_SwingTwistConstraint_GetTotalLambdaSwingZ_0(changetype<usize>(this));
}
GetTotalLambdaMotor(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SwingTwistConstraint_GetTotalLambdaMotor_0(changetype<usize>(this)));
}
GetBody1(): Body {
return changetype<Body>(_emscripten_bind_SwingTwistConstraint_GetBody1_0(changetype<usize>(this)));
}
GetBody2(): Body {
return changetype<Body>(_emscripten_bind_SwingTwistConstraint_GetBody2_0(changetype<usize>(this)));
}
GetConstraintToBody1Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_SwingTwistConstraint_GetConstraintToBody1Matrix_0(changetype<usize>(this)));
}
GetConstraintToBody2Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_SwingTwistConstraint_GetConstraintToBody2Matrix_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_SwingTwistConstraint_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_SwingTwistConstraint_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_SwingTwistConstraint_Release_0(changetype<usize>(this));
}
GetType(): EConstraintType {
return changetype<EConstraintType>(_emscripten_bind_SwingTwistConstraint_GetType_0(changetype<usize>(this)));
}
GetSubType(): EConstraintSubType {
return changetype<EConstraintSubType>(_emscripten_bind_SwingTwistConstraint_GetSubType_0(changetype<usize>(this)));
}
GetConstraintPriority(): i32 {
return _emscripten_bind_SwingTwistConstraint_GetConstraintPriority_0(changetype<usize>(this));
}
SetConstraintPriority(inPriority: i32): void {
_emscripten_bind_SwingTwistConstraint_SetConstraintPriority_1(changetype<usize>(this), inPriority);
}
SetNumVelocityStepsOverride(inN: i32): void {
_emscripten_bind_SwingTwistConstraint_SetNumVelocityStepsOverride_1(changetype<usize>(this), inN);
}
GetNumVelocityStepsOverride(): i32 {
return _emscripten_bind_SwingTwistConstraint_GetNumVelocityStepsOverride_0(changetype<usize>(this));
}
SetNumPositionStepsOverride(inN: i32): void {
_emscripten_bind_SwingTwistConstraint_SetNumPositionStepsOverride_1(changetype<usize>(this), inN);
}
GetNumPositionStepsOverride(): i32 {
return _emscripten_bind_SwingTwistConstraint_GetNumPositionStepsOverride_0(changetype<usize>(this));
}
SetEnabled(inEnabled: bool): void {
_emscripten_bind_SwingTwistConstraint_SetEnabled_1(changetype<usize>(this), inEnabled);
}
GetEnabled(): bool {
return _emscripten_bind_SwingTwistConstraint_GetEnabled_0(changetype<usize>(this));
}
IsActive(): bool {
return _emscripten_bind_SwingTwistConstraint_IsActive_0(changetype<usize>(this));
}
GetUserData(): i32 {
return _emscripten_bind_SwingTwistConstraint_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_SwingTwistConstraint_SetUserData_1(changetype<usize>(this), inUserData);
}
ResetWarmStart(): void {
_emscripten_bind_SwingTwistConstraint_ResetWarmStart_0(changetype<usize>(this));
}
SaveState(inStream: StateRecorder): void {
_emscripten_bind_SwingTwistConstraint_SaveState_1(changetype<usize>(this), changetype<usize>(inStream));
}
RestoreState(inStream: StateRecorder): void {
_emscripten_bind_SwingTwistConstraint_RestoreState_1(changetype<usize>(this), changetype<usize>(inStream));
}
asTwoBodyConstraint(): TwoBodyConstraint {
return changetype<TwoBodyConstraint>(this);
}
asConstraint(): Constraint {
return changetype<Constraint>(this);
}
}
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_SixDOFConstraintSettings_0")
declare function _emscripten_bind_SixDOFConstraintSettings_SixDOFConstraintSettings_0(): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings___destroy___0")
declare function _emscripten_bind_SixDOFConstraintSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_MakeFreeAxis_1")
declare function _emscripten_bind_SixDOFConstraintSettings_MakeFreeAxis_1(self: usize, inAxis: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_IsFreeAxis_1")
declare function _emscripten_bind_SixDOFConstraintSettings_IsFreeAxis_1(self: usize, inAxis: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_MakeFixedAxis_1")
declare function _emscripten_bind_SixDOFConstraintSettings_MakeFixedAxis_1(self: usize, inAxis: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_IsFixedAxis_1")
declare function _emscripten_bind_SixDOFConstraintSettings_IsFixedAxis_1(self: usize, inAxis: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_SetLimitedAxis_3")
declare function _emscripten_bind_SixDOFConstraintSettings_SetLimitedAxis_3(self: usize, inAxis: usize, inMin: f32, inMax: f32): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_Create_2")
declare function _emscripten_bind_SixDOFConstraintSettings_Create_2(self: usize, inBody1: usize, inBody2: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_GetRefCount_0")
declare function _emscripten_bind_SixDOFConstraintSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_AddRef_0")
declare function _emscripten_bind_SixDOFConstraintSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_Release_0")
declare function _emscripten_bind_SixDOFConstraintSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mSpace_0")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mSpace_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mPosition1_0")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mPosition1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mAxisX1_0")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mAxisX1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mAxisY1_0")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mAxisY1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mPosition2_0")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mPosition2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mAxisX2_0")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mAxisX2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mAxisY2_0")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mAxisY2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mMaxFriction_1")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mMaxFriction_1(self: usize, index: usize): Array<f32>;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mSwingType_0")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mSwingType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mLimitMin_1")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mLimitMin_1(self: usize, index: usize): Array<f32>;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mLimitMax_1")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mLimitMax_1(self: usize, index: usize): Array<f32>;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mLimitsSpringSettings_1")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mLimitsSpringSettings_1(self: usize, index: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mMotorSettings_1")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mMotorSettings_1(self: usize, index: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mEnabled_0")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mNumVelocityStepsOverride_0")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_get_mNumPositionStepsOverride_0")
declare function _emscripten_bind_SixDOFConstraintSettings_get_mNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mSpace_1")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mSpace_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mPosition1_1")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mPosition1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mAxisX1_1")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mAxisX1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mAxisY1_1")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mAxisY1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mPosition2_1")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mPosition2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mAxisX2_1")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mAxisX2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mAxisY2_1")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mAxisY2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mMaxFriction_2")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mMaxFriction_2(self: usize, index: usize, value: Array<f32>): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mSwingType_1")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mSwingType_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mLimitMin_2")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mLimitMin_2(self: usize, index: usize, value: Array<f32>): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mLimitMax_2")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mLimitMax_2(self: usize, index: usize, value: Array<f32>): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mLimitsSpringSettings_2")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mLimitsSpringSettings_2(self: usize, index: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mMotorSettings_2")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mMotorSettings_2(self: usize, index: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mEnabled_1")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mEnabled_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mNumVelocityStepsOverride_1")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mNumVelocityStepsOverride_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraintSettings_set_mNumPositionStepsOverride_1")
declare function _emscripten_bind_SixDOFConstraintSettings_set_mNumPositionStepsOverride_1(self: usize, value: usize): void;
@final
@unmanaged
export class SixDOFConstraintSettings {
static new(): SixDOFConstraintSettings {
return changetype<SixDOFConstraintSettings>(_emscripten_bind_SixDOFConstraintSettings_SixDOFConstraintSettings_0());
}
__destroy__(): void {
_emscripten_bind_SixDOFConstraintSettings___destroy___0(changetype<usize>(this));
}
MakeFreeAxis(inAxis: SixDOFConstraintSettings_EAxis): void {
_emscripten_bind_SixDOFConstraintSettings_MakeFreeAxis_1(changetype<usize>(this), changetype<usize>(inAxis));
}
IsFreeAxis(inAxis: SixDOFConstraintSettings_EAxis): bool {
return _emscripten_bind_SixDOFConstraintSettings_IsFreeAxis_1(changetype<usize>(this), changetype<usize>(inAxis));
}
MakeFixedAxis(inAxis: SixDOFConstraintSettings_EAxis): void {
_emscripten_bind_SixDOFConstraintSettings_MakeFixedAxis_1(changetype<usize>(this), changetype<usize>(inAxis));
}
IsFixedAxis(inAxis: SixDOFConstraintSettings_EAxis): bool {
return _emscripten_bind_SixDOFConstraintSettings_IsFixedAxis_1(changetype<usize>(this), changetype<usize>(inAxis));
}
SetLimitedAxis(inAxis: SixDOFConstraintSettings_EAxis, inMin: f32, inMax: f32): void {
_emscripten_bind_SixDOFConstraintSettings_SetLimitedAxis_3(changetype<usize>(this), changetype<usize>(inAxis), inMin, inMax);
}
Create(inBody1: Body, inBody2: Body): Constraint {
return changetype<Constraint>(_emscripten_bind_SixDOFConstraintSettings_Create_2(changetype<usize>(this), changetype<usize>(inBody1), changetype<usize>(inBody2)));
}
GetRefCount(): i32 {
return _emscripten_bind_SixDOFConstraintSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_SixDOFConstraintSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_SixDOFConstraintSettings_Release_0(changetype<usize>(this));
}
get mSpace(): EConstraintSpace {
return changetype<EConstraintSpace>(_emscripten_bind_SixDOFConstraintSettings_get_mSpace_0(changetype<usize>(this)));
}
get mPosition1(): RVec3 {
return changetype<RVec3>(_emscripten_bind_SixDOFConstraintSettings_get_mPosition1_0(changetype<usize>(this)));
}
get mAxisX1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SixDOFConstraintSettings_get_mAxisX1_0(changetype<usize>(this)));
}
get mAxisY1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SixDOFConstraintSettings_get_mAxisY1_0(changetype<usize>(this)));
}
get mPosition2(): RVec3 {
return changetype<RVec3>(_emscripten_bind_SixDOFConstraintSettings_get_mPosition2_0(changetype<usize>(this)));
}
get mAxisX2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SixDOFConstraintSettings_get_mAxisX2_0(changetype<usize>(this)));
}
get mAxisY2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SixDOFConstraintSettings_get_mAxisY2_0(changetype<usize>(this)));
}
getMMaxFriction(index: i32): Array<f32> {
return changetype<Array<f32>>(_emscripten_bind_SixDOFConstraintSettings_get_mMaxFriction_1(changetype<usize>(this), index));
}
get mSwingType(): ESwingType {
return changetype<ESwingType>(_emscripten_bind_SixDOFConstraintSettings_get_mSwingType_0(changetype<usize>(this)));
}
getMLimitMin(index: i32): Array<f32> {
return changetype<Array<f32>>(_emscripten_bind_SixDOFConstraintSettings_get_mLimitMin_1(changetype<usize>(this), index));
}
getMLimitMax(index: i32): Array<f32> {
return changetype<Array<f32>>(_emscripten_bind_SixDOFConstraintSettings_get_mLimitMax_1(changetype<usize>(this), index));
}
getMLimitsSpringSettings(index: i32): Array<SpringSettings> {
return changetype<Array<SpringSettings>>(_emscripten_bind_SixDOFConstraintSettings_get_mLimitsSpringSettings_1(changetype<usize>(this), index));
}
getMMotorSettings(index: i32): Array<MotorSettings> {
return changetype<Array<MotorSettings>>(_emscripten_bind_SixDOFConstraintSettings_get_mMotorSettings_1(changetype<usize>(this), index));
}
get mEnabled(): bool {
return _emscripten_bind_SixDOFConstraintSettings_get_mEnabled_0(changetype<usize>(this));
}
get mNumVelocityStepsOverride(): i32 {
return _emscripten_bind_SixDOFConstraintSettings_get_mNumVelocityStepsOverride_0(changetype<usize>(this));
}
get mNumPositionStepsOverride(): i32 {
return _emscripten_bind_SixDOFConstraintSettings_get_mNumPositionStepsOverride_0(changetype<usize>(this));
}
set mSpace(value: EConstraintSpace) {
_emscripten_bind_SixDOFConstraintSettings_set_mSpace_1(changetype<usize>(this), changetype<usize>(value));
}
set mPosition1(value: RVec3) {
_emscripten_bind_SixDOFConstraintSettings_set_mPosition1_1(changetype<usize>(this), changetype<usize>(value));
}
set mAxisX1(value: Vec3) {
_emscripten_bind_SixDOFConstraintSettings_set_mAxisX1_1(changetype<usize>(this), changetype<usize>(value));
}
set mAxisY1(value: Vec3) {
_emscripten_bind_SixDOFConstraintSettings_set_mAxisY1_1(changetype<usize>(this), changetype<usize>(value));
}
set mPosition2(value: RVec3) {
_emscripten_bind_SixDOFConstraintSettings_set_mPosition2_1(changetype<usize>(this), changetype<usize>(value));
}
set mAxisX2(value: Vec3) {
_emscripten_bind_SixDOFConstraintSettings_set_mAxisX2_1(changetype<usize>(this), changetype<usize>(value));
}
set mAxisY2(value: Vec3) {
_emscripten_bind_SixDOFConstraintSettings_set_mAxisY2_1(changetype<usize>(this), changetype<usize>(value));
}
setMMaxFriction(index: i32, value: Array<f32>): void {
_emscripten_bind_SixDOFConstraintSettings_set_mMaxFriction_2(changetype<usize>(this), index, changetype<usize>(value));
}
set mSwingType(value: ESwingType) {
_emscripten_bind_SixDOFConstraintSettings_set_mSwingType_1(changetype<usize>(this), changetype<usize>(value));
}
setMLimitMin(index: i32, value: Array<f32>): void {
_emscripten_bind_SixDOFConstraintSettings_set_mLimitMin_2(changetype<usize>(this), index, changetype<usize>(value));
}
setMLimitMax(index: i32, value: Array<f32>): void {
_emscripten_bind_SixDOFConstraintSettings_set_mLimitMax_2(changetype<usize>(this), index, changetype<usize>(value));
}
setMLimitsSpringSettings(index: i32, value: Array<SpringSettings>): void {
_emscripten_bind_SixDOFConstraintSettings_set_mLimitsSpringSettings_2(changetype<usize>(this), index, changetype<usize>(value));
}
setMMotorSettings(index: i32, value: Array<MotorSettings>): void {
_emscripten_bind_SixDOFConstraintSettings_set_mMotorSettings_2(changetype<usize>(this), index, changetype<usize>(value));
}
set mEnabled(value: bool) {
_emscripten_bind_SixDOFConstraintSettings_set_mEnabled_1(changetype<usize>(this), value);
}
set mNumVelocityStepsOverride(value: i32) {
_emscripten_bind_SixDOFConstraintSettings_set_mNumVelocityStepsOverride_1(changetype<usize>(this), value);
}
set mNumPositionStepsOverride(value: i32) {
_emscripten_bind_SixDOFConstraintSettings_set_mNumPositionStepsOverride_1(changetype<usize>(this), value);
}
asTwoBodyConstraintSettings(): TwoBodyConstraintSettings {
return changetype<TwoBodyConstraintSettings>(this);
}
asConstraintSettings(): ConstraintSettings {
return changetype<ConstraintSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_SixDOFConstraint___destroy___0")
declare function _emscripten_bind_SixDOFConstraint___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SetTranslationLimits_2")
declare function _emscripten_bind_SixDOFConstraint_SetTranslationLimits_2(self: usize, inLimitMin: usize, inLimitMax: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SetRotationLimits_2")
declare function _emscripten_bind_SixDOFConstraint_SetRotationLimits_2(self: usize, inLimitMin: usize, inLimitMax: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetLimitsMin_1")
declare function _emscripten_bind_SixDOFConstraint_GetLimitsMin_1(self: usize, inAxis: usize): f32;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetLimitsMax_1")
declare function _emscripten_bind_SixDOFConstraint_GetLimitsMax_1(self: usize, inAxis: usize): f32;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetTranslationLimitsMin_0")
declare function _emscripten_bind_SixDOFConstraint_GetTranslationLimitsMin_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetTranslationLimitsMax_0")
declare function _emscripten_bind_SixDOFConstraint_GetTranslationLimitsMax_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetRotationLimitsMin_0")
declare function _emscripten_bind_SixDOFConstraint_GetRotationLimitsMin_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetRotationLimitsMax_0")
declare function _emscripten_bind_SixDOFConstraint_GetRotationLimitsMax_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_IsFixedAxis_1")
declare function _emscripten_bind_SixDOFConstraint_IsFixedAxis_1(self: usize, inAxis: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_IsFreeAxis_1")
declare function _emscripten_bind_SixDOFConstraint_IsFreeAxis_1(self: usize, inAxis: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetLimitsSpringSettings_1")
declare function _emscripten_bind_SixDOFConstraint_GetLimitsSpringSettings_1(self: usize, inAxis: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SetLimitsSpringSettings_2")
declare function _emscripten_bind_SixDOFConstraint_SetLimitsSpringSettings_2(self: usize, inAxis: usize, inLimitsSpringSettings: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SetMaxFriction_2")
declare function _emscripten_bind_SixDOFConstraint_SetMaxFriction_2(self: usize, inAxis: usize, inFriction: f32): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetMaxFriction_1")
declare function _emscripten_bind_SixDOFConstraint_GetMaxFriction_1(self: usize, inAxis: usize): f32;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetRotationInConstraintSpace_0")
declare function _emscripten_bind_SixDOFConstraint_GetRotationInConstraintSpace_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetMotorSettings_1")
declare function _emscripten_bind_SixDOFConstraint_GetMotorSettings_1(self: usize, inAxis: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SetMotorState_2")
declare function _emscripten_bind_SixDOFConstraint_SetMotorState_2(self: usize, inAxis: usize, inState: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetMotorState_1")
declare function _emscripten_bind_SixDOFConstraint_GetMotorState_1(self: usize, inAxis: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetTargetVelocityCS_0")
declare function _emscripten_bind_SixDOFConstraint_GetTargetVelocityCS_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SetTargetVelocityCS_1")
declare function _emscripten_bind_SixDOFConstraint_SetTargetVelocityCS_1(self: usize, inVelocity: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SetTargetAngularVelocityCS_1")
declare function _emscripten_bind_SixDOFConstraint_SetTargetAngularVelocityCS_1(self: usize, inAngularVelocity: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetTargetAngularVelocityCS_0")
declare function _emscripten_bind_SixDOFConstraint_GetTargetAngularVelocityCS_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetTargetPositionCS_0")
declare function _emscripten_bind_SixDOFConstraint_GetTargetPositionCS_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SetTargetPositionCS_1")
declare function _emscripten_bind_SixDOFConstraint_SetTargetPositionCS_1(self: usize, inPosition: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SetTargetOrientationCS_1")
declare function _emscripten_bind_SixDOFConstraint_SetTargetOrientationCS_1(self: usize, inOrientation: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetTargetOrientationCS_0")
declare function _emscripten_bind_SixDOFConstraint_GetTargetOrientationCS_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SetTargetOrientationBS_1")
declare function _emscripten_bind_SixDOFConstraint_SetTargetOrientationBS_1(self: usize, inOrientation: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetTotalLambdaPosition_0")
declare function _emscripten_bind_SixDOFConstraint_GetTotalLambdaPosition_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetTotalLambdaRotation_0")
declare function _emscripten_bind_SixDOFConstraint_GetTotalLambdaRotation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetTotalLambdaMotorTranslation_0")
declare function _emscripten_bind_SixDOFConstraint_GetTotalLambdaMotorTranslation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetTotalLambdaMotorRotation_0")
declare function _emscripten_bind_SixDOFConstraint_GetTotalLambdaMotorRotation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetBody1_0")
declare function _emscripten_bind_SixDOFConstraint_GetBody1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetBody2_0")
declare function _emscripten_bind_SixDOFConstraint_GetBody2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetConstraintToBody1Matrix_0")
declare function _emscripten_bind_SixDOFConstraint_GetConstraintToBody1Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetConstraintToBody2Matrix_0")
declare function _emscripten_bind_SixDOFConstraint_GetConstraintToBody2Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetRefCount_0")
declare function _emscripten_bind_SixDOFConstraint_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_AddRef_0")
declare function _emscripten_bind_SixDOFConstraint_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_Release_0")
declare function _emscripten_bind_SixDOFConstraint_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetType_0")
declare function _emscripten_bind_SixDOFConstraint_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetSubType_0")
declare function _emscripten_bind_SixDOFConstraint_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetConstraintPriority_0")
declare function _emscripten_bind_SixDOFConstraint_GetConstraintPriority_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SetConstraintPriority_1")
declare function _emscripten_bind_SixDOFConstraint_SetConstraintPriority_1(self: usize, inPriority: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SetNumVelocityStepsOverride_1")
declare function _emscripten_bind_SixDOFConstraint_SetNumVelocityStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetNumVelocityStepsOverride_0")
declare function _emscripten_bind_SixDOFConstraint_GetNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SetNumPositionStepsOverride_1")
declare function _emscripten_bind_SixDOFConstraint_SetNumPositionStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetNumPositionStepsOverride_0")
declare function _emscripten_bind_SixDOFConstraint_GetNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SetEnabled_1")
declare function _emscripten_bind_SixDOFConstraint_SetEnabled_1(self: usize, inEnabled: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetEnabled_0")
declare function _emscripten_bind_SixDOFConstraint_GetEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_IsActive_0")
declare function _emscripten_bind_SixDOFConstraint_IsActive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_GetUserData_0")
declare function _emscripten_bind_SixDOFConstraint_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SetUserData_1")
declare function _emscripten_bind_SixDOFConstraint_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_ResetWarmStart_0")
declare function _emscripten_bind_SixDOFConstraint_ResetWarmStart_0(self: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_SaveState_1")
declare function _emscripten_bind_SixDOFConstraint_SaveState_1(self: usize, inStream: usize): void;
@external("Jolt", "_emscripten_bind_SixDOFConstraint_RestoreState_1")
declare function _emscripten_bind_SixDOFConstraint_RestoreState_1(self: usize, inStream: usize): void;
@final
@unmanaged
export class SixDOFConstraint {
__destroy__(): void {
_emscripten_bind_SixDOFConstraint___destroy___0(changetype<usize>(this));
}
SetTranslationLimits(inLimitMin: Vec3, inLimitMax: Vec3): void {
_emscripten_bind_SixDOFConstraint_SetTranslationLimits_2(changetype<usize>(this), changetype<usize>(inLimitMin), changetype<usize>(inLimitMax));
}
SetRotationLimits(inLimitMin: Vec3, inLimitMax: Vec3): void {
_emscripten_bind_SixDOFConstraint_SetRotationLimits_2(changetype<usize>(this), changetype<usize>(inLimitMin), changetype<usize>(inLimitMax));
}
GetLimitsMin(inAxis: SixDOFConstraintSettings_EAxis): f32 {
return _emscripten_bind_SixDOFConstraint_GetLimitsMin_1(changetype<usize>(this), changetype<usize>(inAxis));
}
GetLimitsMax(inAxis: SixDOFConstraintSettings_EAxis): f32 {
return _emscripten_bind_SixDOFConstraint_GetLimitsMax_1(changetype<usize>(this), changetype<usize>(inAxis));
}
GetTranslationLimitsMin(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SixDOFConstraint_GetTranslationLimitsMin_0(changetype<usize>(this)));
}
GetTranslationLimitsMax(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SixDOFConstraint_GetTranslationLimitsMax_0(changetype<usize>(this)));
}
GetRotationLimitsMin(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SixDOFConstraint_GetRotationLimitsMin_0(changetype<usize>(this)));
}
GetRotationLimitsMax(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SixDOFConstraint_GetRotationLimitsMax_0(changetype<usize>(this)));
}
IsFixedAxis(inAxis: SixDOFConstraintSettings_EAxis): bool {
return _emscripten_bind_SixDOFConstraint_IsFixedAxis_1(changetype<usize>(this), changetype<usize>(inAxis));
}
IsFreeAxis(inAxis: SixDOFConstraintSettings_EAxis): bool {
return _emscripten_bind_SixDOFConstraint_IsFreeAxis_1(changetype<usize>(this), changetype<usize>(inAxis));
}
GetLimitsSpringSettings(inAxis: SixDOFConstraintSettings_EAxis): SpringSettings {
return changetype<SpringSettings>(_emscripten_bind_SixDOFConstraint_GetLimitsSpringSettings_1(changetype<usize>(this), changetype<usize>(inAxis)));
}
SetLimitsSpringSettings(inAxis: SixDOFConstraintSettings_EAxis, inLimitsSpringSettings: SpringSettings): void {
_emscripten_bind_SixDOFConstraint_SetLimitsSpringSettings_2(changetype<usize>(this), changetype<usize>(inAxis), changetype<usize>(inLimitsSpringSettings));
}
SetMaxFriction(inAxis: SixDOFConstraintSettings_EAxis, inFriction: f32): void {
_emscripten_bind_SixDOFConstraint_SetMaxFriction_2(changetype<usize>(this), changetype<usize>(inAxis), inFriction);
}
GetMaxFriction(inAxis: SixDOFConstraintSettings_EAxis): f32 {
return _emscripten_bind_SixDOFConstraint_GetMaxFriction_1(changetype<usize>(this), changetype<usize>(inAxis));
}
GetRotationInConstraintSpace(): Quat {
return changetype<Quat>(_emscripten_bind_SixDOFConstraint_GetRotationInConstraintSpace_0(changetype<usize>(this)));
}
GetMotorSettings(inAxis: SixDOFConstraintSettings_EAxis): MotorSettings {
return changetype<MotorSettings>(_emscripten_bind_SixDOFConstraint_GetMotorSettings_1(changetype<usize>(this), changetype<usize>(inAxis)));
}
SetMotorState(inAxis: SixDOFConstraintSettings_EAxis, inState: EMotorState): void {
_emscripten_bind_SixDOFConstraint_SetMotorState_2(changetype<usize>(this), changetype<usize>(inAxis), changetype<usize>(inState));
}
GetMotorState(inAxis: SixDOFConstraintSettings_EAxis): EMotorState {
return changetype<EMotorState>(_emscripten_bind_SixDOFConstraint_GetMotorState_1(changetype<usize>(this), changetype<usize>(inAxis)));
}
GetTargetVelocityCS(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SixDOFConstraint_GetTargetVelocityCS_0(changetype<usize>(this)));
}
SetTargetVelocityCS(inVelocity: Vec3): void {
_emscripten_bind_SixDOFConstraint_SetTargetVelocityCS_1(changetype<usize>(this), changetype<usize>(inVelocity));
}
SetTargetAngularVelocityCS(inAngularVelocity: Vec3): void {
_emscripten_bind_SixDOFConstraint_SetTargetAngularVelocityCS_1(changetype<usize>(this), changetype<usize>(inAngularVelocity));
}
GetTargetAngularVelocityCS(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SixDOFConstraint_GetTargetAngularVelocityCS_0(changetype<usize>(this)));
}
GetTargetPositionCS(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SixDOFConstraint_GetTargetPositionCS_0(changetype<usize>(this)));
}
SetTargetPositionCS(inPosition: Vec3): void {
_emscripten_bind_SixDOFConstraint_SetTargetPositionCS_1(changetype<usize>(this), changetype<usize>(inPosition));
}
SetTargetOrientationCS(inOrientation: Quat): void {
_emscripten_bind_SixDOFConstraint_SetTargetOrientationCS_1(changetype<usize>(this), changetype<usize>(inOrientation));
}
GetTargetOrientationCS(): Quat {
return changetype<Quat>(_emscripten_bind_SixDOFConstraint_GetTargetOrientationCS_0(changetype<usize>(this)));
}
SetTargetOrientationBS(inOrientation: Quat): void {
_emscripten_bind_SixDOFConstraint_SetTargetOrientationBS_1(changetype<usize>(this), changetype<usize>(inOrientation));
}
GetTotalLambdaPosition(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SixDOFConstraint_GetTotalLambdaPosition_0(changetype<usize>(this)));
}
GetTotalLambdaRotation(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SixDOFConstraint_GetTotalLambdaRotation_0(changetype<usize>(this)));
}
GetTotalLambdaMotorTranslation(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SixDOFConstraint_GetTotalLambdaMotorTranslation_0(changetype<usize>(this)));
}
GetTotalLambdaMotorRotation(): Vec3 {
return changetype<Vec3>(_emscripten_bind_SixDOFConstraint_GetTotalLambdaMotorRotation_0(changetype<usize>(this)));
}
GetBody1(): Body {
return changetype<Body>(_emscripten_bind_SixDOFConstraint_GetBody1_0(changetype<usize>(this)));
}
GetBody2(): Body {
return changetype<Body>(_emscripten_bind_SixDOFConstraint_GetBody2_0(changetype<usize>(this)));
}
GetConstraintToBody1Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_SixDOFConstraint_GetConstraintToBody1Matrix_0(changetype<usize>(this)));
}
GetConstraintToBody2Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_SixDOFConstraint_GetConstraintToBody2Matrix_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_SixDOFConstraint_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_SixDOFConstraint_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_SixDOFConstraint_Release_0(changetype<usize>(this));
}
GetType(): EConstraintType {
return changetype<EConstraintType>(_emscripten_bind_SixDOFConstraint_GetType_0(changetype<usize>(this)));
}
GetSubType(): EConstraintSubType {
return changetype<EConstraintSubType>(_emscripten_bind_SixDOFConstraint_GetSubType_0(changetype<usize>(this)));
}
GetConstraintPriority(): i32 {
return _emscripten_bind_SixDOFConstraint_GetConstraintPriority_0(changetype<usize>(this));
}
SetConstraintPriority(inPriority: i32): void {
_emscripten_bind_SixDOFConstraint_SetConstraintPriority_1(changetype<usize>(this), inPriority);
}
SetNumVelocityStepsOverride(inN: i32): void {
_emscripten_bind_SixDOFConstraint_SetNumVelocityStepsOverride_1(changetype<usize>(this), inN);
}
GetNumVelocityStepsOverride(): i32 {
return _emscripten_bind_SixDOFConstraint_GetNumVelocityStepsOverride_0(changetype<usize>(this));
}
SetNumPositionStepsOverride(inN: i32): void {
_emscripten_bind_SixDOFConstraint_SetNumPositionStepsOverride_1(changetype<usize>(this), inN);
}
GetNumPositionStepsOverride(): i32 {
return _emscripten_bind_SixDOFConstraint_GetNumPositionStepsOverride_0(changetype<usize>(this));
}
SetEnabled(inEnabled: bool): void {
_emscripten_bind_SixDOFConstraint_SetEnabled_1(changetype<usize>(this), inEnabled);
}
GetEnabled(): bool {
return _emscripten_bind_SixDOFConstraint_GetEnabled_0(changetype<usize>(this));
}
IsActive(): bool {
return _emscripten_bind_SixDOFConstraint_IsActive_0(changetype<usize>(this));
}
GetUserData(): i32 {
return _emscripten_bind_SixDOFConstraint_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_SixDOFConstraint_SetUserData_1(changetype<usize>(this), inUserData);
}
ResetWarmStart(): void {
_emscripten_bind_SixDOFConstraint_ResetWarmStart_0(changetype<usize>(this));
}
SaveState(inStream: StateRecorder): void {
_emscripten_bind_SixDOFConstraint_SaveState_1(changetype<usize>(this), changetype<usize>(inStream));
}
RestoreState(inStream: StateRecorder): void {
_emscripten_bind_SixDOFConstraint_RestoreState_1(changetype<usize>(this), changetype<usize>(inStream));
}
asTwoBodyConstraint(): TwoBodyConstraint {
return changetype<TwoBodyConstraint>(this);
}
asConstraint(): Constraint {
return changetype<Constraint>(this);
}
}
@external("Jolt", "_emscripten_bind_PathConstraintSettings_PathConstraintSettings_0")
declare function _emscripten_bind_PathConstraintSettings_PathConstraintSettings_0(): usize;
@external("Jolt", "_emscripten_bind_PathConstraintSettings___destroy___0")
declare function _emscripten_bind_PathConstraintSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_Create_2")
declare function _emscripten_bind_PathConstraintSettings_Create_2(self: usize, inBody1: usize, inBody2: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_GetRefCount_0")
declare function _emscripten_bind_PathConstraintSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_AddRef_0")
declare function _emscripten_bind_PathConstraintSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_Release_0")
declare function _emscripten_bind_PathConstraintSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_get_mPath_0")
declare function _emscripten_bind_PathConstraintSettings_get_mPath_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_get_mPathPosition_0")
declare function _emscripten_bind_PathConstraintSettings_get_mPathPosition_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_get_mPathRotation_0")
declare function _emscripten_bind_PathConstraintSettings_get_mPathRotation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_get_mPathFraction_0")
declare function _emscripten_bind_PathConstraintSettings_get_mPathFraction_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_get_mMaxFrictionForce_0")
declare function _emscripten_bind_PathConstraintSettings_get_mMaxFrictionForce_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_get_mRotationConstraintType_0")
declare function _emscripten_bind_PathConstraintSettings_get_mRotationConstraintType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_get_mPositionMotorSettings_0")
declare function _emscripten_bind_PathConstraintSettings_get_mPositionMotorSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_get_mEnabled_0")
declare function _emscripten_bind_PathConstraintSettings_get_mEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_get_mNumVelocityStepsOverride_0")
declare function _emscripten_bind_PathConstraintSettings_get_mNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_get_mNumPositionStepsOverride_0")
declare function _emscripten_bind_PathConstraintSettings_get_mNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_set_mPath_1")
declare function _emscripten_bind_PathConstraintSettings_set_mPath_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_set_mPathPosition_1")
declare function _emscripten_bind_PathConstraintSettings_set_mPathPosition_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_set_mPathRotation_1")
declare function _emscripten_bind_PathConstraintSettings_set_mPathRotation_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_set_mPathFraction_1")
declare function _emscripten_bind_PathConstraintSettings_set_mPathFraction_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_set_mMaxFrictionForce_1")
declare function _emscripten_bind_PathConstraintSettings_set_mMaxFrictionForce_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_set_mRotationConstraintType_1")
declare function _emscripten_bind_PathConstraintSettings_set_mRotationConstraintType_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_set_mPositionMotorSettings_1")
declare function _emscripten_bind_PathConstraintSettings_set_mPositionMotorSettings_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_set_mEnabled_1")
declare function _emscripten_bind_PathConstraintSettings_set_mEnabled_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_set_mNumVelocityStepsOverride_1")
declare function _emscripten_bind_PathConstraintSettings_set_mNumVelocityStepsOverride_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintSettings_set_mNumPositionStepsOverride_1")
declare function _emscripten_bind_PathConstraintSettings_set_mNumPositionStepsOverride_1(self: usize, value: usize): void;
@final
@unmanaged
export class PathConstraintSettings {
static new(): PathConstraintSettings {
return changetype<PathConstraintSettings>(_emscripten_bind_PathConstraintSettings_PathConstraintSettings_0());
}
__destroy__(): void {
_emscripten_bind_PathConstraintSettings___destroy___0(changetype<usize>(this));
}
Create(inBody1: Body, inBody2: Body): Constraint {
return changetype<Constraint>(_emscripten_bind_PathConstraintSettings_Create_2(changetype<usize>(this), changetype<usize>(inBody1), changetype<usize>(inBody2)));
}
GetRefCount(): i32 {
return _emscripten_bind_PathConstraintSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_PathConstraintSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_PathConstraintSettings_Release_0(changetype<usize>(this));
}
get mPath(): PathConstraintPath {
return changetype<PathConstraintPath>(_emscripten_bind_PathConstraintSettings_get_mPath_0(changetype<usize>(this)));
}
get mPathPosition(): Vec3 {
return changetype<Vec3>(_emscripten_bind_PathConstraintSettings_get_mPathPosition_0(changetype<usize>(this)));
}
get mPathRotation(): Quat {
return changetype<Quat>(_emscripten_bind_PathConstraintSettings_get_mPathRotation_0(changetype<usize>(this)));
}
get mPathFraction(): f32 {
return _emscripten_bind_PathConstraintSettings_get_mPathFraction_0(changetype<usize>(this));
}
get mMaxFrictionForce(): f32 {
return _emscripten_bind_PathConstraintSettings_get_mMaxFrictionForce_0(changetype<usize>(this));
}
get mRotationConstraintType(): EPathRotationConstraintType {
return changetype<EPathRotationConstraintType>(_emscripten_bind_PathConstraintSettings_get_mRotationConstraintType_0(changetype<usize>(this)));
}
get mPositionMotorSettings(): MotorSettings {
return changetype<MotorSettings>(_emscripten_bind_PathConstraintSettings_get_mPositionMotorSettings_0(changetype<usize>(this)));
}
get mEnabled(): bool {
return _emscripten_bind_PathConstraintSettings_get_mEnabled_0(changetype<usize>(this));
}
get mNumVelocityStepsOverride(): i32 {
return _emscripten_bind_PathConstraintSettings_get_mNumVelocityStepsOverride_0(changetype<usize>(this));
}
get mNumPositionStepsOverride(): i32 {
return _emscripten_bind_PathConstraintSettings_get_mNumPositionStepsOverride_0(changetype<usize>(this));
}
set mPath(value: PathConstraintPath) {
_emscripten_bind_PathConstraintSettings_set_mPath_1(changetype<usize>(this), changetype<usize>(value));
}
set mPathPosition(value: Vec3) {
_emscripten_bind_PathConstraintSettings_set_mPathPosition_1(changetype<usize>(this), changetype<usize>(value));
}
set mPathRotation(value: Quat) {
_emscripten_bind_PathConstraintSettings_set_mPathRotation_1(changetype<usize>(this), changetype<usize>(value));
}
set mPathFraction(value: f32) {
_emscripten_bind_PathConstraintSettings_set_mPathFraction_1(changetype<usize>(this), value);
}
set mMaxFrictionForce(value: f32) {
_emscripten_bind_PathConstraintSettings_set_mMaxFrictionForce_1(changetype<usize>(this), value);
}
set mRotationConstraintType(value: EPathRotationConstraintType) {
_emscripten_bind_PathConstraintSettings_set_mRotationConstraintType_1(changetype<usize>(this), changetype<usize>(value));
}
set mPositionMotorSettings(value: MotorSettings) {
_emscripten_bind_PathConstraintSettings_set_mPositionMotorSettings_1(changetype<usize>(this), changetype<usize>(value));
}
set mEnabled(value: bool) {
_emscripten_bind_PathConstraintSettings_set_mEnabled_1(changetype<usize>(this), value);
}
set mNumVelocityStepsOverride(value: i32) {
_emscripten_bind_PathConstraintSettings_set_mNumVelocityStepsOverride_1(changetype<usize>(this), value);
}
set mNumPositionStepsOverride(value: i32) {
_emscripten_bind_PathConstraintSettings_set_mNumPositionStepsOverride_1(changetype<usize>(this), value);
}
asTwoBodyConstraintSettings(): TwoBodyConstraintSettings {
return changetype<TwoBodyConstraintSettings>(this);
}
asConstraintSettings(): ConstraintSettings {
return changetype<ConstraintSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_PathConstraintPath___destroy___0")
declare function _emscripten_bind_PathConstraintPath___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintPath_IsLooping_0")
declare function _emscripten_bind_PathConstraintPath_IsLooping_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintPath_SetIsLooping_1")
declare function _emscripten_bind_PathConstraintPath_SetIsLooping_1(self: usize, inIsLooping: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintPath_GetRefCount_0")
declare function _emscripten_bind_PathConstraintPath_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintPath_AddRef_0")
declare function _emscripten_bind_PathConstraintPath_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintPath_Release_0")
declare function _emscripten_bind_PathConstraintPath_Release_0(self: usize): void;
@final
@unmanaged
export class PathConstraintPath {
__destroy__(): void {
_emscripten_bind_PathConstraintPath___destroy___0(changetype<usize>(this));
}
IsLooping(): bool {
return _emscripten_bind_PathConstraintPath_IsLooping_0(changetype<usize>(this));
}
SetIsLooping(inIsLooping: bool): void {
_emscripten_bind_PathConstraintPath_SetIsLooping_1(changetype<usize>(this), inIsLooping);
}
GetRefCount(): i32 {
return _emscripten_bind_PathConstraintPath_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_PathConstraintPath_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_PathConstraintPath_Release_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_PathConstraintPathHermite___destroy___0")
declare function _emscripten_bind_PathConstraintPathHermite___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintPathHermite_AddPoint_3")
declare function _emscripten_bind_PathConstraintPathHermite_AddPoint_3(self: usize, inPosition: usize, inTangent: usize, inNormal: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintPathHermite_IsLooping_0")
declare function _emscripten_bind_PathConstraintPathHermite_IsLooping_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintPathHermite_SetIsLooping_1")
declare function _emscripten_bind_PathConstraintPathHermite_SetIsLooping_1(self: usize, inIsLooping: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintPathHermite_GetRefCount_0")
declare function _emscripten_bind_PathConstraintPathHermite_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintPathHermite_AddRef_0")
declare function _emscripten_bind_PathConstraintPathHermite_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintPathHermite_Release_0")
declare function _emscripten_bind_PathConstraintPathHermite_Release_0(self: usize): void;
@final
@unmanaged
export class PathConstraintPathHermite {
__destroy__(): void {
_emscripten_bind_PathConstraintPathHermite___destroy___0(changetype<usize>(this));
}
AddPoint(inPosition: Vec3, inTangent: Vec3, inNormal: Vec3): void {
_emscripten_bind_PathConstraintPathHermite_AddPoint_3(changetype<usize>(this), changetype<usize>(inPosition), changetype<usize>(inTangent), changetype<usize>(inNormal));
}
IsLooping(): bool {
return _emscripten_bind_PathConstraintPathHermite_IsLooping_0(changetype<usize>(this));
}
SetIsLooping(inIsLooping: bool): void {
_emscripten_bind_PathConstraintPathHermite_SetIsLooping_1(changetype<usize>(this), inIsLooping);
}
GetRefCount(): i32 {
return _emscripten_bind_PathConstraintPathHermite_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_PathConstraintPathHermite_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_PathConstraintPathHermite_Release_0(changetype<usize>(this));
}
asPathConstraintPath(): PathConstraintPath {
return changetype<PathConstraintPath>(this);
}
}
@external("Jolt", "_emscripten_bind_PathConstraintPathEm___destroy___0")
declare function _emscripten_bind_PathConstraintPathEm___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintPathEm_IsLooping_0")
declare function _emscripten_bind_PathConstraintPathEm_IsLooping_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintPathEm_SetIsLooping_1")
declare function _emscripten_bind_PathConstraintPathEm_SetIsLooping_1(self: usize, inIsLooping: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintPathEm_GetRefCount_0")
declare function _emscripten_bind_PathConstraintPathEm_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraintPathEm_AddRef_0")
declare function _emscripten_bind_PathConstraintPathEm_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintPathEm_Release_0")
declare function _emscripten_bind_PathConstraintPathEm_Release_0(self: usize): void;
@final
@unmanaged
export class PathConstraintPathEm {
__destroy__(): void {
_emscripten_bind_PathConstraintPathEm___destroy___0(changetype<usize>(this));
}
IsLooping(): bool {
return _emscripten_bind_PathConstraintPathEm_IsLooping_0(changetype<usize>(this));
}
SetIsLooping(inIsLooping: bool): void {
_emscripten_bind_PathConstraintPathEm_SetIsLooping_1(changetype<usize>(this), inIsLooping);
}
GetRefCount(): i32 {
return _emscripten_bind_PathConstraintPathEm_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_PathConstraintPathEm_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_PathConstraintPathEm_Release_0(changetype<usize>(this));
}
asPathConstraintPath(): PathConstraintPath {
return changetype<PathConstraintPath>(this);
}
}
@external("Jolt", "_emscripten_bind_PathConstraintPathJS_PathConstraintPathJS_0")
declare function _emscripten_bind_PathConstraintPathJS_PathConstraintPathJS_0(): usize;
@external("Jolt", "_emscripten_bind_PathConstraintPathJS___destroy___0")
declare function _emscripten_bind_PathConstraintPathJS___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraintPathJS_GetPathMaxFraction_0")
declare function _emscripten_bind_PathConstraintPathJS_GetPathMaxFraction_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PathConstraintPathJS_GetClosestPoint_2")
declare function _emscripten_bind_PathConstraintPathJS_GetClosestPoint_2(self: usize, inPosition: usize, inFractionHint: f32): f32;
@external("Jolt", "_emscripten_bind_PathConstraintPathJS_GetPointOnPath_5")
declare function _emscripten_bind_PathConstraintPathJS_GetPointOnPath_5(self: usize, inFraction: f32, outPathPosition: usize, outPathTangent: usize, outPathNormal: usize, outPathBinormal: usize): void;
@final
@unmanaged
export class PathConstraintPathJS {
static new(): PathConstraintPathJS {
return changetype<PathConstraintPathJS>(_emscripten_bind_PathConstraintPathJS_PathConstraintPathJS_0());
}
__destroy__(): void {
_emscripten_bind_PathConstraintPathJS___destroy___0(changetype<usize>(this));
}
GetPathMaxFraction(): f32 {
return _emscripten_bind_PathConstraintPathJS_GetPathMaxFraction_0(changetype<usize>(this));
}
GetClosestPoint(inPosition: Vec3, inFractionHint: f32): f32 {
return _emscripten_bind_PathConstraintPathJS_GetClosestPoint_2(changetype<usize>(this), changetype<usize>(inPosition), inFractionHint);
}
GetPointOnPath(inFraction: f32, outPathPosition: Vec3, outPathTangent: Vec3, outPathNormal: Vec3, outPathBinormal: Vec3): void {
_emscripten_bind_PathConstraintPathJS_GetPointOnPath_5(changetype<usize>(this), inFraction, changetype<usize>(outPathPosition), changetype<usize>(outPathTangent), changetype<usize>(outPathNormal), changetype<usize>(outPathBinormal));
}
}
@external("Jolt", "_emscripten_bind_PathConstraint___destroy___0")
declare function _emscripten_bind_PathConstraint___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraint_SetPath_2")
declare function _emscripten_bind_PathConstraint_SetPath_2(self: usize, inPath: usize, inPathFraction: f32): void;
@external("Jolt", "_emscripten_bind_PathConstraint_GetPath_0")
declare function _emscripten_bind_PathConstraint_GetPath_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_GetPathFraction_0")
declare function _emscripten_bind_PathConstraint_GetPathFraction_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PathConstraint_SetMaxFrictionForce_1")
declare function _emscripten_bind_PathConstraint_SetMaxFrictionForce_1(self: usize, inFrictionForce: f32): void;
@external("Jolt", "_emscripten_bind_PathConstraint_GetMaxFrictionForce_0")
declare function _emscripten_bind_PathConstraint_GetMaxFrictionForce_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PathConstraint_GetPositionMotorSettings_0")
declare function _emscripten_bind_PathConstraint_GetPositionMotorSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_SetPositionMotorState_1")
declare function _emscripten_bind_PathConstraint_SetPositionMotorState_1(self: usize, inState: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraint_GetPositionMotorState_0")
declare function _emscripten_bind_PathConstraint_GetPositionMotorState_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_SetTargetVelocity_1")
declare function _emscripten_bind_PathConstraint_SetTargetVelocity_1(self: usize, inVelocity: f32): void;
@external("Jolt", "_emscripten_bind_PathConstraint_GetTargetVelocity_0")
declare function _emscripten_bind_PathConstraint_GetTargetVelocity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PathConstraint_SetTargetPathFraction_1")
declare function _emscripten_bind_PathConstraint_SetTargetPathFraction_1(self: usize, inFraction: f32): void;
@external("Jolt", "_emscripten_bind_PathConstraint_GetTargetPathFraction_0")
declare function _emscripten_bind_PathConstraint_GetTargetPathFraction_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PathConstraint_GetBody1_0")
declare function _emscripten_bind_PathConstraint_GetBody1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_GetBody2_0")
declare function _emscripten_bind_PathConstraint_GetBody2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_GetConstraintToBody1Matrix_0")
declare function _emscripten_bind_PathConstraint_GetConstraintToBody1Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_GetConstraintToBody2Matrix_0")
declare function _emscripten_bind_PathConstraint_GetConstraintToBody2Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_GetRefCount_0")
declare function _emscripten_bind_PathConstraint_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_AddRef_0")
declare function _emscripten_bind_PathConstraint_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraint_Release_0")
declare function _emscripten_bind_PathConstraint_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraint_GetType_0")
declare function _emscripten_bind_PathConstraint_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_GetSubType_0")
declare function _emscripten_bind_PathConstraint_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_GetConstraintPriority_0")
declare function _emscripten_bind_PathConstraint_GetConstraintPriority_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_SetConstraintPriority_1")
declare function _emscripten_bind_PathConstraint_SetConstraintPriority_1(self: usize, inPriority: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraint_SetNumVelocityStepsOverride_1")
declare function _emscripten_bind_PathConstraint_SetNumVelocityStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraint_GetNumVelocityStepsOverride_0")
declare function _emscripten_bind_PathConstraint_GetNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_SetNumPositionStepsOverride_1")
declare function _emscripten_bind_PathConstraint_SetNumPositionStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraint_GetNumPositionStepsOverride_0")
declare function _emscripten_bind_PathConstraint_GetNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_SetEnabled_1")
declare function _emscripten_bind_PathConstraint_SetEnabled_1(self: usize, inEnabled: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraint_GetEnabled_0")
declare function _emscripten_bind_PathConstraint_GetEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_IsActive_0")
declare function _emscripten_bind_PathConstraint_IsActive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_GetUserData_0")
declare function _emscripten_bind_PathConstraint_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PathConstraint_SetUserData_1")
declare function _emscripten_bind_PathConstraint_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraint_ResetWarmStart_0")
declare function _emscripten_bind_PathConstraint_ResetWarmStart_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraint_SaveState_1")
declare function _emscripten_bind_PathConstraint_SaveState_1(self: usize, inStream: usize): void;
@external("Jolt", "_emscripten_bind_PathConstraint_RestoreState_1")
declare function _emscripten_bind_PathConstraint_RestoreState_1(self: usize, inStream: usize): void;
@final
@unmanaged
export class PathConstraint {
__destroy__(): void {
_emscripten_bind_PathConstraint___destroy___0(changetype<usize>(this));
}
SetPath(inPath: PathConstraintPath, inPathFraction: f32): void {
_emscripten_bind_PathConstraint_SetPath_2(changetype<usize>(this), changetype<usize>(inPath), inPathFraction);
}
GetPath(): PathConstraintPath {
return changetype<PathConstraintPath>(_emscripten_bind_PathConstraint_GetPath_0(changetype<usize>(this)));
}
GetPathFraction(): f32 {
return _emscripten_bind_PathConstraint_GetPathFraction_0(changetype<usize>(this));
}
SetMaxFrictionForce(inFrictionForce: f32): void {
_emscripten_bind_PathConstraint_SetMaxFrictionForce_1(changetype<usize>(this), inFrictionForce);
}
GetMaxFrictionForce(): f32 {
return _emscripten_bind_PathConstraint_GetMaxFrictionForce_0(changetype<usize>(this));
}
GetPositionMotorSettings(): MotorSettings {
return changetype<MotorSettings>(_emscripten_bind_PathConstraint_GetPositionMotorSettings_0(changetype<usize>(this)));
}
SetPositionMotorState(inState: EMotorState): void {
_emscripten_bind_PathConstraint_SetPositionMotorState_1(changetype<usize>(this), changetype<usize>(inState));
}
GetPositionMotorState(): EMotorState {
return changetype<EMotorState>(_emscripten_bind_PathConstraint_GetPositionMotorState_0(changetype<usize>(this)));
}
SetTargetVelocity(inVelocity: f32): void {
_emscripten_bind_PathConstraint_SetTargetVelocity_1(changetype<usize>(this), inVelocity);
}
GetTargetVelocity(): f32 {
return _emscripten_bind_PathConstraint_GetTargetVelocity_0(changetype<usize>(this));
}
SetTargetPathFraction(inFraction: f32): void {
_emscripten_bind_PathConstraint_SetTargetPathFraction_1(changetype<usize>(this), inFraction);
}
GetTargetPathFraction(): f32 {
return _emscripten_bind_PathConstraint_GetTargetPathFraction_0(changetype<usize>(this));
}
GetBody1(): Body {
return changetype<Body>(_emscripten_bind_PathConstraint_GetBody1_0(changetype<usize>(this)));
}
GetBody2(): Body {
return changetype<Body>(_emscripten_bind_PathConstraint_GetBody2_0(changetype<usize>(this)));
}
GetConstraintToBody1Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_PathConstraint_GetConstraintToBody1Matrix_0(changetype<usize>(this)));
}
GetConstraintToBody2Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_PathConstraint_GetConstraintToBody2Matrix_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_PathConstraint_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_PathConstraint_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_PathConstraint_Release_0(changetype<usize>(this));
}
GetType(): EConstraintType {
return changetype<EConstraintType>(_emscripten_bind_PathConstraint_GetType_0(changetype<usize>(this)));
}
GetSubType(): EConstraintSubType {
return changetype<EConstraintSubType>(_emscripten_bind_PathConstraint_GetSubType_0(changetype<usize>(this)));
}
GetConstraintPriority(): i32 {
return _emscripten_bind_PathConstraint_GetConstraintPriority_0(changetype<usize>(this));
}
SetConstraintPriority(inPriority: i32): void {
_emscripten_bind_PathConstraint_SetConstraintPriority_1(changetype<usize>(this), inPriority);
}
SetNumVelocityStepsOverride(inN: i32): void {
_emscripten_bind_PathConstraint_SetNumVelocityStepsOverride_1(changetype<usize>(this), inN);
}
GetNumVelocityStepsOverride(): i32 {
return _emscripten_bind_PathConstraint_GetNumVelocityStepsOverride_0(changetype<usize>(this));
}
SetNumPositionStepsOverride(inN: i32): void {
_emscripten_bind_PathConstraint_SetNumPositionStepsOverride_1(changetype<usize>(this), inN);
}
GetNumPositionStepsOverride(): i32 {
return _emscripten_bind_PathConstraint_GetNumPositionStepsOverride_0(changetype<usize>(this));
}
SetEnabled(inEnabled: bool): void {
_emscripten_bind_PathConstraint_SetEnabled_1(changetype<usize>(this), inEnabled);
}
GetEnabled(): bool {
return _emscripten_bind_PathConstraint_GetEnabled_0(changetype<usize>(this));
}
IsActive(): bool {
return _emscripten_bind_PathConstraint_IsActive_0(changetype<usize>(this));
}
GetUserData(): i32 {
return _emscripten_bind_PathConstraint_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_PathConstraint_SetUserData_1(changetype<usize>(this), inUserData);
}
ResetWarmStart(): void {
_emscripten_bind_PathConstraint_ResetWarmStart_0(changetype<usize>(this));
}
SaveState(inStream: StateRecorder): void {
_emscripten_bind_PathConstraint_SaveState_1(changetype<usize>(this), changetype<usize>(inStream));
}
RestoreState(inStream: StateRecorder): void {
_emscripten_bind_PathConstraint_RestoreState_1(changetype<usize>(this), changetype<usize>(inStream));
}
asTwoBodyConstraint(): TwoBodyConstraint {
return changetype<TwoBodyConstraint>(this);
}
asConstraint(): Constraint {
return changetype<Constraint>(this);
}
}
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_PulleyConstraintSettings_0")
declare function _emscripten_bind_PulleyConstraintSettings_PulleyConstraintSettings_0(): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings___destroy___0")
declare function _emscripten_bind_PulleyConstraintSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_Create_2")
declare function _emscripten_bind_PulleyConstraintSettings_Create_2(self: usize, inBody1: usize, inBody2: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_GetRefCount_0")
declare function _emscripten_bind_PulleyConstraintSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_AddRef_0")
declare function _emscripten_bind_PulleyConstraintSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_Release_0")
declare function _emscripten_bind_PulleyConstraintSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_get_mSpace_0")
declare function _emscripten_bind_PulleyConstraintSettings_get_mSpace_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_get_mBodyPoint1_0")
declare function _emscripten_bind_PulleyConstraintSettings_get_mBodyPoint1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_get_mFixedPoint1_0")
declare function _emscripten_bind_PulleyConstraintSettings_get_mFixedPoint1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_get_mBodyPoint2_0")
declare function _emscripten_bind_PulleyConstraintSettings_get_mBodyPoint2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_get_mFixedPoint2_0")
declare function _emscripten_bind_PulleyConstraintSettings_get_mFixedPoint2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_get_mRatio_0")
declare function _emscripten_bind_PulleyConstraintSettings_get_mRatio_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_get_mMinLength_0")
declare function _emscripten_bind_PulleyConstraintSettings_get_mMinLength_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_get_mMaxLength_0")
declare function _emscripten_bind_PulleyConstraintSettings_get_mMaxLength_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_get_mEnabled_0")
declare function _emscripten_bind_PulleyConstraintSettings_get_mEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_get_mNumVelocityStepsOverride_0")
declare function _emscripten_bind_PulleyConstraintSettings_get_mNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_get_mNumPositionStepsOverride_0")
declare function _emscripten_bind_PulleyConstraintSettings_get_mNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_set_mSpace_1")
declare function _emscripten_bind_PulleyConstraintSettings_set_mSpace_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_set_mBodyPoint1_1")
declare function _emscripten_bind_PulleyConstraintSettings_set_mBodyPoint1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_set_mFixedPoint1_1")
declare function _emscripten_bind_PulleyConstraintSettings_set_mFixedPoint1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_set_mBodyPoint2_1")
declare function _emscripten_bind_PulleyConstraintSettings_set_mBodyPoint2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_set_mFixedPoint2_1")
declare function _emscripten_bind_PulleyConstraintSettings_set_mFixedPoint2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_set_mRatio_1")
declare function _emscripten_bind_PulleyConstraintSettings_set_mRatio_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_set_mMinLength_1")
declare function _emscripten_bind_PulleyConstraintSettings_set_mMinLength_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_set_mMaxLength_1")
declare function _emscripten_bind_PulleyConstraintSettings_set_mMaxLength_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_set_mEnabled_1")
declare function _emscripten_bind_PulleyConstraintSettings_set_mEnabled_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_set_mNumVelocityStepsOverride_1")
declare function _emscripten_bind_PulleyConstraintSettings_set_mNumVelocityStepsOverride_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraintSettings_set_mNumPositionStepsOverride_1")
declare function _emscripten_bind_PulleyConstraintSettings_set_mNumPositionStepsOverride_1(self: usize, value: usize): void;
@final
@unmanaged
export class PulleyConstraintSettings {
static new(): PulleyConstraintSettings {
return changetype<PulleyConstraintSettings>(_emscripten_bind_PulleyConstraintSettings_PulleyConstraintSettings_0());
}
__destroy__(): void {
_emscripten_bind_PulleyConstraintSettings___destroy___0(changetype<usize>(this));
}
Create(inBody1: Body, inBody2: Body): Constraint {
return changetype<Constraint>(_emscripten_bind_PulleyConstraintSettings_Create_2(changetype<usize>(this), changetype<usize>(inBody1), changetype<usize>(inBody2)));
}
GetRefCount(): i32 {
return _emscripten_bind_PulleyConstraintSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_PulleyConstraintSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_PulleyConstraintSettings_Release_0(changetype<usize>(this));
}
get mSpace(): EConstraintSpace {
return changetype<EConstraintSpace>(_emscripten_bind_PulleyConstraintSettings_get_mSpace_0(changetype<usize>(this)));
}
get mBodyPoint1(): RVec3 {
return changetype<RVec3>(_emscripten_bind_PulleyConstraintSettings_get_mBodyPoint1_0(changetype<usize>(this)));
}
get mFixedPoint1(): RVec3 {
return changetype<RVec3>(_emscripten_bind_PulleyConstraintSettings_get_mFixedPoint1_0(changetype<usize>(this)));
}
get mBodyPoint2(): RVec3 {
return changetype<RVec3>(_emscripten_bind_PulleyConstraintSettings_get_mBodyPoint2_0(changetype<usize>(this)));
}
get mFixedPoint2(): RVec3 {
return changetype<RVec3>(_emscripten_bind_PulleyConstraintSettings_get_mFixedPoint2_0(changetype<usize>(this)));
}
get mRatio(): f32 {
return _emscripten_bind_PulleyConstraintSettings_get_mRatio_0(changetype<usize>(this));
}
get mMinLength(): f32 {
return _emscripten_bind_PulleyConstraintSettings_get_mMinLength_0(changetype<usize>(this));
}
get mMaxLength(): f32 {
return _emscripten_bind_PulleyConstraintSettings_get_mMaxLength_0(changetype<usize>(this));
}
get mEnabled(): bool {
return _emscripten_bind_PulleyConstraintSettings_get_mEnabled_0(changetype<usize>(this));
}
get mNumVelocityStepsOverride(): i32 {
return _emscripten_bind_PulleyConstraintSettings_get_mNumVelocityStepsOverride_0(changetype<usize>(this));
}
get mNumPositionStepsOverride(): i32 {
return _emscripten_bind_PulleyConstraintSettings_get_mNumPositionStepsOverride_0(changetype<usize>(this));
}
set mSpace(value: EConstraintSpace) {
_emscripten_bind_PulleyConstraintSettings_set_mSpace_1(changetype<usize>(this), changetype<usize>(value));
}
set mBodyPoint1(value: RVec3) {
_emscripten_bind_PulleyConstraintSettings_set_mBodyPoint1_1(changetype<usize>(this), changetype<usize>(value));
}
set mFixedPoint1(value: RVec3) {
_emscripten_bind_PulleyConstraintSettings_set_mFixedPoint1_1(changetype<usize>(this), changetype<usize>(value));
}
set mBodyPoint2(value: RVec3) {
_emscripten_bind_PulleyConstraintSettings_set_mBodyPoint2_1(changetype<usize>(this), changetype<usize>(value));
}
set mFixedPoint2(value: RVec3) {
_emscripten_bind_PulleyConstraintSettings_set_mFixedPoint2_1(changetype<usize>(this), changetype<usize>(value));
}
set mRatio(value: f32) {
_emscripten_bind_PulleyConstraintSettings_set_mRatio_1(changetype<usize>(this), value);
}
set mMinLength(value: f32) {
_emscripten_bind_PulleyConstraintSettings_set_mMinLength_1(changetype<usize>(this), value);
}
set mMaxLength(value: f32) {
_emscripten_bind_PulleyConstraintSettings_set_mMaxLength_1(changetype<usize>(this), value);
}
set mEnabled(value: bool) {
_emscripten_bind_PulleyConstraintSettings_set_mEnabled_1(changetype<usize>(this), value);
}
set mNumVelocityStepsOverride(value: i32) {
_emscripten_bind_PulleyConstraintSettings_set_mNumVelocityStepsOverride_1(changetype<usize>(this), value);
}
set mNumPositionStepsOverride(value: i32) {
_emscripten_bind_PulleyConstraintSettings_set_mNumPositionStepsOverride_1(changetype<usize>(this), value);
}
asTwoBodyConstraintSettings(): TwoBodyConstraintSettings {
return changetype<TwoBodyConstraintSettings>(this);
}
asConstraintSettings(): ConstraintSettings {
return changetype<ConstraintSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_PulleyConstraint___destroy___0")
declare function _emscripten_bind_PulleyConstraint___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraint_SetLength_2")
declare function _emscripten_bind_PulleyConstraint_SetLength_2(self: usize, inMinLength: f32, inMaxLength: f32): void;
@external("Jolt", "_emscripten_bind_PulleyConstraint_GetMinLength_0")
declare function _emscripten_bind_PulleyConstraint_GetMinLength_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PulleyConstraint_GetMaxLength_0")
declare function _emscripten_bind_PulleyConstraint_GetMaxLength_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PulleyConstraint_GetCurrentLength_0")
declare function _emscripten_bind_PulleyConstraint_GetCurrentLength_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PulleyConstraint_GetBody1_0")
declare function _emscripten_bind_PulleyConstraint_GetBody1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraint_GetBody2_0")
declare function _emscripten_bind_PulleyConstraint_GetBody2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraint_GetConstraintToBody1Matrix_0")
declare function _emscripten_bind_PulleyConstraint_GetConstraintToBody1Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraint_GetConstraintToBody2Matrix_0")
declare function _emscripten_bind_PulleyConstraint_GetConstraintToBody2Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraint_GetRefCount_0")
declare function _emscripten_bind_PulleyConstraint_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraint_AddRef_0")
declare function _emscripten_bind_PulleyConstraint_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraint_Release_0")
declare function _emscripten_bind_PulleyConstraint_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraint_GetType_0")
declare function _emscripten_bind_PulleyConstraint_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraint_GetSubType_0")
declare function _emscripten_bind_PulleyConstraint_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraint_GetConstraintPriority_0")
declare function _emscripten_bind_PulleyConstraint_GetConstraintPriority_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraint_SetConstraintPriority_1")
declare function _emscripten_bind_PulleyConstraint_SetConstraintPriority_1(self: usize, inPriority: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraint_SetNumVelocityStepsOverride_1")
declare function _emscripten_bind_PulleyConstraint_SetNumVelocityStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraint_GetNumVelocityStepsOverride_0")
declare function _emscripten_bind_PulleyConstraint_GetNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraint_SetNumPositionStepsOverride_1")
declare function _emscripten_bind_PulleyConstraint_SetNumPositionStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraint_GetNumPositionStepsOverride_0")
declare function _emscripten_bind_PulleyConstraint_GetNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraint_SetEnabled_1")
declare function _emscripten_bind_PulleyConstraint_SetEnabled_1(self: usize, inEnabled: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraint_GetEnabled_0")
declare function _emscripten_bind_PulleyConstraint_GetEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraint_IsActive_0")
declare function _emscripten_bind_PulleyConstraint_IsActive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraint_GetUserData_0")
declare function _emscripten_bind_PulleyConstraint_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PulleyConstraint_SetUserData_1")
declare function _emscripten_bind_PulleyConstraint_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraint_ResetWarmStart_0")
declare function _emscripten_bind_PulleyConstraint_ResetWarmStart_0(self: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraint_SaveState_1")
declare function _emscripten_bind_PulleyConstraint_SaveState_1(self: usize, inStream: usize): void;
@external("Jolt", "_emscripten_bind_PulleyConstraint_RestoreState_1")
declare function _emscripten_bind_PulleyConstraint_RestoreState_1(self: usize, inStream: usize): void;
@final
@unmanaged
export class PulleyConstraint {
__destroy__(): void {
_emscripten_bind_PulleyConstraint___destroy___0(changetype<usize>(this));
}
SetLength(inMinLength: f32, inMaxLength: f32): void {
_emscripten_bind_PulleyConstraint_SetLength_2(changetype<usize>(this), inMinLength, inMaxLength);
}
GetMinLength(): f32 {
return _emscripten_bind_PulleyConstraint_GetMinLength_0(changetype<usize>(this));
}
GetMaxLength(): f32 {
return _emscripten_bind_PulleyConstraint_GetMaxLength_0(changetype<usize>(this));
}
GetCurrentLength(): f32 {
return _emscripten_bind_PulleyConstraint_GetCurrentLength_0(changetype<usize>(this));
}
GetBody1(): Body {
return changetype<Body>(_emscripten_bind_PulleyConstraint_GetBody1_0(changetype<usize>(this)));
}
GetBody2(): Body {
return changetype<Body>(_emscripten_bind_PulleyConstraint_GetBody2_0(changetype<usize>(this)));
}
GetConstraintToBody1Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_PulleyConstraint_GetConstraintToBody1Matrix_0(changetype<usize>(this)));
}
GetConstraintToBody2Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_PulleyConstraint_GetConstraintToBody2Matrix_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_PulleyConstraint_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_PulleyConstraint_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_PulleyConstraint_Release_0(changetype<usize>(this));
}
GetType(): EConstraintType {
return changetype<EConstraintType>(_emscripten_bind_PulleyConstraint_GetType_0(changetype<usize>(this)));
}
GetSubType(): EConstraintSubType {
return changetype<EConstraintSubType>(_emscripten_bind_PulleyConstraint_GetSubType_0(changetype<usize>(this)));
}
GetConstraintPriority(): i32 {
return _emscripten_bind_PulleyConstraint_GetConstraintPriority_0(changetype<usize>(this));
}
SetConstraintPriority(inPriority: i32): void {
_emscripten_bind_PulleyConstraint_SetConstraintPriority_1(changetype<usize>(this), inPriority);
}
SetNumVelocityStepsOverride(inN: i32): void {
_emscripten_bind_PulleyConstraint_SetNumVelocityStepsOverride_1(changetype<usize>(this), inN);
}
GetNumVelocityStepsOverride(): i32 {
return _emscripten_bind_PulleyConstraint_GetNumVelocityStepsOverride_0(changetype<usize>(this));
}
SetNumPositionStepsOverride(inN: i32): void {
_emscripten_bind_PulleyConstraint_SetNumPositionStepsOverride_1(changetype<usize>(this), inN);
}
GetNumPositionStepsOverride(): i32 {
return _emscripten_bind_PulleyConstraint_GetNumPositionStepsOverride_0(changetype<usize>(this));
}
SetEnabled(inEnabled: bool): void {
_emscripten_bind_PulleyConstraint_SetEnabled_1(changetype<usize>(this), inEnabled);
}
GetEnabled(): bool {
return _emscripten_bind_PulleyConstraint_GetEnabled_0(changetype<usize>(this));
}
IsActive(): bool {
return _emscripten_bind_PulleyConstraint_IsActive_0(changetype<usize>(this));
}
GetUserData(): i32 {
return _emscripten_bind_PulleyConstraint_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_PulleyConstraint_SetUserData_1(changetype<usize>(this), inUserData);
}
ResetWarmStart(): void {
_emscripten_bind_PulleyConstraint_ResetWarmStart_0(changetype<usize>(this));
}
SaveState(inStream: StateRecorder): void {
_emscripten_bind_PulleyConstraint_SaveState_1(changetype<usize>(this), changetype<usize>(inStream));
}
RestoreState(inStream: StateRecorder): void {
_emscripten_bind_PulleyConstraint_RestoreState_1(changetype<usize>(this), changetype<usize>(inStream));
}
asTwoBodyConstraint(): TwoBodyConstraint {
return changetype<TwoBodyConstraint>(this);
}
asConstraint(): Constraint {
return changetype<Constraint>(this);
}
}
@external("Jolt", "_emscripten_bind_GearConstraintSettings_GearConstraintSettings_0")
declare function _emscripten_bind_GearConstraintSettings_GearConstraintSettings_0(): usize;
@external("Jolt", "_emscripten_bind_GearConstraintSettings___destroy___0")
declare function _emscripten_bind_GearConstraintSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_SetRatio_2")
declare function _emscripten_bind_GearConstraintSettings_SetRatio_2(self: usize, inNumTeethGear1: usize, inNumTeethGear2: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_Create_2")
declare function _emscripten_bind_GearConstraintSettings_Create_2(self: usize, inBody1: usize, inBody2: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_GetRefCount_0")
declare function _emscripten_bind_GearConstraintSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_AddRef_0")
declare function _emscripten_bind_GearConstraintSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_Release_0")
declare function _emscripten_bind_GearConstraintSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_get_mSpace_0")
declare function _emscripten_bind_GearConstraintSettings_get_mSpace_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_get_mHingeAxis1_0")
declare function _emscripten_bind_GearConstraintSettings_get_mHingeAxis1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_get_mHingeAxis2_0")
declare function _emscripten_bind_GearConstraintSettings_get_mHingeAxis2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_get_mRatio_0")
declare function _emscripten_bind_GearConstraintSettings_get_mRatio_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_get_mEnabled_0")
declare function _emscripten_bind_GearConstraintSettings_get_mEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_get_mNumVelocityStepsOverride_0")
declare function _emscripten_bind_GearConstraintSettings_get_mNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_get_mNumPositionStepsOverride_0")
declare function _emscripten_bind_GearConstraintSettings_get_mNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_set_mSpace_1")
declare function _emscripten_bind_GearConstraintSettings_set_mSpace_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_set_mHingeAxis1_1")
declare function _emscripten_bind_GearConstraintSettings_set_mHingeAxis1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_set_mHingeAxis2_1")
declare function _emscripten_bind_GearConstraintSettings_set_mHingeAxis2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_set_mRatio_1")
declare function _emscripten_bind_GearConstraintSettings_set_mRatio_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_set_mEnabled_1")
declare function _emscripten_bind_GearConstraintSettings_set_mEnabled_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_set_mNumVelocityStepsOverride_1")
declare function _emscripten_bind_GearConstraintSettings_set_mNumVelocityStepsOverride_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraintSettings_set_mNumPositionStepsOverride_1")
declare function _emscripten_bind_GearConstraintSettings_set_mNumPositionStepsOverride_1(self: usize, value: usize): void;
@final
@unmanaged
export class GearConstraintSettings {
static new(): GearConstraintSettings {
return changetype<GearConstraintSettings>(_emscripten_bind_GearConstraintSettings_GearConstraintSettings_0());
}
__destroy__(): void {
_emscripten_bind_GearConstraintSettings___destroy___0(changetype<usize>(this));
}
SetRatio(inNumTeethGear1: i32, inNumTeethGear2: i32): void {
_emscripten_bind_GearConstraintSettings_SetRatio_2(changetype<usize>(this), inNumTeethGear1, inNumTeethGear2);
}
Create(inBody1: Body, inBody2: Body): Constraint {
return changetype<Constraint>(_emscripten_bind_GearConstraintSettings_Create_2(changetype<usize>(this), changetype<usize>(inBody1), changetype<usize>(inBody2)));
}
GetRefCount(): i32 {
return _emscripten_bind_GearConstraintSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_GearConstraintSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_GearConstraintSettings_Release_0(changetype<usize>(this));
}
get mSpace(): EConstraintSpace {
return changetype<EConstraintSpace>(_emscripten_bind_GearConstraintSettings_get_mSpace_0(changetype<usize>(this)));
}
get mHingeAxis1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_GearConstraintSettings_get_mHingeAxis1_0(changetype<usize>(this)));
}
get mHingeAxis2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_GearConstraintSettings_get_mHingeAxis2_0(changetype<usize>(this)));
}
get mRatio(): f32 {
return _emscripten_bind_GearConstraintSettings_get_mRatio_0(changetype<usize>(this));
}
get mEnabled(): bool {
return _emscripten_bind_GearConstraintSettings_get_mEnabled_0(changetype<usize>(this));
}
get mNumVelocityStepsOverride(): i32 {
return _emscripten_bind_GearConstraintSettings_get_mNumVelocityStepsOverride_0(changetype<usize>(this));
}
get mNumPositionStepsOverride(): i32 {
return _emscripten_bind_GearConstraintSettings_get_mNumPositionStepsOverride_0(changetype<usize>(this));
}
set mSpace(value: EConstraintSpace) {
_emscripten_bind_GearConstraintSettings_set_mSpace_1(changetype<usize>(this), changetype<usize>(value));
}
set mHingeAxis1(value: Vec3) {
_emscripten_bind_GearConstraintSettings_set_mHingeAxis1_1(changetype<usize>(this), changetype<usize>(value));
}
set mHingeAxis2(value: Vec3) {
_emscripten_bind_GearConstraintSettings_set_mHingeAxis2_1(changetype<usize>(this), changetype<usize>(value));
}
set mRatio(value: f32) {
_emscripten_bind_GearConstraintSettings_set_mRatio_1(changetype<usize>(this), value);
}
set mEnabled(value: bool) {
_emscripten_bind_GearConstraintSettings_set_mEnabled_1(changetype<usize>(this), value);
}
set mNumVelocityStepsOverride(value: i32) {
_emscripten_bind_GearConstraintSettings_set_mNumVelocityStepsOverride_1(changetype<usize>(this), value);
}
set mNumPositionStepsOverride(value: i32) {
_emscripten_bind_GearConstraintSettings_set_mNumPositionStepsOverride_1(changetype<usize>(this), value);
}
asTwoBodyConstraintSettings(): TwoBodyConstraintSettings {
return changetype<TwoBodyConstraintSettings>(this);
}
asConstraintSettings(): ConstraintSettings {
return changetype<ConstraintSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_GearConstraint___destroy___0")
declare function _emscripten_bind_GearConstraint___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraint_SetConstraints_2")
declare function _emscripten_bind_GearConstraint_SetConstraints_2(self: usize, inGear1: usize, inGear2: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraint_GetTotalLambda_0")
declare function _emscripten_bind_GearConstraint_GetTotalLambda_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_GearConstraint_GetBody1_0")
declare function _emscripten_bind_GearConstraint_GetBody1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraint_GetBody2_0")
declare function _emscripten_bind_GearConstraint_GetBody2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraint_GetConstraintToBody1Matrix_0")
declare function _emscripten_bind_GearConstraint_GetConstraintToBody1Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraint_GetConstraintToBody2Matrix_0")
declare function _emscripten_bind_GearConstraint_GetConstraintToBody2Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraint_GetRefCount_0")
declare function _emscripten_bind_GearConstraint_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraint_AddRef_0")
declare function _emscripten_bind_GearConstraint_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraint_Release_0")
declare function _emscripten_bind_GearConstraint_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraint_GetType_0")
declare function _emscripten_bind_GearConstraint_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraint_GetSubType_0")
declare function _emscripten_bind_GearConstraint_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraint_GetConstraintPriority_0")
declare function _emscripten_bind_GearConstraint_GetConstraintPriority_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraint_SetConstraintPriority_1")
declare function _emscripten_bind_GearConstraint_SetConstraintPriority_1(self: usize, inPriority: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraint_SetNumVelocityStepsOverride_1")
declare function _emscripten_bind_GearConstraint_SetNumVelocityStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraint_GetNumVelocityStepsOverride_0")
declare function _emscripten_bind_GearConstraint_GetNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraint_SetNumPositionStepsOverride_1")
declare function _emscripten_bind_GearConstraint_SetNumPositionStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraint_GetNumPositionStepsOverride_0")
declare function _emscripten_bind_GearConstraint_GetNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraint_SetEnabled_1")
declare function _emscripten_bind_GearConstraint_SetEnabled_1(self: usize, inEnabled: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraint_GetEnabled_0")
declare function _emscripten_bind_GearConstraint_GetEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraint_IsActive_0")
declare function _emscripten_bind_GearConstraint_IsActive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraint_GetUserData_0")
declare function _emscripten_bind_GearConstraint_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GearConstraint_SetUserData_1")
declare function _emscripten_bind_GearConstraint_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraint_ResetWarmStart_0")
declare function _emscripten_bind_GearConstraint_ResetWarmStart_0(self: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraint_SaveState_1")
declare function _emscripten_bind_GearConstraint_SaveState_1(self: usize, inStream: usize): void;
@external("Jolt", "_emscripten_bind_GearConstraint_RestoreState_1")
declare function _emscripten_bind_GearConstraint_RestoreState_1(self: usize, inStream: usize): void;
@final
@unmanaged
export class GearConstraint {
__destroy__(): void {
_emscripten_bind_GearConstraint___destroy___0(changetype<usize>(this));
}
SetConstraints(inGear1: Constraint, inGear2: Constraint): void {
_emscripten_bind_GearConstraint_SetConstraints_2(changetype<usize>(this), changetype<usize>(inGear1), changetype<usize>(inGear2));
}
GetTotalLambda(): f32 {
return _emscripten_bind_GearConstraint_GetTotalLambda_0(changetype<usize>(this));
}
GetBody1(): Body {
return changetype<Body>(_emscripten_bind_GearConstraint_GetBody1_0(changetype<usize>(this)));
}
GetBody2(): Body {
return changetype<Body>(_emscripten_bind_GearConstraint_GetBody2_0(changetype<usize>(this)));
}
GetConstraintToBody1Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_GearConstraint_GetConstraintToBody1Matrix_0(changetype<usize>(this)));
}
GetConstraintToBody2Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_GearConstraint_GetConstraintToBody2Matrix_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_GearConstraint_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_GearConstraint_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_GearConstraint_Release_0(changetype<usize>(this));
}
GetType(): EConstraintType {
return changetype<EConstraintType>(_emscripten_bind_GearConstraint_GetType_0(changetype<usize>(this)));
}
GetSubType(): EConstraintSubType {
return changetype<EConstraintSubType>(_emscripten_bind_GearConstraint_GetSubType_0(changetype<usize>(this)));
}
GetConstraintPriority(): i32 {
return _emscripten_bind_GearConstraint_GetConstraintPriority_0(changetype<usize>(this));
}
SetConstraintPriority(inPriority: i32): void {
_emscripten_bind_GearConstraint_SetConstraintPriority_1(changetype<usize>(this), inPriority);
}
SetNumVelocityStepsOverride(inN: i32): void {
_emscripten_bind_GearConstraint_SetNumVelocityStepsOverride_1(changetype<usize>(this), inN);
}
GetNumVelocityStepsOverride(): i32 {
return _emscripten_bind_GearConstraint_GetNumVelocityStepsOverride_0(changetype<usize>(this));
}
SetNumPositionStepsOverride(inN: i32): void {
_emscripten_bind_GearConstraint_SetNumPositionStepsOverride_1(changetype<usize>(this), inN);
}
GetNumPositionStepsOverride(): i32 {
return _emscripten_bind_GearConstraint_GetNumPositionStepsOverride_0(changetype<usize>(this));
}
SetEnabled(inEnabled: bool): void {
_emscripten_bind_GearConstraint_SetEnabled_1(changetype<usize>(this), inEnabled);
}
GetEnabled(): bool {
return _emscripten_bind_GearConstraint_GetEnabled_0(changetype<usize>(this));
}
IsActive(): bool {
return _emscripten_bind_GearConstraint_IsActive_0(changetype<usize>(this));
}
GetUserData(): i32 {
return _emscripten_bind_GearConstraint_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_GearConstraint_SetUserData_1(changetype<usize>(this), inUserData);
}
ResetWarmStart(): void {
_emscripten_bind_GearConstraint_ResetWarmStart_0(changetype<usize>(this));
}
SaveState(inStream: StateRecorder): void {
_emscripten_bind_GearConstraint_SaveState_1(changetype<usize>(this), changetype<usize>(inStream));
}
RestoreState(inStream: StateRecorder): void {
_emscripten_bind_GearConstraint_RestoreState_1(changetype<usize>(this), changetype<usize>(inStream));
}
asTwoBodyConstraint(): TwoBodyConstraint {
return changetype<TwoBodyConstraint>(this);
}
asConstraint(): Constraint {
return changetype<Constraint>(this);
}
}
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_RackAndPinionConstraintSettings_0")
declare function _emscripten_bind_RackAndPinionConstraintSettings_RackAndPinionConstraintSettings_0(): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings___destroy___0")
declare function _emscripten_bind_RackAndPinionConstraintSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_SetRatio_3")
declare function _emscripten_bind_RackAndPinionConstraintSettings_SetRatio_3(self: usize, inNumTeethRack: usize, inRackLength: f32, inNumTeethPinion: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_Create_2")
declare function _emscripten_bind_RackAndPinionConstraintSettings_Create_2(self: usize, inBody1: usize, inBody2: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_GetRefCount_0")
declare function _emscripten_bind_RackAndPinionConstraintSettings_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_AddRef_0")
declare function _emscripten_bind_RackAndPinionConstraintSettings_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_Release_0")
declare function _emscripten_bind_RackAndPinionConstraintSettings_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_get_mSpace_0")
declare function _emscripten_bind_RackAndPinionConstraintSettings_get_mSpace_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_get_mHingeAxis_0")
declare function _emscripten_bind_RackAndPinionConstraintSettings_get_mHingeAxis_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_get_mSliderAxis_0")
declare function _emscripten_bind_RackAndPinionConstraintSettings_get_mSliderAxis_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_get_mRatio_0")
declare function _emscripten_bind_RackAndPinionConstraintSettings_get_mRatio_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_get_mEnabled_0")
declare function _emscripten_bind_RackAndPinionConstraintSettings_get_mEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_get_mNumVelocityStepsOverride_0")
declare function _emscripten_bind_RackAndPinionConstraintSettings_get_mNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_get_mNumPositionStepsOverride_0")
declare function _emscripten_bind_RackAndPinionConstraintSettings_get_mNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_set_mSpace_1")
declare function _emscripten_bind_RackAndPinionConstraintSettings_set_mSpace_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_set_mHingeAxis_1")
declare function _emscripten_bind_RackAndPinionConstraintSettings_set_mHingeAxis_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_set_mSliderAxis_1")
declare function _emscripten_bind_RackAndPinionConstraintSettings_set_mSliderAxis_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_set_mRatio_1")
declare function _emscripten_bind_RackAndPinionConstraintSettings_set_mRatio_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_set_mEnabled_1")
declare function _emscripten_bind_RackAndPinionConstraintSettings_set_mEnabled_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_set_mNumVelocityStepsOverride_1")
declare function _emscripten_bind_RackAndPinionConstraintSettings_set_mNumVelocityStepsOverride_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraintSettings_set_mNumPositionStepsOverride_1")
declare function _emscripten_bind_RackAndPinionConstraintSettings_set_mNumPositionStepsOverride_1(self: usize, value: usize): void;
@final
@unmanaged
export class RackAndPinionConstraintSettings {
static new(): RackAndPinionConstraintSettings {
return changetype<RackAndPinionConstraintSettings>(_emscripten_bind_RackAndPinionConstraintSettings_RackAndPinionConstraintSettings_0());
}
__destroy__(): void {
_emscripten_bind_RackAndPinionConstraintSettings___destroy___0(changetype<usize>(this));
}
SetRatio(inNumTeethRack: i32, inRackLength: f32, inNumTeethPinion: i32): void {
_emscripten_bind_RackAndPinionConstraintSettings_SetRatio_3(changetype<usize>(this), inNumTeethRack, inRackLength, inNumTeethPinion);
}
Create(inBody1: Body, inBody2: Body): Constraint {
return changetype<Constraint>(_emscripten_bind_RackAndPinionConstraintSettings_Create_2(changetype<usize>(this), changetype<usize>(inBody1), changetype<usize>(inBody2)));
}
GetRefCount(): i32 {
return _emscripten_bind_RackAndPinionConstraintSettings_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_RackAndPinionConstraintSettings_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_RackAndPinionConstraintSettings_Release_0(changetype<usize>(this));
}
get mSpace(): EConstraintSpace {
return changetype<EConstraintSpace>(_emscripten_bind_RackAndPinionConstraintSettings_get_mSpace_0(changetype<usize>(this)));
}
get mHingeAxis(): Vec3 {
return changetype<Vec3>(_emscripten_bind_RackAndPinionConstraintSettings_get_mHingeAxis_0(changetype<usize>(this)));
}
get mSliderAxis(): Vec3 {
return changetype<Vec3>(_emscripten_bind_RackAndPinionConstraintSettings_get_mSliderAxis_0(changetype<usize>(this)));
}
get mRatio(): f32 {
return _emscripten_bind_RackAndPinionConstraintSettings_get_mRatio_0(changetype<usize>(this));
}
get mEnabled(): bool {
return _emscripten_bind_RackAndPinionConstraintSettings_get_mEnabled_0(changetype<usize>(this));
}
get mNumVelocityStepsOverride(): i32 {
return _emscripten_bind_RackAndPinionConstraintSettings_get_mNumVelocityStepsOverride_0(changetype<usize>(this));
}
get mNumPositionStepsOverride(): i32 {
return _emscripten_bind_RackAndPinionConstraintSettings_get_mNumPositionStepsOverride_0(changetype<usize>(this));
}
set mSpace(value: EConstraintSpace) {
_emscripten_bind_RackAndPinionConstraintSettings_set_mSpace_1(changetype<usize>(this), changetype<usize>(value));
}
set mHingeAxis(value: Vec3) {
_emscripten_bind_RackAndPinionConstraintSettings_set_mHingeAxis_1(changetype<usize>(this), changetype<usize>(value));
}
set mSliderAxis(value: Vec3) {
_emscripten_bind_RackAndPinionConstraintSettings_set_mSliderAxis_1(changetype<usize>(this), changetype<usize>(value));
}
set mRatio(value: f32) {
_emscripten_bind_RackAndPinionConstraintSettings_set_mRatio_1(changetype<usize>(this), value);
}
set mEnabled(value: bool) {
_emscripten_bind_RackAndPinionConstraintSettings_set_mEnabled_1(changetype<usize>(this), value);
}
set mNumVelocityStepsOverride(value: i32) {
_emscripten_bind_RackAndPinionConstraintSettings_set_mNumVelocityStepsOverride_1(changetype<usize>(this), value);
}
set mNumPositionStepsOverride(value: i32) {
_emscripten_bind_RackAndPinionConstraintSettings_set_mNumPositionStepsOverride_1(changetype<usize>(this), value);
}
asTwoBodyConstraintSettings(): TwoBodyConstraintSettings {
return changetype<TwoBodyConstraintSettings>(this);
}
asConstraintSettings(): ConstraintSettings {
return changetype<ConstraintSettings>(this);
}
}
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint___destroy___0")
declare function _emscripten_bind_RackAndPinionConstraint___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_SetConstraints_2")
declare function _emscripten_bind_RackAndPinionConstraint_SetConstraints_2(self: usize, inPinion: usize, inRack: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_GetTotalLambda_0")
declare function _emscripten_bind_RackAndPinionConstraint_GetTotalLambda_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_GetBody1_0")
declare function _emscripten_bind_RackAndPinionConstraint_GetBody1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_GetBody2_0")
declare function _emscripten_bind_RackAndPinionConstraint_GetBody2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_GetConstraintToBody1Matrix_0")
declare function _emscripten_bind_RackAndPinionConstraint_GetConstraintToBody1Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_GetConstraintToBody2Matrix_0")
declare function _emscripten_bind_RackAndPinionConstraint_GetConstraintToBody2Matrix_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_GetRefCount_0")
declare function _emscripten_bind_RackAndPinionConstraint_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_AddRef_0")
declare function _emscripten_bind_RackAndPinionConstraint_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_Release_0")
declare function _emscripten_bind_RackAndPinionConstraint_Release_0(self: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_GetType_0")
declare function _emscripten_bind_RackAndPinionConstraint_GetType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_GetSubType_0")
declare function _emscripten_bind_RackAndPinionConstraint_GetSubType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_GetConstraintPriority_0")
declare function _emscripten_bind_RackAndPinionConstraint_GetConstraintPriority_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_SetConstraintPriority_1")
declare function _emscripten_bind_RackAndPinionConstraint_SetConstraintPriority_1(self: usize, inPriority: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_SetNumVelocityStepsOverride_1")
declare function _emscripten_bind_RackAndPinionConstraint_SetNumVelocityStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_GetNumVelocityStepsOverride_0")
declare function _emscripten_bind_RackAndPinionConstraint_GetNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_SetNumPositionStepsOverride_1")
declare function _emscripten_bind_RackAndPinionConstraint_SetNumPositionStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_GetNumPositionStepsOverride_0")
declare function _emscripten_bind_RackAndPinionConstraint_GetNumPositionStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_SetEnabled_1")
declare function _emscripten_bind_RackAndPinionConstraint_SetEnabled_1(self: usize, inEnabled: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_GetEnabled_0")
declare function _emscripten_bind_RackAndPinionConstraint_GetEnabled_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_IsActive_0")
declare function _emscripten_bind_RackAndPinionConstraint_IsActive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_GetUserData_0")
declare function _emscripten_bind_RackAndPinionConstraint_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_SetUserData_1")
declare function _emscripten_bind_RackAndPinionConstraint_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_ResetWarmStart_0")
declare function _emscripten_bind_RackAndPinionConstraint_ResetWarmStart_0(self: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_SaveState_1")
declare function _emscripten_bind_RackAndPinionConstraint_SaveState_1(self: usize, inStream: usize): void;
@external("Jolt", "_emscripten_bind_RackAndPinionConstraint_RestoreState_1")
declare function _emscripten_bind_RackAndPinionConstraint_RestoreState_1(self: usize, inStream: usize): void;
@final
@unmanaged
export class RackAndPinionConstraint {
__destroy__(): void {
_emscripten_bind_RackAndPinionConstraint___destroy___0(changetype<usize>(this));
}
SetConstraints(inPinion: Constraint, inRack: Constraint): void {
_emscripten_bind_RackAndPinionConstraint_SetConstraints_2(changetype<usize>(this), changetype<usize>(inPinion), changetype<usize>(inRack));
}
GetTotalLambda(): f32 {
return _emscripten_bind_RackAndPinionConstraint_GetTotalLambda_0(changetype<usize>(this));
}
GetBody1(): Body {
return changetype<Body>(_emscripten_bind_RackAndPinionConstraint_GetBody1_0(changetype<usize>(this)));
}
GetBody2(): Body {
return changetype<Body>(_emscripten_bind_RackAndPinionConstraint_GetBody2_0(changetype<usize>(this)));
}
GetConstraintToBody1Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_RackAndPinionConstraint_GetConstraintToBody1Matrix_0(changetype<usize>(this)));
}
GetConstraintToBody2Matrix(): Mat44 {
return changetype<Mat44>(_emscripten_bind_RackAndPinionConstraint_GetConstraintToBody2Matrix_0(changetype<usize>(this)));
}
GetRefCount(): i32 {
return _emscripten_bind_RackAndPinionConstraint_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_RackAndPinionConstraint_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_RackAndPinionConstraint_Release_0(changetype<usize>(this));
}
GetType(): EConstraintType {
return changetype<EConstraintType>(_emscripten_bind_RackAndPinionConstraint_GetType_0(changetype<usize>(this)));
}
GetSubType(): EConstraintSubType {
return changetype<EConstraintSubType>(_emscripten_bind_RackAndPinionConstraint_GetSubType_0(changetype<usize>(this)));
}
GetConstraintPriority(): i32 {
return _emscripten_bind_RackAndPinionConstraint_GetConstraintPriority_0(changetype<usize>(this));
}
SetConstraintPriority(inPriority: i32): void {
_emscripten_bind_RackAndPinionConstraint_SetConstraintPriority_1(changetype<usize>(this), inPriority);
}
SetNumVelocityStepsOverride(inN: i32): void {
_emscripten_bind_RackAndPinionConstraint_SetNumVelocityStepsOverride_1(changetype<usize>(this), inN);
}
GetNumVelocityStepsOverride(): i32 {
return _emscripten_bind_RackAndPinionConstraint_GetNumVelocityStepsOverride_0(changetype<usize>(this));
}
SetNumPositionStepsOverride(inN: i32): void {
_emscripten_bind_RackAndPinionConstraint_SetNumPositionStepsOverride_1(changetype<usize>(this), inN);
}
GetNumPositionStepsOverride(): i32 {
return _emscripten_bind_RackAndPinionConstraint_GetNumPositionStepsOverride_0(changetype<usize>(this));
}
SetEnabled(inEnabled: bool): void {
_emscripten_bind_RackAndPinionConstraint_SetEnabled_1(changetype<usize>(this), inEnabled);
}
GetEnabled(): bool {
return _emscripten_bind_RackAndPinionConstraint_GetEnabled_0(changetype<usize>(this));
}
IsActive(): bool {
return _emscripten_bind_RackAndPinionConstraint_IsActive_0(changetype<usize>(this));
}
GetUserData(): i32 {
return _emscripten_bind_RackAndPinionConstraint_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_RackAndPinionConstraint_SetUserData_1(changetype<usize>(this), inUserData);
}
ResetWarmStart(): void {
_emscripten_bind_RackAndPinionConstraint_ResetWarmStart_0(changetype<usize>(this));
}
SaveState(inStream: StateRecorder): void {
_emscripten_bind_RackAndPinionConstraint_SaveState_1(changetype<usize>(this), changetype<usize>(inStream));
}
RestoreState(inStream: StateRecorder): void {
_emscripten_bind_RackAndPinionConstraint_RestoreState_1(changetype<usize>(this), changetype<usize>(inStream));
}
asTwoBodyConstraint(): TwoBodyConstraint {
return changetype<TwoBodyConstraint>(this);
}
asConstraint(): Constraint {
return changetype<Constraint>(this);
}
}
@external("Jolt", "_emscripten_bind_BodyID_BodyID_0")
declare function _emscripten_bind_BodyID_BodyID_0(): usize;
@external("Jolt", "_emscripten_bind_BodyID_BodyID_1")
declare function _emscripten_bind_BodyID_BodyID_1(inIndexAndSequenceNumber: usize): usize;
@external("Jolt", "_emscripten_bind_BodyID___destroy___0")
declare function _emscripten_bind_BodyID___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_BodyID_GetIndex_0")
declare function _emscripten_bind_BodyID_GetIndex_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_BodyID_GetIndexAndSequenceNumber_0")
declare function _emscripten_bind_BodyID_GetIndexAndSequenceNumber_0(self: usize): usize;
@final
@unmanaged
export class BodyID {
static new0(): BodyID {
return changetype<BodyID>(_emscripten_bind_BodyID_BodyID_0());
}
static new1(inIndexAndSequenceNumber: i32): BodyID {
return changetype<BodyID>(_emscripten_bind_BodyID_BodyID_1(inIndexAndSequenceNumber));
}
__destroy__(): void {
_emscripten_bind_BodyID___destroy___0(changetype<usize>(this));
}
GetIndex(): i32 {
return _emscripten_bind_BodyID_GetIndex_0(changetype<usize>(this));
}
GetIndexAndSequenceNumber(): i32 {
return _emscripten_bind_BodyID_GetIndexAndSequenceNumber_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_SubShapeID_SubShapeID_0")
declare function _emscripten_bind_SubShapeID_SubShapeID_0(): usize;
@external("Jolt", "_emscripten_bind_SubShapeID___destroy___0")
declare function _emscripten_bind_SubShapeID___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_SubShapeID_GetValue_0")
declare function _emscripten_bind_SubShapeID_GetValue_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_SubShapeID_SetValue_1")
declare function _emscripten_bind_SubShapeID_SetValue_1(self: usize, inValue: usize): void;
@final
@unmanaged
export class SubShapeID {
static new(): SubShapeID {
return changetype<SubShapeID>(_emscripten_bind_SubShapeID_SubShapeID_0());
}
__destroy__(): void {
_emscripten_bind_SubShapeID___destroy___0(changetype<usize>(this));
}
GetValue(): i32 {
return _emscripten_bind_SubShapeID_GetValue_0(changetype<usize>(this));
}
SetValue(inValue: i32): void {
_emscripten_bind_SubShapeID_SetValue_1(changetype<usize>(this), inValue);
}
}
@external("Jolt", "_emscripten_bind_MotionProperties___destroy___0")
declare function _emscripten_bind_MotionProperties___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_MotionProperties_GetMotionQuality_0")
declare function _emscripten_bind_MotionProperties_GetMotionQuality_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_GetAllowedDOFs_0")
declare function _emscripten_bind_MotionProperties_GetAllowedDOFs_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_GetAllowSleeping_0")
declare function _emscripten_bind_MotionProperties_GetAllowSleeping_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_GetLinearVelocity_0")
declare function _emscripten_bind_MotionProperties_GetLinearVelocity_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_SetLinearVelocity_1")
declare function _emscripten_bind_MotionProperties_SetLinearVelocity_1(self: usize, inVelocity: usize): void;
@external("Jolt", "_emscripten_bind_MotionProperties_SetLinearVelocityClamped_1")
declare function _emscripten_bind_MotionProperties_SetLinearVelocityClamped_1(self: usize, inVelocity: usize): void;
@external("Jolt", "_emscripten_bind_MotionProperties_GetAngularVelocity_0")
declare function _emscripten_bind_MotionProperties_GetAngularVelocity_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_SetAngularVelocity_1")
declare function _emscripten_bind_MotionProperties_SetAngularVelocity_1(self: usize, inVelocity: usize): void;
@external("Jolt", "_emscripten_bind_MotionProperties_SetAngularVelocityClamped_1")
declare function _emscripten_bind_MotionProperties_SetAngularVelocityClamped_1(self: usize, inVelocity: usize): void;
@external("Jolt", "_emscripten_bind_MotionProperties_MoveKinematic_3")
declare function _emscripten_bind_MotionProperties_MoveKinematic_3(self: usize, inPosition: usize, inRotation: usize, inDeltaTime: f32): void;
@external("Jolt", "_emscripten_bind_MotionProperties_GetMaxLinearVelocity_0")
declare function _emscripten_bind_MotionProperties_GetMaxLinearVelocity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MotionProperties_SetMaxLinearVelocity_1")
declare function _emscripten_bind_MotionProperties_SetMaxLinearVelocity_1(self: usize, inVelocity: f32): void;
@external("Jolt", "_emscripten_bind_MotionProperties_GetMaxAngularVelocity_0")
declare function _emscripten_bind_MotionProperties_GetMaxAngularVelocity_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MotionProperties_SetMaxAngularVelocity_1")
declare function _emscripten_bind_MotionProperties_SetMaxAngularVelocity_1(self: usize, inVelocity: f32): void;
@external("Jolt", "_emscripten_bind_MotionProperties_ClampLinearVelocity_0")
declare function _emscripten_bind_MotionProperties_ClampLinearVelocity_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MotionProperties_ClampAngularVelocity_0")
declare function _emscripten_bind_MotionProperties_ClampAngularVelocity_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MotionProperties_GetLinearDamping_0")
declare function _emscripten_bind_MotionProperties_GetLinearDamping_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MotionProperties_SetLinearDamping_1")
declare function _emscripten_bind_MotionProperties_SetLinearDamping_1(self: usize, inDamping: f32): void;
@external("Jolt", "_emscripten_bind_MotionProperties_GetAngularDamping_0")
declare function _emscripten_bind_MotionProperties_GetAngularDamping_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MotionProperties_SetAngularDamping_1")
declare function _emscripten_bind_MotionProperties_SetAngularDamping_1(self: usize, inDamping: f32): void;
@external("Jolt", "_emscripten_bind_MotionProperties_GetGravityFactor_0")
declare function _emscripten_bind_MotionProperties_GetGravityFactor_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MotionProperties_SetGravityFactor_1")
declare function _emscripten_bind_MotionProperties_SetGravityFactor_1(self: usize, inFactor: f32): void;
@external("Jolt", "_emscripten_bind_MotionProperties_SetMassProperties_2")
declare function _emscripten_bind_MotionProperties_SetMassProperties_2(self: usize, inAllowedDOFs: usize, inMassProperties: usize): void;
@external("Jolt", "_emscripten_bind_MotionProperties_GetInverseMass_0")
declare function _emscripten_bind_MotionProperties_GetInverseMass_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MotionProperties_GetInverseMassUnchecked_0")
declare function _emscripten_bind_MotionProperties_GetInverseMassUnchecked_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_MotionProperties_SetInverseMass_1")
declare function _emscripten_bind_MotionProperties_SetInverseMass_1(self: usize, inInvM: f32): void;
@external("Jolt", "_emscripten_bind_MotionProperties_GetInverseInertiaDiagonal_0")
declare function _emscripten_bind_MotionProperties_GetInverseInertiaDiagonal_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_GetInertiaRotation_0")
declare function _emscripten_bind_MotionProperties_GetInertiaRotation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_SetInverseInertia_2")
declare function _emscripten_bind_MotionProperties_SetInverseInertia_2(self: usize, inInvI: usize, inRotation: usize): void;
@external("Jolt", "_emscripten_bind_MotionProperties_ScaleToMass_1")
declare function _emscripten_bind_MotionProperties_ScaleToMass_1(self: usize, inMass: f32): void;
@external("Jolt", "_emscripten_bind_MotionProperties_GetLocalSpaceInverseInertia_0")
declare function _emscripten_bind_MotionProperties_GetLocalSpaceInverseInertia_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_GetInverseInertiaForRotation_1")
declare function _emscripten_bind_MotionProperties_GetInverseInertiaForRotation_1(self: usize, inRotation: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_MultiplyWorldSpaceInverseInertiaByVector_2")
declare function _emscripten_bind_MotionProperties_MultiplyWorldSpaceInverseInertiaByVector_2(self: usize, inRotation: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_GetPointVelocityCOM_1")
declare function _emscripten_bind_MotionProperties_GetPointVelocityCOM_1(self: usize, inPointRelativeToCOM: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_GetAccumulatedForce_0")
declare function _emscripten_bind_MotionProperties_GetAccumulatedForce_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_GetAccumulatedTorque_0")
declare function _emscripten_bind_MotionProperties_GetAccumulatedTorque_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_ResetForce_0")
declare function _emscripten_bind_MotionProperties_ResetForce_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MotionProperties_ResetTorque_0")
declare function _emscripten_bind_MotionProperties_ResetTorque_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MotionProperties_ResetMotion_0")
declare function _emscripten_bind_MotionProperties_ResetMotion_0(self: usize): void;
@external("Jolt", "_emscripten_bind_MotionProperties_LockTranslation_1")
declare function _emscripten_bind_MotionProperties_LockTranslation_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_LockAngular_1")
declare function _emscripten_bind_MotionProperties_LockAngular_1(self: usize, inV: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_SetNumVelocityStepsOverride_1")
declare function _emscripten_bind_MotionProperties_SetNumVelocityStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_MotionProperties_GetNumVelocityStepsOverride_0")
declare function _emscripten_bind_MotionProperties_GetNumVelocityStepsOverride_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_MotionProperties_SetNumPositionStepsOverride_1")
declare function _emscripten_bind_MotionProperties_SetNumPositionStepsOverride_1(self: usize, inN: usize): void;
@external("Jolt", "_emscripten_bind_MotionProperties_GetNumPositionStepsOverride_0")
declare function _emscripten_bind_MotionProperties_GetNumPositionStepsOverride_0(self: usize): usize;
@final
@unmanaged
export class MotionProperties {
__destroy__(): void {
_emscripten_bind_MotionProperties___destroy___0(changetype<usize>(this));
}
GetMotionQuality(): EMotionQuality {
return changetype<EMotionQuality>(_emscripten_bind_MotionProperties_GetMotionQuality_0(changetype<usize>(this)));
}
GetAllowedDOFs(): EAllowedDOFs {
return changetype<EAllowedDOFs>(_emscripten_bind_MotionProperties_GetAllowedDOFs_0(changetype<usize>(this)));
}
GetAllowSleeping(): bool {
return _emscripten_bind_MotionProperties_GetAllowSleeping_0(changetype<usize>(this));
}
GetLinearVelocity(): Vec3 {
return changetype<Vec3>(_emscripten_bind_MotionProperties_GetLinearVelocity_0(changetype<usize>(this)));
}
SetLinearVelocity(inVelocity: Vec3): void {
_emscripten_bind_MotionProperties_SetLinearVelocity_1(changetype<usize>(this), changetype<usize>(inVelocity));
}
SetLinearVelocityClamped(inVelocity: Vec3): void {
_emscripten_bind_MotionProperties_SetLinearVelocityClamped_1(changetype<usize>(this), changetype<usize>(inVelocity));
}
GetAngularVelocity(): Vec3 {
return changetype<Vec3>(_emscripten_bind_MotionProperties_GetAngularVelocity_0(changetype<usize>(this)));
}
SetAngularVelocity(inVelocity: Vec3): void {
_emscripten_bind_MotionProperties_SetAngularVelocity_1(changetype<usize>(this), changetype<usize>(inVelocity));
}
SetAngularVelocityClamped(inVelocity: Vec3): void {
_emscripten_bind_MotionProperties_SetAngularVelocityClamped_1(changetype<usize>(this), changetype<usize>(inVelocity));
}
MoveKinematic(inPosition: Vec3, inRotation: Quat, inDeltaTime: f32): void {
_emscripten_bind_MotionProperties_MoveKinematic_3(changetype<usize>(this), changetype<usize>(inPosition), changetype<usize>(inRotation), inDeltaTime);
}
GetMaxLinearVelocity(): f32 {
return _emscripten_bind_MotionProperties_GetMaxLinearVelocity_0(changetype<usize>(this));
}
SetMaxLinearVelocity(inVelocity: f32): void {
_emscripten_bind_MotionProperties_SetMaxLinearVelocity_1(changetype<usize>(this), inVelocity);
}
GetMaxAngularVelocity(): f32 {
return _emscripten_bind_MotionProperties_GetMaxAngularVelocity_0(changetype<usize>(this));
}
SetMaxAngularVelocity(inVelocity: f32): void {
_emscripten_bind_MotionProperties_SetMaxAngularVelocity_1(changetype<usize>(this), inVelocity);
}
ClampLinearVelocity(): void {
_emscripten_bind_MotionProperties_ClampLinearVelocity_0(changetype<usize>(this));
}
ClampAngularVelocity(): void {
_emscripten_bind_MotionProperties_ClampAngularVelocity_0(changetype<usize>(this));
}
GetLinearDamping(): f32 {
return _emscripten_bind_MotionProperties_GetLinearDamping_0(changetype<usize>(this));
}
SetLinearDamping(inDamping: f32): void {
_emscripten_bind_MotionProperties_SetLinearDamping_1(changetype<usize>(this), inDamping);
}
GetAngularDamping(): f32 {
return _emscripten_bind_MotionProperties_GetAngularDamping_0(changetype<usize>(this));
}
SetAngularDamping(inDamping: f32): void {
_emscripten_bind_MotionProperties_SetAngularDamping_1(changetype<usize>(this), inDamping);
}
GetGravityFactor(): f32 {
return _emscripten_bind_MotionProperties_GetGravityFactor_0(changetype<usize>(this));
}
SetGravityFactor(inFactor: f32): void {
_emscripten_bind_MotionProperties_SetGravityFactor_1(changetype<usize>(this), inFactor);
}
SetMassProperties(inAllowedDOFs: EAllowedDOFs, inMassProperties: MassProperties): void {
_emscripten_bind_MotionProperties_SetMassProperties_2(changetype<usize>(this), changetype<usize>(inAllowedDOFs), changetype<usize>(inMassProperties));
}
GetInverseMass(): f32 {
return _emscripten_bind_MotionProperties_GetInverseMass_0(changetype<usize>(this));
}
GetInverseMassUnchecked(): f32 {
return _emscripten_bind_MotionProperties_GetInverseMassUnchecked_0(changetype<usize>(this));
}
SetInverseMass(inInvM: f32): void {
_emscripten_bind_MotionProperties_SetInverseMass_1(changetype<usize>(this), inInvM);
}
GetInverseInertiaDiagonal(): Vec3 {
return changetype<Vec3>(_emscripten_bind_MotionProperties_GetInverseInertiaDiagonal_0(changetype<usize>(this)));
}
GetInertiaRotation(): Quat {
return changetype<Quat>(_emscripten_bind_MotionProperties_GetInertiaRotation_0(changetype<usize>(this)));
}
SetInverseInertia(inInvI: Vec3, inRotation: Quat): void {
_emscripten_bind_MotionProperties_SetInverseInertia_2(changetype<usize>(this), changetype<usize>(inInvI), changetype<usize>(inRotation));
}
ScaleToMass(inMass: f32): void {
_emscripten_bind_MotionProperties_ScaleToMass_1(changetype<usize>(this), inMass);
}
GetLocalSpaceInverseInertia(): Mat44 {
return changetype<Mat44>(_emscripten_bind_MotionProperties_GetLocalSpaceInverseInertia_0(changetype<usize>(this)));
}
GetInverseInertiaForRotation(inRotation: Mat44): Mat44 {
return changetype<Mat44>(_emscripten_bind_MotionProperties_GetInverseInertiaForRotation_1(changetype<usize>(this), changetype<usize>(inRotation)));
}
MultiplyWorldSpaceInverseInertiaByVector(inRotation: Quat, inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_MotionProperties_MultiplyWorldSpaceInverseInertiaByVector_2(changetype<usize>(this), changetype<usize>(inRotation), changetype<usize>(inV)));
}
GetPointVelocityCOM(inPointRelativeToCOM: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_MotionProperties_GetPointVelocityCOM_1(changetype<usize>(this), changetype<usize>(inPointRelativeToCOM)));
}
GetAccumulatedForce(): Vec3 {
return changetype<Vec3>(_emscripten_bind_MotionProperties_GetAccumulatedForce_0(changetype<usize>(this)));
}
GetAccumulatedTorque(): Vec3 {
return changetype<Vec3>(_emscripten_bind_MotionProperties_GetAccumulatedTorque_0(changetype<usize>(this)));
}
ResetForce(): void {
_emscripten_bind_MotionProperties_ResetForce_0(changetype<usize>(this));
}
ResetTorque(): void {
_emscripten_bind_MotionProperties_ResetTorque_0(changetype<usize>(this));
}
ResetMotion(): void {
_emscripten_bind_MotionProperties_ResetMotion_0(changetype<usize>(this));
}
LockTranslation(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_MotionProperties_LockTranslation_1(changetype<usize>(this), changetype<usize>(inV)));
}
LockAngular(inV: Vec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_MotionProperties_LockAngular_1(changetype<usize>(this), changetype<usize>(inV)));
}
SetNumVelocityStepsOverride(inN: i32): void {
_emscripten_bind_MotionProperties_SetNumVelocityStepsOverride_1(changetype<usize>(this), inN);
}
GetNumVelocityStepsOverride(): i32 {
return _emscripten_bind_MotionProperties_GetNumVelocityStepsOverride_0(changetype<usize>(this));
}
SetNumPositionStepsOverride(inN: i32): void {
_emscripten_bind_MotionProperties_SetNumPositionStepsOverride_1(changetype<usize>(this), inN);
}
GetNumPositionStepsOverride(): i32 {
return _emscripten_bind_MotionProperties_GetNumPositionStepsOverride_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_GroupFilter___destroy___0")
declare function _emscripten_bind_GroupFilter___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_GroupFilter_GetRefCount_0")
declare function _emscripten_bind_GroupFilter_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GroupFilter_AddRef_0")
declare function _emscripten_bind_GroupFilter_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_GroupFilter_Release_0")
declare function _emscripten_bind_GroupFilter_Release_0(self: usize): void;
@final
@unmanaged
export class GroupFilter {
__destroy__(): void {
_emscripten_bind_GroupFilter___destroy___0(changetype<usize>(this));
}
GetRefCount(): i32 {
return _emscripten_bind_GroupFilter_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_GroupFilter_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_GroupFilter_Release_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_GroupFilterJS_GroupFilterJS_0")
declare function _emscripten_bind_GroupFilterJS_GroupFilterJS_0(): usize;
@external("Jolt", "_emscripten_bind_GroupFilterJS___destroy___0")
declare function _emscripten_bind_GroupFilterJS___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_GroupFilterJS_CanCollide_2")
declare function _emscripten_bind_GroupFilterJS_CanCollide_2(self: usize, inGroup1: usize, inGroup2: usize): usize;
@final
@unmanaged
export class GroupFilterJS {
static new(): GroupFilterJS {
return changetype<GroupFilterJS>(_emscripten_bind_GroupFilterJS_GroupFilterJS_0());
}
__destroy__(): void {
_emscripten_bind_GroupFilterJS___destroy___0(changetype<usize>(this));
}
CanCollide(inGroup1: CollisionGroup, inGroup2: CollisionGroup): bool {
return _emscripten_bind_GroupFilterJS_CanCollide_2(changetype<usize>(this), changetype<usize>(inGroup1), changetype<usize>(inGroup2));
}
}
@external("Jolt", "_emscripten_bind_GroupFilterTable_GroupFilterTable_1")
declare function _emscripten_bind_GroupFilterTable_GroupFilterTable_1(inNumGroups: usize): usize;
@external("Jolt", "_emscripten_bind_GroupFilterTable___destroy___0")
declare function _emscripten_bind_GroupFilterTable___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_GroupFilterTable_DisableCollision_2")
declare function _emscripten_bind_GroupFilterTable_DisableCollision_2(self: usize, inSubGroup1: usize, inSubGroup2: usize): void;
@external("Jolt", "_emscripten_bind_GroupFilterTable_EnableCollision_2")
declare function _emscripten_bind_GroupFilterTable_EnableCollision_2(self: usize, inSubGroup1: usize, inSubGroup2: usize): void;
@external("Jolt", "_emscripten_bind_GroupFilterTable_IsCollisionEnabled_2")
declare function _emscripten_bind_GroupFilterTable_IsCollisionEnabled_2(self: usize, inSubGroup1: usize, inSubGroup2: usize): usize;
@external("Jolt", "_emscripten_bind_GroupFilterTable_GetRefCount_0")
declare function _emscripten_bind_GroupFilterTable_GetRefCount_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_GroupFilterTable_AddRef_0")
declare function _emscripten_bind_GroupFilterTable_AddRef_0(self: usize): void;
@external("Jolt", "_emscripten_bind_GroupFilterTable_Release_0")
declare function _emscripten_bind_GroupFilterTable_Release_0(self: usize): void;
@final
@unmanaged
export class GroupFilterTable {
static new(inNumGroups: i32): GroupFilterTable {
return changetype<GroupFilterTable>(_emscripten_bind_GroupFilterTable_GroupFilterTable_1(inNumGroups));
}
__destroy__(): void {
_emscripten_bind_GroupFilterTable___destroy___0(changetype<usize>(this));
}
DisableCollision(inSubGroup1: i32, inSubGroup2: i32): void {
_emscripten_bind_GroupFilterTable_DisableCollision_2(changetype<usize>(this), inSubGroup1, inSubGroup2);
}
EnableCollision(inSubGroup1: i32, inSubGroup2: i32): void {
_emscripten_bind_GroupFilterTable_EnableCollision_2(changetype<usize>(this), inSubGroup1, inSubGroup2);
}
IsCollisionEnabled(inSubGroup1: i32, inSubGroup2: i32): bool {
return _emscripten_bind_GroupFilterTable_IsCollisionEnabled_2(changetype<usize>(this), inSubGroup1, inSubGroup2);
}
GetRefCount(): i32 {
return _emscripten_bind_GroupFilterTable_GetRefCount_0(changetype<usize>(this));
}
AddRef(): void {
_emscripten_bind_GroupFilterTable_AddRef_0(changetype<usize>(this));
}
Release(): void {
_emscripten_bind_GroupFilterTable_Release_0(changetype<usize>(this));
}
asGroupFilter(): GroupFilter {
return changetype<GroupFilter>(this);
}
}
@external("Jolt", "_emscripten_bind_CollisionGroup_CollisionGroup_0")
declare function _emscripten_bind_CollisionGroup_CollisionGroup_0(): usize;
@external("Jolt", "_emscripten_bind_CollisionGroup_CollisionGroup_3")
declare function _emscripten_bind_CollisionGroup_CollisionGroup_3(inFilter: usize, inGroupID: usize, inSubGroupID: usize): usize;
@external("Jolt", "_emscripten_bind_CollisionGroup___destroy___0")
declare function _emscripten_bind_CollisionGroup___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_CollisionGroup_SetGroupFilter_1")
declare function _emscripten_bind_CollisionGroup_SetGroupFilter_1(self: usize, inFilter: usize): void;
@external("Jolt", "_emscripten_bind_CollisionGroup_GetGroupFilter_0")
declare function _emscripten_bind_CollisionGroup_GetGroupFilter_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CollisionGroup_SetGroupID_1")
declare function _emscripten_bind_CollisionGroup_SetGroupID_1(self: usize, inGroupID: usize): void;
@external("Jolt", "_emscripten_bind_CollisionGroup_GetGroupID_0")
declare function _emscripten_bind_CollisionGroup_GetGroupID_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CollisionGroup_SetSubGroupID_1")
declare function _emscripten_bind_CollisionGroup_SetSubGroupID_1(self: usize, inSubGroupID: usize): void;
@external("Jolt", "_emscripten_bind_CollisionGroup_GetSubGroupID_0")
declare function _emscripten_bind_CollisionGroup_GetSubGroupID_0(self: usize): usize;
@final
@unmanaged
export class CollisionGroup {
static new0(): CollisionGroup {
return changetype<CollisionGroup>(_emscripten_bind_CollisionGroup_CollisionGroup_0());
}
static new3(inFilter: GroupFilter, inGroupID: i32, inSubGroupID: i32): CollisionGroup {
return changetype<CollisionGroup>(_emscripten_bind_CollisionGroup_CollisionGroup_3(changetype<usize>(inFilter), inGroupID, inSubGroupID));
}
__destroy__(): void {
_emscripten_bind_CollisionGroup___destroy___0(changetype<usize>(this));
}
SetGroupFilter(inFilter: GroupFilter): void {
_emscripten_bind_CollisionGroup_SetGroupFilter_1(changetype<usize>(this), changetype<usize>(inFilter));
}
GetGroupFilter(): GroupFilter {
return changetype<GroupFilter>(_emscripten_bind_CollisionGroup_GetGroupFilter_0(changetype<usize>(this)));
}
SetGroupID(inGroupID: i32): void {
_emscripten_bind_CollisionGroup_SetGroupID_1(changetype<usize>(this), inGroupID);
}
GetGroupID(): i32 {
return _emscripten_bind_CollisionGroup_GetGroupID_0(changetype<usize>(this));
}
SetSubGroupID(inSubGroupID: i32): void {
_emscripten_bind_CollisionGroup_SetSubGroupID_1(changetype<usize>(this), inSubGroupID);
}
GetSubGroupID(): i32 {
return _emscripten_bind_CollisionGroup_GetSubGroupID_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_Body_GetID_0")
declare function _emscripten_bind_Body_GetID_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_IsActive_0")
declare function _emscripten_bind_Body_IsActive_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_IsRigidBody_0")
declare function _emscripten_bind_Body_IsRigidBody_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_IsSoftBody_0")
declare function _emscripten_bind_Body_IsSoftBody_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_IsStatic_0")
declare function _emscripten_bind_Body_IsStatic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_IsKinematic_0")
declare function _emscripten_bind_Body_IsKinematic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_IsDynamic_0")
declare function _emscripten_bind_Body_IsDynamic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_CanBeKinematicOrDynamic_0")
declare function _emscripten_bind_Body_CanBeKinematicOrDynamic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetBodyType_0")
declare function _emscripten_bind_Body_GetBodyType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetMotionType_0")
declare function _emscripten_bind_Body_GetMotionType_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_SetIsSensor_1")
declare function _emscripten_bind_Body_SetIsSensor_1(self: usize, inIsSensor: usize): void;
@external("Jolt", "_emscripten_bind_Body_IsSensor_0")
declare function _emscripten_bind_Body_IsSensor_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_SetCollideKinematicVsNonDynamic_1")
declare function _emscripten_bind_Body_SetCollideKinematicVsNonDynamic_1(self: usize, inCollide: usize): void;
@external("Jolt", "_emscripten_bind_Body_GetCollideKinematicVsNonDynamic_0")
declare function _emscripten_bind_Body_GetCollideKinematicVsNonDynamic_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_SetUseManifoldReduction_1")
declare function _emscripten_bind_Body_SetUseManifoldReduction_1(self: usize, inUseReduction: usize): void;
@external("Jolt", "_emscripten_bind_Body_GetUseManifoldReduction_0")
declare function _emscripten_bind_Body_GetUseManifoldReduction_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_SetApplyGyroscopicForce_1")
declare function _emscripten_bind_Body_SetApplyGyroscopicForce_1(self: usize, inApply: usize): void;
@external("Jolt", "_emscripten_bind_Body_GetApplyGyroscopicForce_0")
declare function _emscripten_bind_Body_GetApplyGyroscopicForce_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_SetEnhancedInternalEdgeRemoval_1")
declare function _emscripten_bind_Body_SetEnhancedInternalEdgeRemoval_1(self: usize, inApply: usize): void;
@external("Jolt", "_emscripten_bind_Body_GetEnhancedInternalEdgeRemoval_0")
declare function _emscripten_bind_Body_GetEnhancedInternalEdgeRemoval_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetObjectLayer_0")
declare function _emscripten_bind_Body_GetObjectLayer_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetCollisionGroup_0")
declare function _emscripten_bind_Body_GetCollisionGroup_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetAllowSleeping_0")
declare function _emscripten_bind_Body_GetAllowSleeping_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_SetAllowSleeping_1")
declare function _emscripten_bind_Body_SetAllowSleeping_1(self: usize, inAllow: usize): void;
@external("Jolt", "_emscripten_bind_Body_ResetSleepTimer_0")
declare function _emscripten_bind_Body_ResetSleepTimer_0(self: usize): void;
@external("Jolt", "_emscripten_bind_Body_GetFriction_0")
declare function _emscripten_bind_Body_GetFriction_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Body_SetFriction_1")
declare function _emscripten_bind_Body_SetFriction_1(self: usize, inFriction: f32): void;
@external("Jolt", "_emscripten_bind_Body_GetRestitution_0")
declare function _emscripten_bind_Body_GetRestitution_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_Body_SetRestitution_1")
declare function _emscripten_bind_Body_SetRestitution_1(self: usize, inRestitution: f32): void;
@external("Jolt", "_emscripten_bind_Body_GetLinearVelocity_0")
declare function _emscripten_bind_Body_GetLinearVelocity_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_SetLinearVelocity_1")
declare function _emscripten_bind_Body_SetLinearVelocity_1(self: usize, inVelocity: usize): void;
@external("Jolt", "_emscripten_bind_Body_SetLinearVelocityClamped_1")
declare function _emscripten_bind_Body_SetLinearVelocityClamped_1(self: usize, inVelocity: usize): void;
@external("Jolt", "_emscripten_bind_Body_GetAngularVelocity_0")
declare function _emscripten_bind_Body_GetAngularVelocity_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_SetAngularVelocity_1")
declare function _emscripten_bind_Body_SetAngularVelocity_1(self: usize, inVelocity: usize): void;
@external("Jolt", "_emscripten_bind_Body_SetAngularVelocityClamped_1")
declare function _emscripten_bind_Body_SetAngularVelocityClamped_1(self: usize, inVelocity: usize): void;
@external("Jolt", "_emscripten_bind_Body_AddForce_1")
declare function _emscripten_bind_Body_AddForce_1(self: usize, inForce: usize): void;
@external("Jolt", "_emscripten_bind_Body_AddForce_2")
declare function _emscripten_bind_Body_AddForce_2(self: usize, inForce: usize, inPosition: usize): void;
@external("Jolt", "_emscripten_bind_Body_AddTorque_1")
declare function _emscripten_bind_Body_AddTorque_1(self: usize, inTorque: usize): void;
@external("Jolt", "_emscripten_bind_Body_GetAccumulatedForce_0")
declare function _emscripten_bind_Body_GetAccumulatedForce_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetAccumulatedTorque_0")
declare function _emscripten_bind_Body_GetAccumulatedTorque_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_ResetForce_0")
declare function _emscripten_bind_Body_ResetForce_0(self: usize): void;
@external("Jolt", "_emscripten_bind_Body_ResetTorque_0")
declare function _emscripten_bind_Body_ResetTorque_0(self: usize): void;
@external("Jolt", "_emscripten_bind_Body_ResetMotion_0")
declare function _emscripten_bind_Body_ResetMotion_0(self: usize): void;
@external("Jolt", "_emscripten_bind_Body_AddImpulse_1")
declare function _emscripten_bind_Body_AddImpulse_1(self: usize, inImpulse: usize): void;
@external("Jolt", "_emscripten_bind_Body_AddImpulse_2")
declare function _emscripten_bind_Body_AddImpulse_2(self: usize, inImpulse: usize, inPosition: usize): void;
@external("Jolt", "_emscripten_bind_Body_AddAngularImpulse_1")
declare function _emscripten_bind_Body_AddAngularImpulse_1(self: usize, inAngularImpulse: usize): void;
@external("Jolt", "_emscripten_bind_Body_MoveKinematic_3")
declare function _emscripten_bind_Body_MoveKinematic_3(self: usize, inPosition: usize, inRotation: usize, inDeltaTime: f32): void;
@external("Jolt", "_emscripten_bind_Body_ApplyBuoyancyImpulse_8")
declare function _emscripten_bind_Body_ApplyBuoyancyImpulse_8(self: usize, inSurfacePosition: usize, inSurfaceNormal: usize, inBuoyancy: f32, inLinearDrag: f32, inAngularDrag: f32, inFluidVelocity: usize, inGravity: usize, inDeltaTime: f32): usize;
@external("Jolt", "_emscripten_bind_Body_IsInBroadPhase_0")
declare function _emscripten_bind_Body_IsInBroadPhase_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetInverseInertia_0")
declare function _emscripten_bind_Body_GetInverseInertia_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetShape_0")
declare function _emscripten_bind_Body_GetShape_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetPosition_0")
declare function _emscripten_bind_Body_GetPosition_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetRotation_0")
declare function _emscripten_bind_Body_GetRotation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetWorldTransform_0")
declare function _emscripten_bind_Body_GetWorldTransform_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetCenterOfMassPosition_0")
declare function _emscripten_bind_Body_GetCenterOfMassPosition_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetCenterOfMassTransform_0")
declare function _emscripten_bind_Body_GetCenterOfMassTransform_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetInverseCenterOfMassTransform_0")
declare function _emscripten_bind_Body_GetInverseCenterOfMassTransform_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetWorldSpaceBounds_0")
declare function _emscripten_bind_Body_GetWorldSpaceBounds_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetTransformedShape_0")
declare function _emscripten_bind_Body_GetTransformedShape_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetBodyCreationSettings_0")
declare function _emscripten_bind_Body_GetBodyCreationSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetSoftBodyCreationSettings_0")
declare function _emscripten_bind_Body_GetSoftBodyCreationSettings_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetMotionProperties_0")
declare function _emscripten_bind_Body_GetMotionProperties_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetWorldSpaceSurfaceNormal_2")
declare function _emscripten_bind_Body_GetWorldSpaceSurfaceNormal_2(self: usize, inSubShapeID: usize, inPosition: usize): usize;
@external("Jolt", "_emscripten_bind_Body_GetUserData_0")
declare function _emscripten_bind_Body_GetUserData_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_Body_SetUserData_1")
declare function _emscripten_bind_Body_SetUserData_1(self: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_Body_SaveState_1")
declare function _emscripten_bind_Body_SaveState_1(self: usize, inStream: usize): void;
@external("Jolt", "_emscripten_bind_Body_RestoreState_1")
declare function _emscripten_bind_Body_RestoreState_1(self: usize, inStream: usize): void;
@final
@unmanaged
export class Body {
GetID(): BodyID {
return changetype<BodyID>(_emscripten_bind_Body_GetID_0(changetype<usize>(this)));
}
IsActive(): bool {
return _emscripten_bind_Body_IsActive_0(changetype<usize>(this));
}
IsRigidBody(): bool {
return _emscripten_bind_Body_IsRigidBody_0(changetype<usize>(this));
}
IsSoftBody(): bool {
return _emscripten_bind_Body_IsSoftBody_0(changetype<usize>(this));
}
IsStatic(): bool {
return _emscripten_bind_Body_IsStatic_0(changetype<usize>(this));
}
IsKinematic(): bool {
return _emscripten_bind_Body_IsKinematic_0(changetype<usize>(this));
}
IsDynamic(): bool {
return _emscripten_bind_Body_IsDynamic_0(changetype<usize>(this));
}
CanBeKinematicOrDynamic(): bool {
return _emscripten_bind_Body_CanBeKinematicOrDynamic_0(changetype<usize>(this));
}
GetBodyType(): EBodyType {
return changetype<EBodyType>(_emscripten_bind_Body_GetBodyType_0(changetype<usize>(this)));
}
GetMotionType(): EMotionType {
return changetype<EMotionType>(_emscripten_bind_Body_GetMotionType_0(changetype<usize>(this)));
}
SetIsSensor(inIsSensor: bool): void {
_emscripten_bind_Body_SetIsSensor_1(changetype<usize>(this), inIsSensor);
}
IsSensor(): bool {
return _emscripten_bind_Body_IsSensor_0(changetype<usize>(this));
}
SetCollideKinematicVsNonDynamic(inCollide: bool): void {
_emscripten_bind_Body_SetCollideKinematicVsNonDynamic_1(changetype<usize>(this), inCollide);
}
GetCollideKinematicVsNonDynamic(): bool {
return _emscripten_bind_Body_GetCollideKinematicVsNonDynamic_0(changetype<usize>(this));
}
SetUseManifoldReduction(inUseReduction: bool): void {
_emscripten_bind_Body_SetUseManifoldReduction_1(changetype<usize>(this), inUseReduction);
}
GetUseManifoldReduction(): bool {
return _emscripten_bind_Body_GetUseManifoldReduction_0(changetype<usize>(this));
}
SetApplyGyroscopicForce(inApply: bool): void {
_emscripten_bind_Body_SetApplyGyroscopicForce_1(changetype<usize>(this), inApply);
}
GetApplyGyroscopicForce(): bool {
return _emscripten_bind_Body_GetApplyGyroscopicForce_0(changetype<usize>(this));
}
SetEnhancedInternalEdgeRemoval(inApply: bool): void {
_emscripten_bind_Body_SetEnhancedInternalEdgeRemoval_1(changetype<usize>(this), inApply);
}
GetEnhancedInternalEdgeRemoval(): bool {
return _emscripten_bind_Body_GetEnhancedInternalEdgeRemoval_0(changetype<usize>(this));
}
GetObjectLayer(): i32 {
return _emscripten_bind_Body_GetObjectLayer_0(changetype<usize>(this));
}
GetCollisionGroup(): CollisionGroup {
return changetype<CollisionGroup>(_emscripten_bind_Body_GetCollisionGroup_0(changetype<usize>(this)));
}
GetAllowSleeping(): bool {
return _emscripten_bind_Body_GetAllowSleeping_0(changetype<usize>(this));
}
SetAllowSleeping(inAllow: bool): void {
_emscripten_bind_Body_SetAllowSleeping_1(changetype<usize>(this), inAllow);
}
ResetSleepTimer(): void {
_emscripten_bind_Body_ResetSleepTimer_0(changetype<usize>(this));
}
GetFriction(): f32 {
return _emscripten_bind_Body_GetFriction_0(changetype<usize>(this));
}
SetFriction(inFriction: f32): void {
_emscripten_bind_Body_SetFriction_1(changetype<usize>(this), inFriction);
}
GetRestitution(): f32 {
return _emscripten_bind_Body_GetRestitution_0(changetype<usize>(this));
}
SetRestitution(inRestitution: f32): void {
_emscripten_bind_Body_SetRestitution_1(changetype<usize>(this), inRestitution);
}
GetLinearVelocity(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Body_GetLinearVelocity_0(changetype<usize>(this)));
}
SetLinearVelocity(inVelocity: Vec3): void {
_emscripten_bind_Body_SetLinearVelocity_1(changetype<usize>(this), changetype<usize>(inVelocity));
}
SetLinearVelocityClamped(inVelocity: Vec3): void {
_emscripten_bind_Body_SetLinearVelocityClamped_1(changetype<usize>(this), changetype<usize>(inVelocity));
}
GetAngularVelocity(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Body_GetAngularVelocity_0(changetype<usize>(this)));
}
SetAngularVelocity(inVelocity: Vec3): void {
_emscripten_bind_Body_SetAngularVelocity_1(changetype<usize>(this), changetype<usize>(inVelocity));
}
SetAngularVelocityClamped(inVelocity: Vec3): void {
_emscripten_bind_Body_SetAngularVelocityClamped_1(changetype<usize>(this), changetype<usize>(inVelocity));
}
AddForce_1(inForce: Vec3): void {
_emscripten_bind_Body_AddForce_1(changetype<usize>(this), changetype<usize>(inForce));
}
AddForce_2(inForce: Vec3, inPosition: RVec3): void {
_emscripten_bind_Body_AddForce_2(changetype<usize>(this), changetype<usize>(inForce), changetype<usize>(inPosition));
}
AddTorque(inTorque: Vec3): void {
_emscripten_bind_Body_AddTorque_1(changetype<usize>(this), changetype<usize>(inTorque));
}
GetAccumulatedForce(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Body_GetAccumulatedForce_0(changetype<usize>(this)));
}
GetAccumulatedTorque(): Vec3 {
return changetype<Vec3>(_emscripten_bind_Body_GetAccumulatedTorque_0(changetype<usize>(this)));
}
ResetForce(): void {
_emscripten_bind_Body_ResetForce_0(changetype<usize>(this));
}
ResetTorque(): void {
_emscripten_bind_Body_ResetTorque_0(changetype<usize>(this));
}
ResetMotion(): void {
_emscripten_bind_Body_ResetMotion_0(changetype<usize>(this));
}
AddImpulse_1(inImpulse: Vec3): void {
_emscripten_bind_Body_AddImpulse_1(changetype<usize>(this), changetype<usize>(inImpulse));
}
AddImpulse_2(inImpulse: Vec3, inPosition: RVec3): void {
_emscripten_bind_Body_AddImpulse_2(changetype<usize>(this), changetype<usize>(inImpulse), changetype<usize>(inPosition));
}
AddAngularImpulse(inAngularImpulse: Vec3): void {
_emscripten_bind_Body_AddAngularImpulse_1(changetype<usize>(this), changetype<usize>(inAngularImpulse));
}
MoveKinematic(inPosition: RVec3, inRotation: Quat, inDeltaTime: f32): void {
_emscripten_bind_Body_MoveKinematic_3(changetype<usize>(this), changetype<usize>(inPosition), changetype<usize>(inRotation), inDeltaTime);
}
ApplyBuoyancyImpulse(inSurfacePosition: RVec3, inSurfaceNormal: Vec3, inBuoyancy: f32, inLinearDrag: f32, inAngularDrag: f32, inFluidVelocity: Vec3, inGravity: Vec3, inDeltaTime: f32): bool {
return _emscripten_bind_Body_ApplyBuoyancyImpulse_8(changetype<usize>(this), changetype<usize>(inSurfacePosition), changetype<usize>(inSurfaceNormal), inBuoyancy, inLinearDrag, inAngularDrag, changetype<usize>(inFluidVelocity), changetype<usize>(inGravity), inDeltaTime);
}
IsInBroadPhase(): bool {
return _emscripten_bind_Body_IsInBroadPhase_0(changetype<usize>(this));
}
GetInverseInertia(): Mat44 {
return changetype<Mat44>(_emscripten_bind_Body_GetInverseInertia_0(changetype<usize>(this)));
}
GetShape(): Shape {
return changetype<Shape>(_emscripten_bind_Body_GetShape_0(changetype<usize>(this)));
}
GetPosition(): RVec3 {
return changetype<RVec3>(_emscripten_bind_Body_GetPosition_0(changetype<usize>(this)));
}
GetRotation(): Quat {
return changetype<Quat>(_emscripten_bind_Body_GetRotation_0(changetype<usize>(this)));
}
GetWorldTransform(): RMat44 {
return changetype<RMat44>(_emscripten_bind_Body_GetWorldTransform_0(changetype<usize>(this)));
}
GetCenterOfMassPosition(): RVec3 {
return changetype<RVec3>(_emscripten_bind_Body_GetCenterOfMassPosition_0(changetype<usize>(this)));
}
GetCenterOfMassTransform(): RMat44 {
return changetype<RMat44>(_emscripten_bind_Body_GetCenterOfMassTransform_0(changetype<usize>(this)));
}
GetInverseCenterOfMassTransform(): RMat44 {
return changetype<RMat44>(_emscripten_bind_Body_GetInverseCenterOfMassTransform_0(changetype<usize>(this)));
}
GetWorldSpaceBounds(): AABox {
return changetype<AABox>(_emscripten_bind_Body_GetWorldSpaceBounds_0(changetype<usize>(this)));
}
GetTransformedShape(): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_Body_GetTransformedShape_0(changetype<usize>(this)));
}
GetBodyCreationSettings(): BodyCreationSettings {
return changetype<BodyCreationSettings>(_emscripten_bind_Body_GetBodyCreationSettings_0(changetype<usize>(this)));
}
GetSoftBodyCreationSettings(): SoftBodyCreationSettings {
return changetype<SoftBodyCreationSettings>(_emscripten_bind_Body_GetSoftBodyCreationSettings_0(changetype<usize>(this)));
}
GetMotionProperties(): MotionProperties {
return changetype<MotionProperties>(_emscripten_bind_Body_GetMotionProperties_0(changetype<usize>(this)));
}
GetWorldSpaceSurfaceNormal(inSubShapeID: SubShapeID, inPosition: RVec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_Body_GetWorldSpaceSurfaceNormal_2(changetype<usize>(this), changetype<usize>(inSubShapeID), changetype<usize>(inPosition)));
}
GetUserData(): i32 {
return _emscripten_bind_Body_GetUserData_0(changetype<usize>(this));
}
SetUserData(inUserData: i32): void {
_emscripten_bind_Body_SetUserData_1(changetype<usize>(this), inUserData);
}
SaveState(inStream: StateRecorder): void {
_emscripten_bind_Body_SaveState_1(changetype<usize>(this), changetype<usize>(inStream));
}
RestoreState(inStream: StateRecorder): void {
_emscripten_bind_Body_RestoreState_1(changetype<usize>(this), changetype<usize>(inStream));
}
}
@final
@unmanaged
export class BodyInterface_AddState {
}
@external("Jolt", "_emscripten_bind_BodyInterface___destroy___0")
declare function _emscripten_bind_BodyInterface___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_CreateBody_1")
declare function _emscripten_bind_BodyInterface_CreateBody_1(self: usize, inSettings: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_CreateSoftBody_1")
declare function _emscripten_bind_BodyInterface_CreateSoftBody_1(self: usize, inSettings: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_CreateBodyWithID_2")
declare function _emscripten_bind_BodyInterface_CreateBodyWithID_2(self: usize, inBodyID: usize, inSettings: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_CreateSoftBodyWithID_2")
declare function _emscripten_bind_BodyInterface_CreateSoftBodyWithID_2(self: usize, inBodyID: usize, inSettings: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_CreateBodyWithoutID_1")
declare function _emscripten_bind_BodyInterface_CreateBodyWithoutID_1(self: usize, inSettings: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_CreateSoftBodyWithoutID_1")
declare function _emscripten_bind_BodyInterface_CreateSoftBodyWithoutID_1(self: usize, inSettings: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_DestroyBodyWithoutID_1")
declare function _emscripten_bind_BodyInterface_DestroyBodyWithoutID_1(self: usize, inBody: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_AssignBodyID_1")
declare function _emscripten_bind_BodyInterface_AssignBodyID_1(self: usize, ioBody: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_AssignBodyID_2")
declare function _emscripten_bind_BodyInterface_AssignBodyID_2(self: usize, ioBody: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_UnassignBodyID_1")
declare function _emscripten_bind_BodyInterface_UnassignBodyID_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_UnassignBodyIDs_3")
declare function _emscripten_bind_BodyInterface_UnassignBodyIDs_3(self: usize, inBodyIDs: usize, inNumber: usize, outBodies: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_DestroyBody_1")
declare function _emscripten_bind_BodyInterface_DestroyBody_1(self: usize, inBodyID: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_DestroyBodies_2")
declare function _emscripten_bind_BodyInterface_DestroyBodies_2(self: usize, inBodyIDs: usize, inNumber: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_AddBody_2")
declare function _emscripten_bind_BodyInterface_AddBody_2(self: usize, inBodyID: usize, inActivationMode: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_RemoveBody_1")
declare function _emscripten_bind_BodyInterface_RemoveBody_1(self: usize, inBodyID: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_IsAdded_1")
declare function _emscripten_bind_BodyInterface_IsAdded_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_CreateAndAddBody_2")
declare function _emscripten_bind_BodyInterface_CreateAndAddBody_2(self: usize, inSettings: usize, inActivationMode: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_CreateAndAddSoftBody_2")
declare function _emscripten_bind_BodyInterface_CreateAndAddSoftBody_2(self: usize, inSettings: usize, inActivationMode: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_AddBodiesPrepare_2")
declare function _emscripten_bind_BodyInterface_AddBodiesPrepare_2(self: usize, ioBodies: usize, inNumber: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_AddBodiesFinalize_4")
declare function _emscripten_bind_BodyInterface_AddBodiesFinalize_4(self: usize, ioBodies: usize, inNumber: usize, inAddState: usize, inActivationMode: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_AddBodiesAbort_3")
declare function _emscripten_bind_BodyInterface_AddBodiesAbort_3(self: usize, ioBodies: usize, inNumber: usize, inAddState: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_RemoveBodies_2")
declare function _emscripten_bind_BodyInterface_RemoveBodies_2(self: usize, ioBodies: usize, inNumber: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_CreateConstraint_3")
declare function _emscripten_bind_BodyInterface_CreateConstraint_3(self: usize, inSettings: usize, inBodyID1: usize, inBodyID2: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_ActivateConstraint_1")
declare function _emscripten_bind_BodyInterface_ActivateConstraint_1(self: usize, inConstraint: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetShape_1")
declare function _emscripten_bind_BodyInterface_GetShape_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_SetShape_4")
declare function _emscripten_bind_BodyInterface_SetShape_4(self: usize, inBodyID: usize, inShape: usize, inUpdateMassProperties: usize, inActivationMode: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_NotifyShapeChanged_4")
declare function _emscripten_bind_BodyInterface_NotifyShapeChanged_4(self: usize, inBodyID: usize, inPreviousCenterOfMass: usize, inUpdateMassProperties: usize, inActivationMode: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_SetObjectLayer_2")
declare function _emscripten_bind_BodyInterface_SetObjectLayer_2(self: usize, inBodyID: usize, inLayer: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetObjectLayer_1")
declare function _emscripten_bind_BodyInterface_GetObjectLayer_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_SetPositionAndRotation_4")
declare function _emscripten_bind_BodyInterface_SetPositionAndRotation_4(self: usize, inBodyID: usize, inPosition: usize, inRotation: usize, inActivationMode: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_SetPositionAndRotationWhenChanged_4")
declare function _emscripten_bind_BodyInterface_SetPositionAndRotationWhenChanged_4(self: usize, inBodyID: usize, inPosition: usize, inRotation: usize, inActivationMode: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetPositionAndRotation_3")
declare function _emscripten_bind_BodyInterface_GetPositionAndRotation_3(self: usize, inBodyID: usize, outPosition: usize, outRotation: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_SetPosition_3")
declare function _emscripten_bind_BodyInterface_SetPosition_3(self: usize, inBodyID: usize, inPosition: usize, inActivationMode: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetPosition_1")
declare function _emscripten_bind_BodyInterface_GetPosition_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_SetRotation_3")
declare function _emscripten_bind_BodyInterface_SetRotation_3(self: usize, inBodyID: usize, inRotation: usize, inActivationMode: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetRotation_1")
declare function _emscripten_bind_BodyInterface_GetRotation_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_GetWorldTransform_1")
declare function _emscripten_bind_BodyInterface_GetWorldTransform_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_GetCenterOfMassTransform_1")
declare function _emscripten_bind_BodyInterface_GetCenterOfMassTransform_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_SetLinearAndAngularVelocity_3")
declare function _emscripten_bind_BodyInterface_SetLinearAndAngularVelocity_3(self: usize, inBodyID: usize, inLinearVelocity: usize, inAngularVelocity: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetLinearAndAngularVelocity_3")
declare function _emscripten_bind_BodyInterface_GetLinearAndAngularVelocity_3(self: usize, inBodyID: usize, outLinearVelocity: usize, outAngularVelocity: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_SetLinearVelocity_2")
declare function _emscripten_bind_BodyInterface_SetLinearVelocity_2(self: usize, inBodyID: usize, inLinearVelocity: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetLinearVelocity_1")
declare function _emscripten_bind_BodyInterface_GetLinearVelocity_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_AddLinearVelocity_2")
declare function _emscripten_bind_BodyInterface_AddLinearVelocity_2(self: usize, inBodyID: usize, inLinearVelocity: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_AddLinearAndAngularVelocity_3")
declare function _emscripten_bind_BodyInterface_AddLinearAndAngularVelocity_3(self: usize, inBodyID: usize, inLinearVelocity: usize, inAngularVelocity: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_SetAngularVelocity_2")
declare function _emscripten_bind_BodyInterface_SetAngularVelocity_2(self: usize, inBodyID: usize, inAngularVelocity: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetAngularVelocity_1")
declare function _emscripten_bind_BodyInterface_GetAngularVelocity_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_GetPointVelocity_2")
declare function _emscripten_bind_BodyInterface_GetPointVelocity_2(self: usize, inBodyID: usize, inPoint: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_SetPositionRotationAndVelocity_5")
declare function _emscripten_bind_BodyInterface_SetPositionRotationAndVelocity_5(self: usize, inBodyID: usize, inPosition: usize, inRotation: usize, inLinearVelocity: usize, inAngularVelocity: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_MoveKinematic_4")
declare function _emscripten_bind_BodyInterface_MoveKinematic_4(self: usize, inBodyID: usize, inPosition: usize, inRotation: usize, inDeltaTime: f32): void;
@external("Jolt", "_emscripten_bind_BodyInterface_ActivateBody_1")
declare function _emscripten_bind_BodyInterface_ActivateBody_1(self: usize, inBodyID: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_ActivateBodies_2")
declare function _emscripten_bind_BodyInterface_ActivateBodies_2(self: usize, inBodyIDs: usize, inNumber: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_ActivateBodiesInAABox_3")
declare function _emscripten_bind_BodyInterface_ActivateBodiesInAABox_3(self: usize, inBox: usize, inBroadPhaseLayerFilter: usize, inObjectLayerFilter: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_DeactivateBody_1")
declare function _emscripten_bind_BodyInterface_DeactivateBody_1(self: usize, inBodyID: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_DeactivateBodies_2")
declare function _emscripten_bind_BodyInterface_DeactivateBodies_2(self: usize, inBodyIDs: usize, inNumber: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_IsActive_1")
declare function _emscripten_bind_BodyInterface_IsActive_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_ResetSleepTimer_1")
declare function _emscripten_bind_BodyInterface_ResetSleepTimer_1(self: usize, inBodyID: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetBodyType_1")
declare function _emscripten_bind_BodyInterface_GetBodyType_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_SetMotionType_3")
declare function _emscripten_bind_BodyInterface_SetMotionType_3(self: usize, inBodyID: usize, inMotionType: usize, inActivationMode: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetMotionType_1")
declare function _emscripten_bind_BodyInterface_GetMotionType_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_SetMotionQuality_2")
declare function _emscripten_bind_BodyInterface_SetMotionQuality_2(self: usize, inBodyID: usize, inMotionQuality: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetMotionQuality_1")
declare function _emscripten_bind_BodyInterface_GetMotionQuality_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_GetInverseInertia_1")
declare function _emscripten_bind_BodyInterface_GetInverseInertia_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_SetRestitution_2")
declare function _emscripten_bind_BodyInterface_SetRestitution_2(self: usize, inBodyID: usize, inRestitution: f32): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetRestitution_1")
declare function _emscripten_bind_BodyInterface_GetRestitution_1(self: usize, inBodyID: usize): f32;
@external("Jolt", "_emscripten_bind_BodyInterface_SetFriction_2")
declare function _emscripten_bind_BodyInterface_SetFriction_2(self: usize, inBodyID: usize, inFriction: f32): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetFriction_1")
declare function _emscripten_bind_BodyInterface_GetFriction_1(self: usize, inBodyID: usize): f32;
@external("Jolt", "_emscripten_bind_BodyInterface_SetGravityFactor_2")
declare function _emscripten_bind_BodyInterface_SetGravityFactor_2(self: usize, inBodyID: usize, inFactor: f32): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetGravityFactor_1")
declare function _emscripten_bind_BodyInterface_GetGravityFactor_1(self: usize, inBodyID: usize): f32;
@external("Jolt", "_emscripten_bind_BodyInterface_SetMaxLinearVelocity_2")
declare function _emscripten_bind_BodyInterface_SetMaxLinearVelocity_2(self: usize, inBodyID: usize, inLinearVelocity: f32): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetMaxLinearVelocity_1")
declare function _emscripten_bind_BodyInterface_GetMaxLinearVelocity_1(self: usize, inBodyID: usize): f32;
@external("Jolt", "_emscripten_bind_BodyInterface_SetMaxAngularVelocity_2")
declare function _emscripten_bind_BodyInterface_SetMaxAngularVelocity_2(self: usize, inBodyID: usize, inAngularVelocity: f32): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetMaxAngularVelocity_1")
declare function _emscripten_bind_BodyInterface_GetMaxAngularVelocity_1(self: usize, inBodyID: usize): f32;
@external("Jolt", "_emscripten_bind_BodyInterface_SetUseManifoldReduction_2")
declare function _emscripten_bind_BodyInterface_SetUseManifoldReduction_2(self: usize, inBodyID: usize, inUseReduction: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetUseManifoldReduction_1")
declare function _emscripten_bind_BodyInterface_GetUseManifoldReduction_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_SetIsSensor_2")
declare function _emscripten_bind_BodyInterface_SetIsSensor_2(self: usize, inBodyID: usize, inIsSensor: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_IsSensor_1")
declare function _emscripten_bind_BodyInterface_IsSensor_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_SetCollisionGroup_2")
declare function _emscripten_bind_BodyInterface_SetCollisionGroup_2(self: usize, inBodyID: usize, inCollisionGroup: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetCollisionGroup_1")
declare function _emscripten_bind_BodyInterface_GetCollisionGroup_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_AddForce_3")
declare function _emscripten_bind_BodyInterface_AddForce_3(self: usize, inBodyID: usize, inForce: usize, inActivationMode: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_AddForce_4")
declare function _emscripten_bind_BodyInterface_AddForce_4(self: usize, inBodyID: usize, inForce: usize, inPoint: usize, inActivationMode: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_AddTorque_3")
declare function _emscripten_bind_BodyInterface_AddTorque_3(self: usize, inBodyID: usize, inTorque: usize, inActivationMode: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_AddForceAndTorque_4")
declare function _emscripten_bind_BodyInterface_AddForceAndTorque_4(self: usize, inBodyID: usize, inForce: usize, inTorque: usize, inActivationMode: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_ApplyBuoyancyImpulse_9")
declare function _emscripten_bind_BodyInterface_ApplyBuoyancyImpulse_9(self: usize, inBodyID: usize, inSurfacePosition: usize, inSurfaceNormal: usize, inBuoyancy: f32, inLinearDrag: f32, inAngularDrag: f32, inFluidVelocity: usize, inGravity: usize, inDeltaTime: f32): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_AddImpulse_2")
declare function _emscripten_bind_BodyInterface_AddImpulse_2(self: usize, inBodyID: usize, inImpulse: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_AddImpulse_3")
declare function _emscripten_bind_BodyInterface_AddImpulse_3(self: usize, inBodyID: usize, inImpulse: usize, inPosition: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_AddAngularImpulse_2")
declare function _emscripten_bind_BodyInterface_AddAngularImpulse_2(self: usize, inBodyID: usize, inAngularImpulse: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetTransformedShape_1")
declare function _emscripten_bind_BodyInterface_GetTransformedShape_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_GetUserData_1")
declare function _emscripten_bind_BodyInterface_GetUserData_1(self: usize, inBodyID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_SetUserData_2")
declare function _emscripten_bind_BodyInterface_SetUserData_2(self: usize, inBodyID: usize, inUserData: usize): void;
@external("Jolt", "_emscripten_bind_BodyInterface_GetMaterial_2")
declare function _emscripten_bind_BodyInterface_GetMaterial_2(self: usize, inBodyID: usize, inSubShapeID: usize): usize;
@external("Jolt", "_emscripten_bind_BodyInterface_InvalidateContactCache_1")
declare function _emscripten_bind_BodyInterface_InvalidateContactCache_1(self: usize, inBodyID: usize): void;
@final
@unmanaged
export class BodyInterface {
__destroy__(): void {
_emscripten_bind_BodyInterface___destroy___0(changetype<usize>(this));
}
CreateBody(inSettings: BodyCreationSettings): Body {
return changetype<Body>(_emscripten_bind_BodyInterface_CreateBody_1(changetype<usize>(this), changetype<usize>(inSettings)));
}
CreateSoftBody(inSettings: SoftBodyCreationSettings): Body {
return changetype<Body>(_emscripten_bind_BodyInterface_CreateSoftBody_1(changetype<usize>(this), changetype<usize>(inSettings)));
}
CreateBodyWithID(inBodyID: BodyID, inSettings: BodyCreationSettings): Body {
return changetype<Body>(_emscripten_bind_BodyInterface_CreateBodyWithID_2(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inSettings)));
}
CreateSoftBodyWithID(inBodyID: BodyID, inSettings: SoftBodyCreationSettings): Body {
return changetype<Body>(_emscripten_bind_BodyInterface_CreateSoftBodyWithID_2(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inSettings)));
}
CreateBodyWithoutID(inSettings: BodyCreationSettings): Body {
return changetype<Body>(_emscripten_bind_BodyInterface_CreateBodyWithoutID_1(changetype<usize>(this), changetype<usize>(inSettings)));
}
CreateSoftBodyWithoutID(inSettings: SoftBodyCreationSettings): Body {
return changetype<Body>(_emscripten_bind_BodyInterface_CreateSoftBodyWithoutID_1(changetype<usize>(this), changetype<usize>(inSettings)));
}
DestroyBodyWithoutID(inBody: Body): void {
_emscripten_bind_BodyInterface_DestroyBodyWithoutID_1(changetype<usize>(this), changetype<usize>(inBody));
}
AssignBodyID_1(ioBody: Body): bool {
return _emscripten_bind_BodyInterface_AssignBodyID_1(changetype<usize>(this), changetype<usize>(ioBody));
}
AssignBodyID_2(ioBody: Body, inBodyID: BodyID): bool {
return _emscripten_bind_BodyInterface_AssignBodyID_2(changetype<usize>(this), changetype<usize>(ioBody), changetype<usize>(inBodyID));
}
UnassignBodyID(inBodyID: BodyID): Body {
return changetype<Body>(_emscripten_bind_BodyInterface_UnassignBodyID_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
UnassignBodyIDs(inBodyIDs: BodyIDMemRef, inNumber: i32, outBodies: BodyPtrMemRef): void {
_emscripten_bind_BodyInterface_UnassignBodyIDs_3(changetype<usize>(this), changetype<usize>(inBodyIDs), inNumber, changetype<usize>(outBodies));
}
DestroyBody(inBodyID: BodyID): void {
_emscripten_bind_BodyInterface_DestroyBody_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
DestroyBodies(inBodyIDs: BodyIDMemRef, inNumber: i32): void {
_emscripten_bind_BodyInterface_DestroyBodies_2(changetype<usize>(this), changetype<usize>(inBodyIDs), inNumber);
}
AddBody(inBodyID: BodyID, inActivationMode: EActivation): void {
_emscripten_bind_BodyInterface_AddBody_2(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inActivationMode));
}
RemoveBody(inBodyID: BodyID): void {
_emscripten_bind_BodyInterface_RemoveBody_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
IsAdded(inBodyID: BodyID): bool {
return _emscripten_bind_BodyInterface_IsAdded_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
CreateAndAddBody(inSettings: BodyCreationSettings, inActivationMode: EActivation): BodyID {
return changetype<BodyID>(_emscripten_bind_BodyInterface_CreateAndAddBody_2(changetype<usize>(this), changetype<usize>(inSettings), changetype<usize>(inActivationMode)));
}
CreateAndAddSoftBody(inSettings: SoftBodyCreationSettings, inActivationMode: EActivation): BodyID {
return changetype<BodyID>(_emscripten_bind_BodyInterface_CreateAndAddSoftBody_2(changetype<usize>(this), changetype<usize>(inSettings), changetype<usize>(inActivationMode)));
}
AddBodiesPrepare(ioBodies: BodyIDMemRef, inNumber: i32): BodyInterface_AddState {
return changetype<BodyInterface_AddState>(_emscripten_bind_BodyInterface_AddBodiesPrepare_2(changetype<usize>(this), changetype<usize>(ioBodies), inNumber));
}
AddBodiesFinalize(ioBodies: BodyIDMemRef, inNumber: i32, inAddState: BodyInterface_AddState, inActivationMode: EActivation): void {
_emscripten_bind_BodyInterface_AddBodiesFinalize_4(changetype<usize>(this), changetype<usize>(ioBodies), inNumber, changetype<usize>(inAddState), changetype<usize>(inActivationMode));
}
AddBodiesAbort(ioBodies: BodyIDMemRef, inNumber: i32, inAddState: BodyInterface_AddState): void {
_emscripten_bind_BodyInterface_AddBodiesAbort_3(changetype<usize>(this), changetype<usize>(ioBodies), inNumber, changetype<usize>(inAddState));
}
RemoveBodies(ioBodies: BodyIDMemRef, inNumber: i32): void {
_emscripten_bind_BodyInterface_RemoveBodies_2(changetype<usize>(this), changetype<usize>(ioBodies), inNumber);
}
CreateConstraint(inSettings: TwoBodyConstraintSettings, inBodyID1: BodyID, inBodyID2: BodyID): TwoBodyConstraint {
return changetype<TwoBodyConstraint>(_emscripten_bind_BodyInterface_CreateConstraint_3(changetype<usize>(this), changetype<usize>(inSettings), changetype<usize>(inBodyID1), changetype<usize>(inBodyID2)));
}
ActivateConstraint(inConstraint: TwoBodyConstraint): void {
_emscripten_bind_BodyInterface_ActivateConstraint_1(changetype<usize>(this), changetype<usize>(inConstraint));
}
GetShape(inBodyID: BodyID): Shape {
return changetype<Shape>(_emscripten_bind_BodyInterface_GetShape_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
SetShape(inBodyID: BodyID, inShape: Shape, inUpdateMassProperties: bool, inActivationMode: EActivation): void {
_emscripten_bind_BodyInterface_SetShape_4(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inShape), inUpdateMassProperties, changetype<usize>(inActivationMode));
}
NotifyShapeChanged(inBodyID: BodyID, inPreviousCenterOfMass: Vec3, inUpdateMassProperties: bool, inActivationMode: EActivation): void {
_emscripten_bind_BodyInterface_NotifyShapeChanged_4(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inPreviousCenterOfMass), inUpdateMassProperties, changetype<usize>(inActivationMode));
}
SetObjectLayer(inBodyID: BodyID, inLayer: i32): void {
_emscripten_bind_BodyInterface_SetObjectLayer_2(changetype<usize>(this), changetype<usize>(inBodyID), inLayer);
}
GetObjectLayer(inBodyID: BodyID): i32 {
return _emscripten_bind_BodyInterface_GetObjectLayer_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
SetPositionAndRotation(inBodyID: BodyID, inPosition: RVec3, inRotation: Quat, inActivationMode: EActivation): void {
_emscripten_bind_BodyInterface_SetPositionAndRotation_4(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inActivationMode));
}
SetPositionAndRotationWhenChanged(inBodyID: BodyID, inPosition: RVec3, inRotation: Quat, inActivationMode: EActivation): void {
_emscripten_bind_BodyInterface_SetPositionAndRotationWhenChanged_4(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inActivationMode));
}
GetPositionAndRotation(inBodyID: BodyID, outPosition: RVec3, outRotation: Quat): void {
_emscripten_bind_BodyInterface_GetPositionAndRotation_3(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(outPosition), changetype<usize>(outRotation));
}
SetPosition(inBodyID: BodyID, inPosition: RVec3, inActivationMode: EActivation): void {
_emscripten_bind_BodyInterface_SetPosition_3(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inPosition), changetype<usize>(inActivationMode));
}
GetPosition(inBodyID: BodyID): RVec3 {
return changetype<RVec3>(_emscripten_bind_BodyInterface_GetPosition_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
SetRotation(inBodyID: BodyID, inRotation: Quat, inActivationMode: EActivation): void {
_emscripten_bind_BodyInterface_SetRotation_3(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inRotation), changetype<usize>(inActivationMode));
}
GetRotation(inBodyID: BodyID): Quat {
return changetype<Quat>(_emscripten_bind_BodyInterface_GetRotation_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
GetWorldTransform(inBodyID: BodyID): RMat44 {
return changetype<RMat44>(_emscripten_bind_BodyInterface_GetWorldTransform_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
GetCenterOfMassTransform(inBodyID: BodyID): RMat44 {
return changetype<RMat44>(_emscripten_bind_BodyInterface_GetCenterOfMassTransform_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
SetLinearAndAngularVelocity(inBodyID: BodyID, inLinearVelocity: Vec3, inAngularVelocity: Vec3): void {
_emscripten_bind_BodyInterface_SetLinearAndAngularVelocity_3(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inLinearVelocity), changetype<usize>(inAngularVelocity));
}
GetLinearAndAngularVelocity(inBodyID: BodyID, outLinearVelocity: Vec3, outAngularVelocity: Vec3): void {
_emscripten_bind_BodyInterface_GetLinearAndAngularVelocity_3(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(outLinearVelocity), changetype<usize>(outAngularVelocity));
}
SetLinearVelocity(inBodyID: BodyID, inLinearVelocity: Vec3): void {
_emscripten_bind_BodyInterface_SetLinearVelocity_2(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inLinearVelocity));
}
GetLinearVelocity(inBodyID: BodyID): Vec3 {
return changetype<Vec3>(_emscripten_bind_BodyInterface_GetLinearVelocity_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
AddLinearVelocity(inBodyID: BodyID, inLinearVelocity: Vec3): void {
_emscripten_bind_BodyInterface_AddLinearVelocity_2(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inLinearVelocity));
}
AddLinearAndAngularVelocity(inBodyID: BodyID, inLinearVelocity: Vec3, inAngularVelocity: Vec3): void {
_emscripten_bind_BodyInterface_AddLinearAndAngularVelocity_3(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inLinearVelocity), changetype<usize>(inAngularVelocity));
}
SetAngularVelocity(inBodyID: BodyID, inAngularVelocity: Vec3): void {
_emscripten_bind_BodyInterface_SetAngularVelocity_2(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inAngularVelocity));
}
GetAngularVelocity(inBodyID: BodyID): Vec3 {
return changetype<Vec3>(_emscripten_bind_BodyInterface_GetAngularVelocity_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
GetPointVelocity(inBodyID: BodyID, inPoint: RVec3): Vec3 {
return changetype<Vec3>(_emscripten_bind_BodyInterface_GetPointVelocity_2(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inPoint)));
}
SetPositionRotationAndVelocity(inBodyID: BodyID, inPosition: RVec3, inRotation: Quat, inLinearVelocity: Vec3, inAngularVelocity: Vec3): void {
_emscripten_bind_BodyInterface_SetPositionRotationAndVelocity_5(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inPosition), changetype<usize>(inRotation), changetype<usize>(inLinearVelocity), changetype<usize>(inAngularVelocity));
}
MoveKinematic(inBodyID: BodyID, inPosition: RVec3, inRotation: Quat, inDeltaTime: f32): void {
_emscripten_bind_BodyInterface_MoveKinematic_4(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inPosition), changetype<usize>(inRotation), inDeltaTime);
}
ActivateBody(inBodyID: BodyID): void {
_emscripten_bind_BodyInterface_ActivateBody_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
ActivateBodies(inBodyIDs: BodyIDMemRef, inNumber: i32): void {
_emscripten_bind_BodyInterface_ActivateBodies_2(changetype<usize>(this), changetype<usize>(inBodyIDs), inNumber);
}
ActivateBodiesInAABox(inBox: AABox, inBroadPhaseLayerFilter: BroadPhaseLayerFilter, inObjectLayerFilter: ObjectLayerFilter): void {
_emscripten_bind_BodyInterface_ActivateBodiesInAABox_3(changetype<usize>(this), changetype<usize>(inBox), changetype<usize>(inBroadPhaseLayerFilter), changetype<usize>(inObjectLayerFilter));
}
DeactivateBody(inBodyID: BodyID): void {
_emscripten_bind_BodyInterface_DeactivateBody_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
DeactivateBodies(inBodyIDs: BodyIDMemRef, inNumber: i32): void {
_emscripten_bind_BodyInterface_DeactivateBodies_2(changetype<usize>(this), changetype<usize>(inBodyIDs), inNumber);
}
IsActive(inBodyID: BodyID): bool {
return _emscripten_bind_BodyInterface_IsActive_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
ResetSleepTimer(inBodyID: BodyID): void {
_emscripten_bind_BodyInterface_ResetSleepTimer_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
GetBodyType(inBodyID: BodyID): EBodyType {
return changetype<EBodyType>(_emscripten_bind_BodyInterface_GetBodyType_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
SetMotionType(inBodyID: BodyID, inMotionType: EMotionType, inActivationMode: EActivation): void {
_emscripten_bind_BodyInterface_SetMotionType_3(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inMotionType), changetype<usize>(inActivationMode));
}
GetMotionType(inBodyID: BodyID): EMotionType {
return changetype<EMotionType>(_emscripten_bind_BodyInterface_GetMotionType_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
SetMotionQuality(inBodyID: BodyID, inMotionQuality: EMotionQuality): void {
_emscripten_bind_BodyInterface_SetMotionQuality_2(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inMotionQuality));
}
GetMotionQuality(inBodyID: BodyID): EMotionQuality {
return changetype<EMotionQuality>(_emscripten_bind_BodyInterface_GetMotionQuality_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
GetInverseInertia(inBodyID: BodyID): Mat44 {
return changetype<Mat44>(_emscripten_bind_BodyInterface_GetInverseInertia_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
SetRestitution(inBodyID: BodyID, inRestitution: f32): void {
_emscripten_bind_BodyInterface_SetRestitution_2(changetype<usize>(this), changetype<usize>(inBodyID), inRestitution);
}
GetRestitution(inBodyID: BodyID): f32 {
return _emscripten_bind_BodyInterface_GetRestitution_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
SetFriction(inBodyID: BodyID, inFriction: f32): void {
_emscripten_bind_BodyInterface_SetFriction_2(changetype<usize>(this), changetype<usize>(inBodyID), inFriction);
}
GetFriction(inBodyID: BodyID): f32 {
return _emscripten_bind_BodyInterface_GetFriction_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
SetGravityFactor(inBodyID: BodyID, inFactor: f32): void {
_emscripten_bind_BodyInterface_SetGravityFactor_2(changetype<usize>(this), changetype<usize>(inBodyID), inFactor);
}
GetGravityFactor(inBodyID: BodyID): f32 {
return _emscripten_bind_BodyInterface_GetGravityFactor_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
SetMaxLinearVelocity(inBodyID: BodyID, inLinearVelocity: f32): void {
_emscripten_bind_BodyInterface_SetMaxLinearVelocity_2(changetype<usize>(this), changetype<usize>(inBodyID), inLinearVelocity);
}
GetMaxLinearVelocity(inBodyID: BodyID): f32 {
return _emscripten_bind_BodyInterface_GetMaxLinearVelocity_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
SetMaxAngularVelocity(inBodyID: BodyID, inAngularVelocity: f32): void {
_emscripten_bind_BodyInterface_SetMaxAngularVelocity_2(changetype<usize>(this), changetype<usize>(inBodyID), inAngularVelocity);
}
GetMaxAngularVelocity(inBodyID: BodyID): f32 {
return _emscripten_bind_BodyInterface_GetMaxAngularVelocity_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
SetUseManifoldReduction(inBodyID: BodyID, inUseReduction: bool): void {
_emscripten_bind_BodyInterface_SetUseManifoldReduction_2(changetype<usize>(this), changetype<usize>(inBodyID), inUseReduction);
}
GetUseManifoldReduction(inBodyID: BodyID): bool {
return _emscripten_bind_BodyInterface_GetUseManifoldReduction_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
SetIsSensor(inBodyID: BodyID, inIsSensor: bool): void {
_emscripten_bind_BodyInterface_SetIsSensor_2(changetype<usize>(this), changetype<usize>(inBodyID), inIsSensor);
}
IsSensor(inBodyID: BodyID): bool {
return _emscripten_bind_BodyInterface_IsSensor_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
SetCollisionGroup(inBodyID: BodyID, inCollisionGroup: CollisionGroup): void {
_emscripten_bind_BodyInterface_SetCollisionGroup_2(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inCollisionGroup));
}
GetCollisionGroup(inBodyID: BodyID): CollisionGroup {
return changetype<CollisionGroup>(_emscripten_bind_BodyInterface_GetCollisionGroup_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
AddForce_3(inBodyID: BodyID, inForce: Vec3, inActivationMode: EActivation): void {
_emscripten_bind_BodyInterface_AddForce_3(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inForce), changetype<usize>(inActivationMode));
}
AddForce_4(inBodyID: BodyID, inForce: Vec3, inPoint: RVec3, inActivationMode: EActivation): void {
_emscripten_bind_BodyInterface_AddForce_4(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inForce), changetype<usize>(inPoint), changetype<usize>(inActivationMode));
}
AddTorque(inBodyID: BodyID, inTorque: Vec3, inActivationMode: EActivation): void {
_emscripten_bind_BodyInterface_AddTorque_3(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inTorque), changetype<usize>(inActivationMode));
}
AddForceAndTorque(inBodyID: BodyID, inForce: Vec3, inTorque: Vec3, inActivationMode: EActivation): void {
_emscripten_bind_BodyInterface_AddForceAndTorque_4(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inForce), changetype<usize>(inTorque), changetype<usize>(inActivationMode));
}
ApplyBuoyancyImpulse(inBodyID: BodyID, inSurfacePosition: RVec3, inSurfaceNormal: Vec3, inBuoyancy: f32, inLinearDrag: f32, inAngularDrag: f32, inFluidVelocity: Vec3, inGravity: Vec3, inDeltaTime: f32): bool {
return _emscripten_bind_BodyInterface_ApplyBuoyancyImpulse_9(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inSurfacePosition), changetype<usize>(inSurfaceNormal), inBuoyancy, inLinearDrag, inAngularDrag, changetype<usize>(inFluidVelocity), changetype<usize>(inGravity), inDeltaTime);
}
AddImpulse_2(inBodyID: BodyID, inImpulse: Vec3): void {
_emscripten_bind_BodyInterface_AddImpulse_2(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inImpulse));
}
AddImpulse_3(inBodyID: BodyID, inImpulse: Vec3, inPosition: RVec3): void {
_emscripten_bind_BodyInterface_AddImpulse_3(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inImpulse), changetype<usize>(inPosition));
}
AddAngularImpulse(inBodyID: BodyID, inAngularImpulse: Vec3): void {
_emscripten_bind_BodyInterface_AddAngularImpulse_2(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inAngularImpulse));
}
GetTransformedShape(inBodyID: BodyID): TransformedShape {
return changetype<TransformedShape>(_emscripten_bind_BodyInterface_GetTransformedShape_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
GetUserData(inBodyID: BodyID): i32 {
return _emscripten_bind_BodyInterface_GetUserData_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
SetUserData(inBodyID: BodyID, inUserData: i32): void {
_emscripten_bind_BodyInterface_SetUserData_2(changetype<usize>(this), changetype<usize>(inBodyID), inUserData);
}
GetMaterial(inBodyID: BodyID, inSubShapeID: SubShapeID): PhysicsMaterial {
return changetype<PhysicsMaterial>(_emscripten_bind_BodyInterface_GetMaterial_2(changetype<usize>(this), changetype<usize>(inBodyID), changetype<usize>(inSubShapeID)));
}
InvalidateContactCache(inBodyID: BodyID): void {
_emscripten_bind_BodyInterface_InvalidateContactCache_1(changetype<usize>(this), changetype<usize>(inBodyID));
}
}
@external("Jolt", "_emscripten_bind_StateRecorderFilter___destroy___0")
declare function _emscripten_bind_StateRecorderFilter___destroy___0(self: usize): void;
@final
@unmanaged
export class StateRecorderFilter {
__destroy__(): void {
_emscripten_bind_StateRecorderFilter___destroy___0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_StateRecorderFilterJS_StateRecorderFilterJS_0")
declare function _emscripten_bind_StateRecorderFilterJS_StateRecorderFilterJS_0(): usize;
@external("Jolt", "_emscripten_bind_StateRecorderFilterJS___destroy___0")
declare function _emscripten_bind_StateRecorderFilterJS___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_StateRecorderFilterJS_ShouldSaveBody_1")
declare function _emscripten_bind_StateRecorderFilterJS_ShouldSaveBody_1(self: usize, inBody: usize): usize;
@external("Jolt", "_emscripten_bind_StateRecorderFilterJS_ShouldSaveConstraint_1")
declare function _emscripten_bind_StateRecorderFilterJS_ShouldSaveConstraint_1(self: usize, inConstraint: usize): usize;
@external("Jolt", "_emscripten_bind_StateRecorderFilterJS_ShouldSaveContact_2")
declare function _emscripten_bind_StateRecorderFilterJS_ShouldSaveContact_2(self: usize, inBody1: usize, inBody2: usize): usize;
@external("Jolt", "_emscripten_bind_StateRecorderFilterJS_ShouldRestoreContact_2")
declare function _emscripten_bind_StateRecorderFilterJS_ShouldRestoreContact_2(self: usize, inBody1: usize, inBody2: usize): usize;
@final
@unmanaged
export class StateRecorderFilterJS {
static new(): StateRecorderFilterJS {
return changetype<StateRecorderFilterJS>(_emscripten_bind_StateRecorderFilterJS_StateRecorderFilterJS_0());
}
__destroy__(): void {
_emscripten_bind_StateRecorderFilterJS___destroy___0(changetype<usize>(this));
}
ShouldSaveBody(inBody: Body): bool {
return _emscripten_bind_StateRecorderFilterJS_ShouldSaveBody_1(changetype<usize>(this), changetype<usize>(inBody));
}
ShouldSaveConstraint(inConstraint: Constraint): bool {
return _emscripten_bind_StateRecorderFilterJS_ShouldSaveConstraint_1(changetype<usize>(this), changetype<usize>(inConstraint));
}
ShouldSaveContact(inBody1: BodyID, inBody2: BodyID): bool {
return _emscripten_bind_StateRecorderFilterJS_ShouldSaveContact_2(changetype<usize>(this), changetype<usize>(inBody1), changetype<usize>(inBody2));
}
ShouldRestoreContact(inBody1: BodyID, inBody2: BodyID): bool {
return _emscripten_bind_StateRecorderFilterJS_ShouldRestoreContact_2(changetype<usize>(this), changetype<usize>(inBody1), changetype<usize>(inBody2));
}
}
@external("Jolt", "_emscripten_bind_StateRecorder___destroy___0")
declare function _emscripten_bind_StateRecorder___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_StateRecorder_SetValidating_1")
declare function _emscripten_bind_StateRecorder_SetValidating_1(self: usize, inValidating: usize): void;
@external("Jolt", "_emscripten_bind_StateRecorder_IsValidating_0")
declare function _emscripten_bind_StateRecorder_IsValidating_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StateRecorder_SetIsLastPart_1")
declare function _emscripten_bind_StateRecorder_SetIsLastPart_1(self: usize, inIsLastPart: usize): void;
@external("Jolt", "_emscripten_bind_StateRecorder_IsLastPart_0")
declare function _emscripten_bind_StateRecorder_IsLastPart_0(self: usize): usize;
@final
@unmanaged
export class StateRecorder {
__destroy__(): void {
_emscripten_bind_StateRecorder___destroy___0(changetype<usize>(this));
}
SetValidating(inValidating: bool): void {
_emscripten_bind_StateRecorder_SetValidating_1(changetype<usize>(this), inValidating);
}
IsValidating(): bool {
return _emscripten_bind_StateRecorder_IsValidating_0(changetype<usize>(this));
}
SetIsLastPart(inIsLastPart: bool): void {
_emscripten_bind_StateRecorder_SetIsLastPart_1(changetype<usize>(this), inIsLastPart);
}
IsLastPart(): bool {
return _emscripten_bind_StateRecorder_IsLastPart_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_StateRecorderEm___destroy___0")
declare function _emscripten_bind_StateRecorderEm___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_StateRecorderEm_SetValidating_1")
declare function _emscripten_bind_StateRecorderEm_SetValidating_1(self: usize, inValidating: usize): void;
@external("Jolt", "_emscripten_bind_StateRecorderEm_IsValidating_0")
declare function _emscripten_bind_StateRecorderEm_IsValidating_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StateRecorderEm_SetIsLastPart_1")
declare function _emscripten_bind_StateRecorderEm_SetIsLastPart_1(self: usize, inIsLastPart: usize): void;
@external("Jolt", "_emscripten_bind_StateRecorderEm_IsLastPart_0")
declare function _emscripten_bind_StateRecorderEm_IsLastPart_0(self: usize): usize;
@final
@unmanaged
export class StateRecorderEm {
__destroy__(): void {
_emscripten_bind_StateRecorderEm___destroy___0(changetype<usize>(this));
}
SetValidating(inValidating: bool): void {
_emscripten_bind_StateRecorderEm_SetValidating_1(changetype<usize>(this), inValidating);
}
IsValidating(): bool {
return _emscripten_bind_StateRecorderEm_IsValidating_0(changetype<usize>(this));
}
SetIsLastPart(inIsLastPart: bool): void {
_emscripten_bind_StateRecorderEm_SetIsLastPart_1(changetype<usize>(this), inIsLastPart);
}
IsLastPart(): bool {
return _emscripten_bind_StateRecorderEm_IsLastPart_0(changetype<usize>(this));
}
asStateRecorder(): StateRecorder {
return changetype<StateRecorder>(this);
}
}
@external("Jolt", "_emscripten_bind_StateRecorderJS_StateRecorderJS_0")
declare function _emscripten_bind_StateRecorderJS_StateRecorderJS_0(): usize;
@external("Jolt", "_emscripten_bind_StateRecorderJS___destroy___0")
declare function _emscripten_bind_StateRecorderJS___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_StateRecorderJS_ReadBytes_2")
declare function _emscripten_bind_StateRecorderJS_ReadBytes_2(self: usize, outData: usize, inNumBytes: usize): void;
@external("Jolt", "_emscripten_bind_StateRecorderJS_WriteBytes_2")
declare function _emscripten_bind_StateRecorderJS_WriteBytes_2(self: usize, inData: usize, inNumBytes: usize): void;
@external("Jolt", "_emscripten_bind_StateRecorderJS_IsEOF_0")
declare function _emscripten_bind_StateRecorderJS_IsEOF_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StateRecorderJS_IsFailed_0")
declare function _emscripten_bind_StateRecorderJS_IsFailed_0(self: usize): usize;
@final
@unmanaged
export class StateRecorderJS {
static new(): StateRecorderJS {
return changetype<StateRecorderJS>(_emscripten_bind_StateRecorderJS_StateRecorderJS_0());
}
__destroy__(): void {
_emscripten_bind_StateRecorderJS___destroy___0(changetype<usize>(this));
}
ReadBytes(outData: i32, inNumBytes: i32): void {
_emscripten_bind_StateRecorderJS_ReadBytes_2(changetype<usize>(this), outData, inNumBytes);
}
WriteBytes(inData: i32, inNumBytes: i32): void {
_emscripten_bind_StateRecorderJS_WriteBytes_2(changetype<usize>(this), inData, inNumBytes);
}
IsEOF(): bool {
return _emscripten_bind_StateRecorderJS_IsEOF_0(changetype<usize>(this));
}
IsFailed(): bool {
return _emscripten_bind_StateRecorderJS_IsFailed_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_StateRecorderImpl_StateRecorderImpl_0")
declare function _emscripten_bind_StateRecorderImpl_StateRecorderImpl_0(): usize;
@external("Jolt", "_emscripten_bind_StateRecorderImpl___destroy___0")
declare function _emscripten_bind_StateRecorderImpl___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_StateRecorderImpl_Clear_0")
declare function _emscripten_bind_StateRecorderImpl_Clear_0(self: usize): void;
@external("Jolt", "_emscripten_bind_StateRecorderImpl_Rewind_0")
declare function _emscripten_bind_StateRecorderImpl_Rewind_0(self: usize): void;
@external("Jolt", "_emscripten_bind_StateRecorderImpl_IsEqual_1")
declare function _emscripten_bind_StateRecorderImpl_IsEqual_1(self: usize, inReference: usize): usize;
@external("Jolt", "_emscripten_bind_StateRecorderImpl_SetValidating_1")
declare function _emscripten_bind_StateRecorderImpl_SetValidating_1(self: usize, inValidating: usize): void;
@external("Jolt", "_emscripten_bind_StateRecorderImpl_IsValidating_0")
declare function _emscripten_bind_StateRecorderImpl_IsValidating_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_StateRecorderImpl_SetIsLastPart_1")
declare function _emscripten_bind_StateRecorderImpl_SetIsLastPart_1(self: usize, inIsLastPart: usize): void;
@external("Jolt", "_emscripten_bind_StateRecorderImpl_IsLastPart_0")
declare function _emscripten_bind_StateRecorderImpl_IsLastPart_0(self: usize): usize;
@final
@unmanaged
export class StateRecorderImpl {
static new(): StateRecorderImpl {
return changetype<StateRecorderImpl>(_emscripten_bind_StateRecorderImpl_StateRecorderImpl_0());
}
__destroy__(): void {
_emscripten_bind_StateRecorderImpl___destroy___0(changetype<usize>(this));
}
Clear(): void {
_emscripten_bind_StateRecorderImpl_Clear_0(changetype<usize>(this));
}
Rewind(): void {
_emscripten_bind_StateRecorderImpl_Rewind_0(changetype<usize>(this));
}
IsEqual(inReference: StateRecorderImpl): bool {
return _emscripten_bind_StateRecorderImpl_IsEqual_1(changetype<usize>(this), changetype<usize>(inReference));
}
SetValidating(inValidating: bool): void {
_emscripten_bind_StateRecorderImpl_SetValidating_1(changetype<usize>(this), inValidating);
}
IsValidating(): bool {
return _emscripten_bind_StateRecorderImpl_IsValidating_0(changetype<usize>(this));
}
SetIsLastPart(inIsLastPart: bool): void {
_emscripten_bind_StateRecorderImpl_SetIsLastPart_1(changetype<usize>(this), inIsLastPart);
}
IsLastPart(): bool {
return _emscripten_bind_StateRecorderImpl_IsLastPart_0(changetype<usize>(this));
}
asStateRecorder(): StateRecorder {
return changetype<StateRecorder>(this);
}
}
@external("Jolt", "_emscripten_bind_BodyLockInterface___destroy___0")
declare function _emscripten_bind_BodyLockInterface___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_BodyLockInterface_TryGetBody_1")
declare function _emscripten_bind_BodyLockInterface_TryGetBody_1(self: usize, inBodyID: usize): usize;
@final
@unmanaged
export class BodyLockInterface {
__destroy__(): void {
_emscripten_bind_BodyLockInterface___destroy___0(changetype<usize>(this));
}
TryGetBody(inBodyID: BodyID): Body {
return changetype<Body>(_emscripten_bind_BodyLockInterface_TryGetBody_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
}
@external("Jolt", "_emscripten_bind_BodyLockInterfaceNoLock___destroy___0")
declare function _emscripten_bind_BodyLockInterfaceNoLock___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_BodyLockInterfaceNoLock_TryGetBody_1")
declare function _emscripten_bind_BodyLockInterfaceNoLock_TryGetBody_1(self: usize, inBodyID: usize): usize;
@final
@unmanaged
export class BodyLockInterfaceNoLock {
__destroy__(): void {
_emscripten_bind_BodyLockInterfaceNoLock___destroy___0(changetype<usize>(this));
}
TryGetBody(inBodyID: BodyID): Body {
return changetype<Body>(_emscripten_bind_BodyLockInterfaceNoLock_TryGetBody_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
asBodyLockInterface(): BodyLockInterface {
return changetype<BodyLockInterface>(this);
}
}
@external("Jolt", "_emscripten_bind_BodyLockInterfaceLocking___destroy___0")
declare function _emscripten_bind_BodyLockInterfaceLocking___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_BodyLockInterfaceLocking_TryGetBody_1")
declare function _emscripten_bind_BodyLockInterfaceLocking_TryGetBody_1(self: usize, inBodyID: usize): usize;
@final
@unmanaged
export class BodyLockInterfaceLocking {
__destroy__(): void {
_emscripten_bind_BodyLockInterfaceLocking___destroy___0(changetype<usize>(this));
}
TryGetBody(inBodyID: BodyID): Body {
return changetype<Body>(_emscripten_bind_BodyLockInterfaceLocking_TryGetBody_1(changetype<usize>(this), changetype<usize>(inBodyID)));
}
asBodyLockInterface(): BodyLockInterface {
return changetype<BodyLockInterface>(this);
}
}
@external("Jolt", "_emscripten_bind_PhysicsSettings_PhysicsSettings_0")
declare function _emscripten_bind_PhysicsSettings_PhysicsSettings_0(): usize;
@external("Jolt", "_emscripten_bind_PhysicsSettings___destroy___0")
declare function _emscripten_bind_PhysicsSettings___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mMaxInFlightBodyPairs_0")
declare function _emscripten_bind_PhysicsSettings_get_mMaxInFlightBodyPairs_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mStepListenersBatchSize_0")
declare function _emscripten_bind_PhysicsSettings_get_mStepListenersBatchSize_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mStepListenerBatchesPerJob_0")
declare function _emscripten_bind_PhysicsSettings_get_mStepListenerBatchesPerJob_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mBaumgarte_0")
declare function _emscripten_bind_PhysicsSettings_get_mBaumgarte_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mSpeculativeContactDistance_0")
declare function _emscripten_bind_PhysicsSettings_get_mSpeculativeContactDistance_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mPenetrationSlop_0")
declare function _emscripten_bind_PhysicsSettings_get_mPenetrationSlop_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mLinearCastThreshold_0")
declare function _emscripten_bind_PhysicsSettings_get_mLinearCastThreshold_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mLinearCastMaxPenetration_0")
declare function _emscripten_bind_PhysicsSettings_get_mLinearCastMaxPenetration_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mManifoldTolerance_0")
declare function _emscripten_bind_PhysicsSettings_get_mManifoldTolerance_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mMaxPenetrationDistance_0")
declare function _emscripten_bind_PhysicsSettings_get_mMaxPenetrationDistance_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mBodyPairCacheMaxDeltaPositionSq_0")
declare function _emscripten_bind_PhysicsSettings_get_mBodyPairCacheMaxDeltaPositionSq_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mBodyPairCacheCosMaxDeltaRotationDiv2_0")
declare function _emscripten_bind_PhysicsSettings_get_mBodyPairCacheCosMaxDeltaRotationDiv2_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mContactNormalCosMaxDeltaRotation_0")
declare function _emscripten_bind_PhysicsSettings_get_mContactNormalCosMaxDeltaRotation_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mContactPointPreserveLambdaMaxDistSq_0")
declare function _emscripten_bind_PhysicsSettings_get_mContactPointPreserveLambdaMaxDistSq_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mNumVelocitySteps_0")
declare function _emscripten_bind_PhysicsSettings_get_mNumVelocitySteps_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mNumPositionSteps_0")
declare function _emscripten_bind_PhysicsSettings_get_mNumPositionSteps_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mMinVelocityForRestitution_0")
declare function _emscripten_bind_PhysicsSettings_get_mMinVelocityForRestitution_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mTimeBeforeSleep_0")
declare function _emscripten_bind_PhysicsSettings_get_mTimeBeforeSleep_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mPointVelocitySleepThreshold_0")
declare function _emscripten_bind_PhysicsSettings_get_mPointVelocitySleepThreshold_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mDeterministicSimulation_0")
declare function _emscripten_bind_PhysicsSettings_get_mDeterministicSimulation_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mConstraintWarmStart_0")
declare function _emscripten_bind_PhysicsSettings_get_mConstraintWarmStart_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mUseBodyPairContactCache_0")
declare function _emscripten_bind_PhysicsSettings_get_mUseBodyPairContactCache_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mUseManifoldReduction_0")
declare function _emscripten_bind_PhysicsSettings_get_mUseManifoldReduction_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mUseLargeIslandSplitter_0")
declare function _emscripten_bind_PhysicsSettings_get_mUseLargeIslandSplitter_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mAllowSleeping_0")
declare function _emscripten_bind_PhysicsSettings_get_mAllowSleeping_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsSettings_get_mCheckActiveEdges_0")
declare function _emscripten_bind_PhysicsSettings_get_mCheckActiveEdges_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mMaxInFlightBodyPairs_1")
declare function _emscripten_bind_PhysicsSettings_set_mMaxInFlightBodyPairs_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mStepListenersBatchSize_1")
declare function _emscripten_bind_PhysicsSettings_set_mStepListenersBatchSize_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mStepListenerBatchesPerJob_1")
declare function _emscripten_bind_PhysicsSettings_set_mStepListenerBatchesPerJob_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mBaumgarte_1")
declare function _emscripten_bind_PhysicsSettings_set_mBaumgarte_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mSpeculativeContactDistance_1")
declare function _emscripten_bind_PhysicsSettings_set_mSpeculativeContactDistance_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mPenetrationSlop_1")
declare function _emscripten_bind_PhysicsSettings_set_mPenetrationSlop_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mLinearCastThreshold_1")
declare function _emscripten_bind_PhysicsSettings_set_mLinearCastThreshold_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mLinearCastMaxPenetration_1")
declare function _emscripten_bind_PhysicsSettings_set_mLinearCastMaxPenetration_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mManifoldTolerance_1")
declare function _emscripten_bind_PhysicsSettings_set_mManifoldTolerance_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mMaxPenetrationDistance_1")
declare function _emscripten_bind_PhysicsSettings_set_mMaxPenetrationDistance_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mBodyPairCacheMaxDeltaPositionSq_1")
declare function _emscripten_bind_PhysicsSettings_set_mBodyPairCacheMaxDeltaPositionSq_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mBodyPairCacheCosMaxDeltaRotationDiv2_1")
declare function _emscripten_bind_PhysicsSettings_set_mBodyPairCacheCosMaxDeltaRotationDiv2_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mContactNormalCosMaxDeltaRotation_1")
declare function _emscripten_bind_PhysicsSettings_set_mContactNormalCosMaxDeltaRotation_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mContactPointPreserveLambdaMaxDistSq_1")
declare function _emscripten_bind_PhysicsSettings_set_mContactPointPreserveLambdaMaxDistSq_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mNumVelocitySteps_1")
declare function _emscripten_bind_PhysicsSettings_set_mNumVelocitySteps_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mNumPositionSteps_1")
declare function _emscripten_bind_PhysicsSettings_set_mNumPositionSteps_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mMinVelocityForRestitution_1")
declare function _emscripten_bind_PhysicsSettings_set_mMinVelocityForRestitution_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mTimeBeforeSleep_1")
declare function _emscripten_bind_PhysicsSettings_set_mTimeBeforeSleep_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mPointVelocitySleepThreshold_1")
declare function _emscripten_bind_PhysicsSettings_set_mPointVelocitySleepThreshold_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mDeterministicSimulation_1")
declare function _emscripten_bind_PhysicsSettings_set_mDeterministicSimulation_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mConstraintWarmStart_1")
declare function _emscripten_bind_PhysicsSettings_set_mConstraintWarmStart_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mUseBodyPairContactCache_1")
declare function _emscripten_bind_PhysicsSettings_set_mUseBodyPairContactCache_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mUseManifoldReduction_1")
declare function _emscripten_bind_PhysicsSettings_set_mUseManifoldReduction_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mUseLargeIslandSplitter_1")
declare function _emscripten_bind_PhysicsSettings_set_mUseLargeIslandSplitter_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mAllowSleeping_1")
declare function _emscripten_bind_PhysicsSettings_set_mAllowSleeping_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_PhysicsSettings_set_mCheckActiveEdges_1")
declare function _emscripten_bind_PhysicsSettings_set_mCheckActiveEdges_1(self: usize, value: usize): void;
@final
@unmanaged
export class PhysicsSettings {
static new(): PhysicsSettings {
return changetype<PhysicsSettings>(_emscripten_bind_PhysicsSettings_PhysicsSettings_0());
}
__destroy__(): void {
_emscripten_bind_PhysicsSettings___destroy___0(changetype<usize>(this));
}
get mMaxInFlightBodyPairs(): i32 {
return _emscripten_bind_PhysicsSettings_get_mMaxInFlightBodyPairs_0(changetype<usize>(this));
}
get mStepListenersBatchSize(): i32 {
return _emscripten_bind_PhysicsSettings_get_mStepListenersBatchSize_0(changetype<usize>(this));
}
get mStepListenerBatchesPerJob(): i32 {
return _emscripten_bind_PhysicsSettings_get_mStepListenerBatchesPerJob_0(changetype<usize>(this));
}
get mBaumgarte(): f32 {
return _emscripten_bind_PhysicsSettings_get_mBaumgarte_0(changetype<usize>(this));
}
get mSpeculativeContactDistance(): f32 {
return _emscripten_bind_PhysicsSettings_get_mSpeculativeContactDistance_0(changetype<usize>(this));
}
get mPenetrationSlop(): f32 {
return _emscripten_bind_PhysicsSettings_get_mPenetrationSlop_0(changetype<usize>(this));
}
get mLinearCastThreshold(): f32 {
return _emscripten_bind_PhysicsSettings_get_mLinearCastThreshold_0(changetype<usize>(this));
}
get mLinearCastMaxPenetration(): f32 {
return _emscripten_bind_PhysicsSettings_get_mLinearCastMaxPenetration_0(changetype<usize>(this));
}
get mManifoldTolerance(): f32 {
return _emscripten_bind_PhysicsSettings_get_mManifoldTolerance_0(changetype<usize>(this));
}
get mMaxPenetrationDistance(): f32 {
return _emscripten_bind_PhysicsSettings_get_mMaxPenetrationDistance_0(changetype<usize>(this));
}
get mBodyPairCacheMaxDeltaPositionSq(): f32 {
return _emscripten_bind_PhysicsSettings_get_mBodyPairCacheMaxDeltaPositionSq_0(changetype<usize>(this));
}
get mBodyPairCacheCosMaxDeltaRotationDiv2(): f32 {
return _emscripten_bind_PhysicsSettings_get_mBodyPairCacheCosMaxDeltaRotationDiv2_0(changetype<usize>(this));
}
get mContactNormalCosMaxDeltaRotation(): f32 {
return _emscripten_bind_PhysicsSettings_get_mContactNormalCosMaxDeltaRotation_0(changetype<usize>(this));
}
get mContactPointPreserveLambdaMaxDistSq(): f32 {
return _emscripten_bind_PhysicsSettings_get_mContactPointPreserveLambdaMaxDistSq_0(changetype<usize>(this));
}
get mNumVelocitySteps(): i32 {
return _emscripten_bind_PhysicsSettings_get_mNumVelocitySteps_0(changetype<usize>(this));
}
get mNumPositionSteps(): i32 {
return _emscripten_bind_PhysicsSettings_get_mNumPositionSteps_0(changetype<usize>(this));
}
get mMinVelocityForRestitution(): f32 {
return _emscripten_bind_PhysicsSettings_get_mMinVelocityForRestitution_0(changetype<usize>(this));
}
get mTimeBeforeSleep(): f32 {
return _emscripten_bind_PhysicsSettings_get_mTimeBeforeSleep_0(changetype<usize>(this));
}
get mPointVelocitySleepThreshold(): f32 {
return _emscripten_bind_PhysicsSettings_get_mPointVelocitySleepThreshold_0(changetype<usize>(this));
}
get mDeterministicSimulation(): bool {
return _emscripten_bind_PhysicsSettings_get_mDeterministicSimulation_0(changetype<usize>(this));
}
get mConstraintWarmStart(): bool {
return _emscripten_bind_PhysicsSettings_get_mConstraintWarmStart_0(changetype<usize>(this));
}
get mUseBodyPairContactCache(): bool {
return _emscripten_bind_PhysicsSettings_get_mUseBodyPairContactCache_0(changetype<usize>(this));
}
get mUseManifoldReduction(): bool {
return _emscripten_bind_PhysicsSettings_get_mUseManifoldReduction_0(changetype<usize>(this));
}
get mUseLargeIslandSplitter(): bool {
return _emscripten_bind_PhysicsSettings_get_mUseLargeIslandSplitter_0(changetype<usize>(this));
}
get mAllowSleeping(): bool {
return _emscripten_bind_PhysicsSettings_get_mAllowSleeping_0(changetype<usize>(this));
}
get mCheckActiveEdges(): bool {
return _emscripten_bind_PhysicsSettings_get_mCheckActiveEdges_0(changetype<usize>(this));
}
set mMaxInFlightBodyPairs(value: i32) {
_emscripten_bind_PhysicsSettings_set_mMaxInFlightBodyPairs_1(changetype<usize>(this), value);
}
set mStepListenersBatchSize(value: i32) {
_emscripten_bind_PhysicsSettings_set_mStepListenersBatchSize_1(changetype<usize>(this), value);
}
set mStepListenerBatchesPerJob(value: i32) {
_emscripten_bind_PhysicsSettings_set_mStepListenerBatchesPerJob_1(changetype<usize>(this), value);
}
set mBaumgarte(value: f32) {
_emscripten_bind_PhysicsSettings_set_mBaumgarte_1(changetype<usize>(this), value);
}
set mSpeculativeContactDistance(value: f32) {
_emscripten_bind_PhysicsSettings_set_mSpeculativeContactDistance_1(changetype<usize>(this), value);
}
set mPenetrationSlop(value: f32) {
_emscripten_bind_PhysicsSettings_set_mPenetrationSlop_1(changetype<usize>(this), value);
}
set mLinearCastThreshold(value: f32) {
_emscripten_bind_PhysicsSettings_set_mLinearCastThreshold_1(changetype<usize>(this), value);
}
set mLinearCastMaxPenetration(value: f32) {
_emscripten_bind_PhysicsSettings_set_mLinearCastMaxPenetration_1(changetype<usize>(this), value);
}
set mManifoldTolerance(value: f32) {
_emscripten_bind_PhysicsSettings_set_mManifoldTolerance_1(changetype<usize>(this), value);
}
set mMaxPenetrationDistance(value: f32) {
_emscripten_bind_PhysicsSettings_set_mMaxPenetrationDistance_1(changetype<usize>(this), value);
}
set mBodyPairCacheMaxDeltaPositionSq(value: f32) {
_emscripten_bind_PhysicsSettings_set_mBodyPairCacheMaxDeltaPositionSq_1(changetype<usize>(this), value);
}
set mBodyPairCacheCosMaxDeltaRotationDiv2(value: f32) {
_emscripten_bind_PhysicsSettings_set_mBodyPairCacheCosMaxDeltaRotationDiv2_1(changetype<usize>(this), value);
}
set mContactNormalCosMaxDeltaRotation(value: f32) {
_emscripten_bind_PhysicsSettings_set_mContactNormalCosMaxDeltaRotation_1(changetype<usize>(this), value);
}
set mContactPointPreserveLambdaMaxDistSq(value: f32) {
_emscripten_bind_PhysicsSettings_set_mContactPointPreserveLambdaMaxDistSq_1(changetype<usize>(this), value);
}
set mNumVelocitySteps(value: i32) {
_emscripten_bind_PhysicsSettings_set_mNumVelocitySteps_1(changetype<usize>(this), value);
}
set mNumPositionSteps(value: i32) {
_emscripten_bind_PhysicsSettings_set_mNumPositionSteps_1(changetype<usize>(this), value);
}
set mMinVelocityForRestitution(value: f32) {
_emscripten_bind_PhysicsSettings_set_mMinVelocityForRestitution_1(changetype<usize>(this), value);
}
set mTimeBeforeSleep(value: f32) {
_emscripten_bind_PhysicsSettings_set_mTimeBeforeSleep_1(changetype<usize>(this), value);
}
set mPointVelocitySleepThreshold(value: f32) {
_emscripten_bind_PhysicsSettings_set_mPointVelocitySleepThreshold_1(changetype<usize>(this), value);
}
set mDeterministicSimulation(value: bool) {
_emscripten_bind_PhysicsSettings_set_mDeterministicSimulation_1(changetype<usize>(this), value);
}
set mConstraintWarmStart(value: bool) {
_emscripten_bind_PhysicsSettings_set_mConstraintWarmStart_1(changetype<usize>(this), value);
}
set mUseBodyPairContactCache(value: bool) {
_emscripten_bind_PhysicsSettings_set_mUseBodyPairContactCache_1(changetype<usize>(this), value);
}
set mUseManifoldReduction(value: bool) {
_emscripten_bind_PhysicsSettings_set_mUseManifoldReduction_1(changetype<usize>(this), value);
}
set mUseLargeIslandSplitter(value: bool) {
_emscripten_bind_PhysicsSettings_set_mUseLargeIslandSplitter_1(changetype<usize>(this), value);
}
set mAllowSleeping(value: bool) {
_emscripten_bind_PhysicsSettings_set_mAllowSleeping_1(changetype<usize>(this), value);
}
set mCheckActiveEdges(value: bool) {
_emscripten_bind_PhysicsSettings_set_mCheckActiveEdges_1(changetype<usize>(this), value);
}
}
@external("Jolt", "_emscripten_bind_CollideShapeResultFace___destroy___0")
declare function _emscripten_bind_CollideShapeResultFace___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_CollideShapeResultFace_empty_0")
declare function _emscripten_bind_CollideShapeResultFace_empty_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CollideShapeResultFace_size_0")
declare function _emscripten_bind_CollideShapeResultFace_size_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CollideShapeResultFace_at_1")
declare function _emscripten_bind_CollideShapeResultFace_at_1(self: usize, inIndex: usize): usize;
@external("Jolt", "_emscripten_bind_CollideShapeResultFace_push_back_1")
declare function _emscripten_bind_CollideShapeResultFace_push_back_1(self: usize, inValue: usize): void;
@external("Jolt", "_emscripten_bind_CollideShapeResultFace_resize_1")
declare function _emscripten_bind_CollideShapeResultFace_resize_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_CollideShapeResultFace_clear_0")
declare function _emscripten_bind_CollideShapeResultFace_clear_0(self: usize): void;
@final
@unmanaged
export class CollideShapeResultFace {
__destroy__(): void {
_emscripten_bind_CollideShapeResultFace___destroy___0(changetype<usize>(this));
}
empty(): bool {
return _emscripten_bind_CollideShapeResultFace_empty_0(changetype<usize>(this));
}
size(): i32 {
return _emscripten_bind_CollideShapeResultFace_size_0(changetype<usize>(this));
}
at(inIndex: i32): Vec3 {
return changetype<Vec3>(_emscripten_bind_CollideShapeResultFace_at_1(changetype<usize>(this), inIndex));
}
push_back(inValue: Vec3): void {
_emscripten_bind_CollideShapeResultFace_push_back_1(changetype<usize>(this), changetype<usize>(inValue));
}
resize(inSize: i32): void {
_emscripten_bind_CollideShapeResultFace_resize_1(changetype<usize>(this), inSize);
}
clear(): void {
_emscripten_bind_CollideShapeResultFace_clear_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_CollideShapeResult_CollideShapeResult_0")
declare function _emscripten_bind_CollideShapeResult_CollideShapeResult_0(): usize;
@external("Jolt", "_emscripten_bind_CollideShapeResult___destroy___0")
declare function _emscripten_bind_CollideShapeResult___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_CollideShapeResult_get_mContactPointOn1_0")
declare function _emscripten_bind_CollideShapeResult_get_mContactPointOn1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CollideShapeResult_get_mContactPointOn2_0")
declare function _emscripten_bind_CollideShapeResult_get_mContactPointOn2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CollideShapeResult_get_mPenetrationAxis_0")
declare function _emscripten_bind_CollideShapeResult_get_mPenetrationAxis_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CollideShapeResult_get_mPenetrationDepth_0")
declare function _emscripten_bind_CollideShapeResult_get_mPenetrationDepth_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_CollideShapeResult_get_mSubShapeID1_0")
declare function _emscripten_bind_CollideShapeResult_get_mSubShapeID1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CollideShapeResult_get_mSubShapeID2_0")
declare function _emscripten_bind_CollideShapeResult_get_mSubShapeID2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CollideShapeResult_get_mBodyID2_0")
declare function _emscripten_bind_CollideShapeResult_get_mBodyID2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CollideShapeResult_get_mShape1Face_0")
declare function _emscripten_bind_CollideShapeResult_get_mShape1Face_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CollideShapeResult_get_mShape2Face_0")
declare function _emscripten_bind_CollideShapeResult_get_mShape2Face_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_CollideShapeResult_set_mContactPointOn1_1")
declare function _emscripten_bind_CollideShapeResult_set_mContactPointOn1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_CollideShapeResult_set_mContactPointOn2_1")
declare function _emscripten_bind_CollideShapeResult_set_mContactPointOn2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_CollideShapeResult_set_mPenetrationAxis_1")
declare function _emscripten_bind_CollideShapeResult_set_mPenetrationAxis_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_CollideShapeResult_set_mPenetrationDepth_1")
declare function _emscripten_bind_CollideShapeResult_set_mPenetrationDepth_1(self: usize, value: f32): void;
@external("Jolt", "_emscripten_bind_CollideShapeResult_set_mSubShapeID1_1")
declare function _emscripten_bind_CollideShapeResult_set_mSubShapeID1_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_CollideShapeResult_set_mSubShapeID2_1")
declare function _emscripten_bind_CollideShapeResult_set_mSubShapeID2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_CollideShapeResult_set_mBodyID2_1")
declare function _emscripten_bind_CollideShapeResult_set_mBodyID2_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_CollideShapeResult_set_mShape1Face_1")
declare function _emscripten_bind_CollideShapeResult_set_mShape1Face_1(self: usize, value: usize): void;
@external("Jolt", "_emscripten_bind_CollideShapeResult_set_mShape2Face_1")
declare function _emscripten_bind_CollideShapeResult_set_mShape2Face_1(self: usize, value: usize): void;
@final
@unmanaged
export class CollideShapeResult {
static new(): CollideShapeResult {
return changetype<CollideShapeResult>(_emscripten_bind_CollideShapeResult_CollideShapeResult_0());
}
__destroy__(): void {
_emscripten_bind_CollideShapeResult___destroy___0(changetype<usize>(this));
}
get mContactPointOn1(): Vec3 {
return changetype<Vec3>(_emscripten_bind_CollideShapeResult_get_mContactPointOn1_0(changetype<usize>(this)));
}
get mContactPointOn2(): Vec3 {
return changetype<Vec3>(_emscripten_bind_CollideShapeResult_get_mContactPointOn2_0(changetype<usize>(this)));
}
get mPenetrationAxis(): Vec3 {
return changetype<Vec3>(_emscripten_bind_CollideShapeResult_get_mPenetrationAxis_0(changetype<usize>(this)));
}
get mPenetrationDepth(): f32 {
return _emscripten_bind_CollideShapeResult_get_mPenetrationDepth_0(changetype<usize>(this));
}
get mSubShapeID1(): SubShapeID {
return changetype<SubShapeID>(_emscripten_bind_CollideShapeResult_get_mSubShapeID1_0(changetype<usize>(this)));
}
get mSubShapeID2(): SubShapeID {
return changetype<SubShapeID>(_emscripten_bind_CollideShapeResult_get_mSubShapeID2_0(changetype<usize>(this)));
}
get mBodyID2(): BodyID {
return changetype<BodyID>(_emscripten_bind_CollideShapeResult_get_mBodyID2_0(changetype<usize>(this)));
}
get mShape1Face(): CollideShapeResultFace {
return changetype<CollideShapeResultFace>(_emscripten_bind_CollideShapeResult_get_mShape1Face_0(changetype<usize>(this)));
}
get mShape2Face(): CollideShapeResultFace {
return changetype<CollideShapeResultFace>(_emscripten_bind_CollideShapeResult_get_mShape2Face_0(changetype<usize>(this)));
}
set mContactPointOn1(value: Vec3) {
_emscripten_bind_CollideShapeResult_set_mContactPointOn1_1(changetype<usize>(this), changetype<usize>(value));
}
set mContactPointOn2(value: Vec3) {
_emscripten_bind_CollideShapeResult_set_mContactPointOn2_1(changetype<usize>(this), changetype<usize>(value));
}
set mPenetrationAxis(value: Vec3) {
_emscripten_bind_CollideShapeResult_set_mPenetrationAxis_1(changetype<usize>(this), changetype<usize>(value));
}
set mPenetrationDepth(value: f32) {
_emscripten_bind_CollideShapeResult_set_mPenetrationDepth_1(changetype<usize>(this), value);
}
set mSubShapeID1(value: SubShapeID) {
_emscripten_bind_CollideShapeResult_set_mSubShapeID1_1(changetype<usize>(this), changetype<usize>(value));
}
set mSubShapeID2(value: SubShapeID) {
_emscripten_bind_CollideShapeResult_set_mSubShapeID2_1(changetype<usize>(this), changetype<usize>(value));
}
set mBodyID2(value: BodyID) {
_emscripten_bind_CollideShapeResult_set_mBodyID2_1(changetype<usize>(this), changetype<usize>(value));
}
set mShape1Face(value: CollideShapeResultFace) {
_emscripten_bind_CollideShapeResult_set_mShape1Face_1(changetype<usize>(this), changetype<usize>(value));
}
set mShape2Face(value: CollideShapeResultFace) {
_emscripten_bind_CollideShapeResult_set_mShape2Face_1(changetype<usize>(this), changetype<usize>(value));
}
}
@external("Jolt", "_emscripten_bind_ContactPoints___destroy___0")
declare function _emscripten_bind_ContactPoints___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ContactPoints_empty_0")
declare function _emscripten_bind_ContactPoints_empty_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ContactPoints_size_0")
declare function _emscripten_bind_ContactPoints_size_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ContactPoints_at_1")
declare function _emscripten_bind_ContactPoints_at_1(self: usize, inIndex: usize): usize;
@external("Jolt", "_emscripten_bind_ContactPoints_push_back_1")
declare function _emscripten_bind_ContactPoints_push_back_1(self: usize, inValue: usize): void;
@external("Jolt", "_emscripten_bind_ContactPoints_resize_1")
declare function _emscripten_bind_ContactPoints_resize_1(self: usize, inSize: usize): void;
@external("Jolt", "_emscripten_bind_ContactPoints_clear_0")
declare function _emscripten_bind_ContactPoints_clear_0(self: usize): void;
@final
@unmanaged
export class ContactPoints {
__destroy__(): void {
_emscripten_bind_ContactPoints___destroy___0(changetype<usize>(this));
}
empty(): bool {
return _emscripten_bind_ContactPoints_empty_0(changetype<usize>(this));
}
size(): i32 {
return _emscripten_bind_ContactPoints_size_0(changetype<usize>(this));
}
at(inIndex: i32): Vec3 {
return changetype<Vec3>(_emscripten_bind_ContactPoints_at_1(changetype<usize>(this), inIndex));
}
push_back(inValue: Vec3): void {
_emscripten_bind_ContactPoints_push_back_1(changetype<usize>(this), changetype<usize>(inValue));
}
resize(inSize: i32): void {
_emscripten_bind_ContactPoints_resize_1(changetype<usize>(this), inSize);
}
clear(): void {
_emscripten_bind_ContactPoints_clear_0(changetype<usize>(this));
}
}
@external("Jolt", "_emscripten_bind_ContactManifold_ContactManifold_0")
declare function _emscripten_bind_ContactManifold_ContactManifold_0(): usize;
@external("Jolt", "_emscripten_bind_ContactManifold___destroy___0")
declare function _emscripten_bind_ContactManifold___destroy___0(self: usize): void;
@external("Jolt", "_emscripten_bind_ContactManifold_SwapShapes_0")
declare function _emscripten_bind_ContactManifold_SwapShapes_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ContactManifold_GetWorldSpaceContactPointOn1_1")
declare function _emscripten_bind_ContactManifold_GetWorldSpaceContactPointOn1_1(self: usize, inIndex: usize): usize;
@external("Jolt", "_emscripten_bind_ContactManifold_GetWorldSpaceContactPointOn2_1")
declare function _emscripten_bind_ContactManifold_GetWorldSpaceContactPointOn2_1(self: usize, inIndex: usize): usize;
@external("Jolt", "_emscripten_bind_ContactManifold_get_mBaseOffset_0")
declare function _emscripten_bind_ContactManifold_get_mBaseOffset_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ContactManifold_get_mWorldSpaceNormal_0")
declare function _emscripten_bind_ContactManifold_get_mWorldSpaceNormal_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ContactManifold_get_mPenetrationDepth_0")
declare function _emscripten_bind_ContactManifold_get_mPenetrationDepth_0(self: usize): f32;
@external("Jolt", "_emscripten_bind_ContactManifold_get_mSubShapeID1_0")
declare function _emscripten_bind_ContactManifold_get_mSubShapeID1_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ContactManifold_get_mSubShapeID2_0")
declare function _emscripten_bind_ContactManifold_get_mSubShapeID2_0(self: usize): usize;
@external("Jolt", "_emscripten_bind_ContactManifold_get_mRelativeContactPointsOn1_0")
declare function _emscripten_bind_ContactManifold_get_mRelativeContactPointsOn1_0(self: us
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment