LeviLamina
Loading...
Searching...
No Matches
RopeParams.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7
8struct RopeParams {
9public:
10 // RopeParams inner types define
11 enum class Flags : int {
12 None = 0,
13 DynamicResize = 2,
14 DynamicStretch = 4,
15 CollisionEnabled = 8,
16 };
17
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, float> mNodeDist;
22 ::ll::TypedStorage<4, 4, float> mNodeSize;
23 ::ll::TypedStorage<4, 4, float> mGravity;
24 ::ll::TypedStorage<4, 4, float> mSlack;
25 ::ll::TypedStorage<4, 4, float> mMaxTension;
26 ::ll::TypedStorage<4, 4, float> mVelDamping;
27 ::ll::TypedStorage<4, 4, float> mRelaxation;
28 ::ll::TypedStorage<4, 4, float> mFriction;
29 ::ll::TypedStorage<4, 12, ::Vec3> mStartPin;
30 ::ll::TypedStorage<4, 12, ::Vec3> mEndPin;
31 ::ll::TypedStorage<8, 8, uint64> mIterations;
32 ::ll::TypedStorage<8, 8, uint64> mDestroyDelay;
33 ::ll::TypedStorage<4, 4, int> mFlags;
34 ::ll::TypedStorage<4, 4, float> mLength;
35 ::ll::TypedStorage<4, 4, float> mOriginalNodeDist;
36 // NOLINTEND
37
38public:
39 // prevent constructor by default
40 RopeParams();
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCNAPI RopeParams(::Vec3 const& startPin, ::Vec3 const& endPin, float length);
46
47 MCNAPI void leadInit();
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCNAPI void* $ctor(::Vec3 const& startPin, ::Vec3 const& endPin, float length);
54 // NOLINTEND
55};
Definition Vec3.h:10
MCAPI void leadInit()
MCAPI void * $ctor(::Vec3 const &startPin, ::Vec3 const &endPin, float length)
MCAPI RopeParams(::Vec3 const &startPin, ::Vec3 const &endPin, float length)