-
Notifications
You must be signed in to change notification settings - Fork 0
/
scriptBinding.lua
3659 lines (3073 loc) · 125 KB
/
scriptBinding.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--- Add an element to an AudioSource
---@param objectId integer "objectId"
---@param filename string "filename"
---@param probability float "probability"
function addAudioSourceSampleElement(objectId, filename, probability) end
--- Add differential
---@param objectId integer "objectId"
---@param diff0Index integer "diff0Index"
---@param diffIndex0IsWheel boolean "diffIndex0IsWheel"
---@param diff1Index integer "diff1Index"
---@param diffIndex1IsWheel boolean "diffIndex1IsWheel"
---@param ratio float "ratio"
---@param bias float "bias"
function addDifferential(objectId, diff0Index, diffIndex0IsWheel, diff1Index, diffIndex1IsWheel, ratio, bias) end
--- Load a new foliage type from an XML file, creating a new multilayer if a new density map is used
---@param dmId integer "id for density map to use for the foliage layer, or a dataplane that shares this density map"
---@param name string "name of new layer"
---@param xmlFilename string "XML filename containing the layer definition"
---@param parameter4 string
---@return densityMapTypeId integer "the type ID the density map will use for this layer, or 0 if the call failed"
function addFoliageTypFromXML(dmId, name, xmlFilename, parameter4) end
--- Add force to object
---@param transformId integer "transformId"
---@param forceX float "forceX"
---@param forceY float "forceY"
---@param forceZ float "forceZ"
---@param positionX float "positionX"
---@param positionY float "positionY"
---@param positionZ float "positionZ"
---@param isPositionLocal boolean "isPositionLocal"
function addForce(transformId, forceX, forceY, forceZ, positionX, positionY, positionZ, isPositionLocal) end
--- Add impulse to object
---@param transformId integer "transformId"
---@param impulseX float "impulseX"
---@param impulseY float "impulseY"
---@param impulseZ float "impulseZ"
---@param positionX float "positionX"
---@param positionY float "positionY"
---@param positionZ float "positionZ"
---@param isPositionLocal boolean "isPositionLocal"
function addImpulse(transformId, impulseX, impulseY, impulseZ, positionX, positionY, positionZ, isPositionLocal) end
--- Add particle system simulation time
---@param particleSystemId integer "particleSystemId"
---@param dt float "dt"
function addParticleSystemSimulationTime(particleSystemId, dt) end
---
---@param parameter1 integer
---@param parameter2 integer
function addTerrainUpdateConnection(parameter1, parameter2) end
--- Add to physics
---@param transformId integer "transformId"
function addToPhysics(transformId) end
--- Adds torque to a collision
---@param objectId integer "objectId"
---@param x float "x"
---@param y float "y"
---@param z float "z"
function addTorque(objectId, x, y, z) end
--- Adds torque impulse to a collision
---@param objectId integer "objectId"
---@param x float "x"
---@param y float "y"
---@param z float "z"
function addTorqueImpulse(objectId, x, y, z) end
--- Adds a tire track position
---@param systemId integer "systemId"
---@param trackId integer "trackId"
---@param x float "x"
---@param y float "y"
---@param z float "z"
---@param x float "x"
---@param y float "y"
---@param z float "z"
---@param r float "r"
---@param g float "g"
---@param b float "b"
---@param a float "a"
---@param uw float "uw"
---@param dTheta float "dTheta"
---@param parameter15 unknown
function addTrackPoint(systemId, trackId, x, y, z, x, y, z, r, g, b, a, uw, dTheta, parameter15) end
--- Add vehicle link
---@param transformId integer "transformId"
---@param transformId2 integer "transformId2"
function addVehicleLink(transformId, transformId2) end
--- Aim camera (spring/damper)
---@param cameraId integer "cameraId"
---@param x float "x"
---@param y float "y"
---@param z float "z"
---@param distance float "distance"
---@param dt float "dt"
---@param springStrength float "springStrength"
function aimCamera(cameraId, x, y, z, distance, dt, springStrength) end
--- Converts an ascii latin1 (ISO 88859-1) encoded string to an utf8 string
---@param asciiString string "asciiString"
---@return utf8string string "utf8string"
function asciiToUtf8(asciiString) end
--- Assign clip to animation track
---@param characterSetId integer "characterSetId"
---@param trackId integer "trackId"
---@param clipIndex integer "clipIndex"
function assignAnimTrackClip(characterSetId, trackId, clipIndex) end
--- base64 decode
---@param input string "input"
---@return output bytearray "output"
function base64Decode(input) end
--- base64 encode
---@param input bytearray "input"
---@return output string "output"
function base64Encode(input) end
--- bit AND-Operation
---@param value1 integer "value1"
---@param value2 integer "value2"
---@return result integer "result"
function bitAND(value1, value2) end
--- bit HighestSet-Operation
---@param input integer "input"
---@return highestBit integer "highestBit"
function bitHighestSet(input) end
--- bit OR-Operation
---@param value1 integer "value1"
---@param value2 integer "value2"
---@return result integer "result"
function bitOR(value1, value2) end
--- bit ShiftRight-Operation
---@param value1 integer "value1"
---@param value2 integer "value2"
---@return result integer "result"
function bitShiftRight(value1, value2) end
--- Build the navigation mesh based on the specified world data
---@param navMeshId integer "navMeshId"
---@param worldNode integer "worldNode"
---@param cellSize float "cellSize"
---@param cellHeight float "cellHeight"
---@param agentHeight float "agentHeight"
---@param agentRadius float "agentRadius"
---@param agentMaxClimb float "agentMaxClimb"
---@param agentMaxSlope float "agentMaxSlope"
---@param minRegionSize float "minRegionSize"
---@param mergeRegionSize float "mergeRegionSize"
---@param maxEdgeLength float "maxEdgeLength"
---@param maxSimplificationError float "maxSimplificationError"
---@param navMeshBuildMask integer "navMeshBuildMask"
---@param terrainDetail float "terrainDetail"
---@param terrainCullInfoLayer string "terrainCullInfoLayer"
---@param terrainCullInfoLayerChannels integer "terrainCullInfoLayerChannels"
---@return success boolean "success"
function buildNavMesh(navMeshId, worldNode, cellSize, cellHeight, agentHeight, agentRadius, agentMaxClimb, agentMaxSlope, minRegionSize, mergeRegionSize, maxEdgeLength, maxSimplificationError, navMeshBuildMask, terrainDetail, terrainCullInfoLayer, terrainCullInfoLayerChannels) end
---
---@param parameter1 integer
---@param parameter2 integer
---@return float
function calcDistanceFrom(parameter1, parameter2) end
---
---@param parameter1 integer
---@param parameter2 integer
---@return float
function calcDistanceSquaredFrom(parameter1, parameter2) end
--- Cancel streaming I3D file
---@param requestId integer "request id from streamI3DFile"
function cancelStreamI3DFile(requestId) end
--- Clear animation track clip assignment
---@param characterSetId integer "characterSetId"
---@param trackId integer "trackId"
function clearAnimTrackClip(characterSetId, trackId) end
--- Clears the shared i3d cache, deleting all data and calling finish callbacks on all pending loads with failedReason = Cancelled.
function clearEntireSharedI3DFileCache() end
--- Clears all overlays in the given area
---@param x float "x"
---@param y float "y"
---@param width float "width"
---@param height float "height"
---@param rotation float "rotation"
---@param rotCenterX float "center of rotation x"
---@param rotCenterY float "center of rotation y"
function clearOverlayArea(x, y, width, height, rotation, rotCenterX, rotCenterY) end
--- Clone scenegraph object
---@param objectId integer "objectId"
---@param groupUnderParent boolean "groupUnderParent"
---@param callOnCreate boolean "callOnCreate (optional)"
---@param addPhysics boolean "addPhysics (optional)"
---@return cloneId integer "cloneId"
function clone(objectId, groupUnderParent, callOnCreate, addPhysics) end
--- Clone anim character set
---@param objectId integer "objectId"
---@param targetId integer "targetId"
---@return success boolean "success"
function cloneAnimCharacterSet(objectId, targetId) end
--- Calculate wheel shape tire forces
---@param transformId integer "transformId"
---@param wheelShapeIndex integer "wheelShapeIndex"
---@param longSlipRatio float "longSlipRatio"
---@param latSlipAngle float "latSlipAngle"
---@param tireLoad float "tireLoad"
---@return longForce float "longForce"
function computeWheelShapeTireForces(transformId, wheelShapeIndex, longSlipRatio, latSlipAngle, tireLoad) end
--- Debug draw
---@param conditionalAnimationId integer "conditionalAnimationId"
---@param x float "x"
---@param y float "y"
---@param z float "z"
function conditionalAnimationDebugDraw(conditionalAnimationId, x, y, z) end
--- Register parameter
---@param conditionalAnimationId integer "conditionalAnimationId"
---@param parameterId integer
---@param parameterType integer
---@param parameterLabel string
function conditionalAnimationRegisterParameter(conditionalAnimationId, parameterId, parameterType, parameterLabel) end
--- Zeroise track times
---@param conditionalAnimationId integer "conditionalAnimationId"
function conditionalAnimationZeroiseTrackTimes(conditionalAnimationId) end
---
---@param parameter1 integer
---@param parameter2 float
---@param parameter3 float
---@param parameter4 float
---@param parameter5 float
---@param parameter6 float
---@param parameter7 float
---@param parameter8 float
---@param parameter9 float
---@param parameter10 float
---@param parameter11 float
function controlVehicle(parameter1, parameter2, parameter3, parameter4, parameter5, parameter6, parameter7, parameter8, parameter9, parameter10, parameter11) end
--- Create audio source object for 3D sounds
---@param audioSourceName string "audioSourceName"
---@param sampleFilename string "sampleFilename"
---@param radius float "radius"
---@param innerRadius float "innerRadius"
---@param volume float "volume"
---@param loops integer "loops"
---@return integer
function createAudioSource(audioSourceName, sampleFilename, radius, innerRadius, volume, loops) end
--- Create camera
---@param cameraName string "cameraName"
---@param fovy float "fovy"
---@param nearClip float "nearClip"
---@param farClip float "farClip"
---@return cameraId integer "cameraId"
function createCamera(cameraName, fovy, nearClip, farClip) end
--- Create character controller (y axis capsule based)
---@param transformId integer "transformId"
---@param radius float "radius"
---@param height float "height"
---@param stepOffset float "stepOffset"
---@param slopeLimit float "slopeLimit"
---@param skinWidth float "skinWidth"
---@param collisionMask integer "collisionMask"
---@param mass float "mass"
---@return characterIndex integer "characterIndex"
function createCCT(transformId, radius, height, stepOffset, slopeLimit, skinWidth, collisionMask, mass) end
--- Create conditional animation
---@return integer
function createConditionalAnimation() end
--- Creates a fill plane shape based on shapeId
---@param shapeId integer "shapeId"
---@param shapeName string "shapeName"
---@param volume float "volume"
---@param deltaMax float "deltaMax"
---@param maxSurfaceAngle float "maxSurfaceAngle"
---@param maxPhysicalSurfaceAngle float "maxPhysicalSurfaceAngle"
---@param maxSurfaceDistanceError float "maxSurfaceDistanceError"
---@param maxSubDivEdgeLength float "maxSubDivEdgeLength"
---@param syncMaxSubDivEdgeLength float "syncMaxSubDivEdgeLength"
---@param createSidePlanes boolean "createSidePlanes"
---@param retessellateTop boolean "retessellateTop"
---@return fillPlaneShapeId integer "fillPlaneShapeId"
function createFillPlaneShape(shapeId, shapeName, volume, deltaMax, maxSurfaceAngle, maxPhysicalSurfaceAngle, maxSurfaceDistanceError, maxSubDivEdgeLength, syncMaxSubDivEdgeLength, createSidePlanes, retessellateTop) end
---
---@param foliageBendingSystemId integer
---@param minX float
---@param maxX float
---@param minZ float
---@param maxZ float
---@param yOffset float
---@param centerTransformid integer
---@return rectangleId integer
function createFoliageBendingRectangle(foliageBendingSystemId, minX, maxX, minZ, maxZ, yOffset, centerTransformid) end
--- Create overlay object
---@param textureFilename string "textureFilename"
---@return integer
function createImageOverlay(textureFilename) end
---
---@param parameter1 integer
---@return integer
function createImageOverlayWithTexture(parameter1) end
---
---@param parameter1 string
---@param parameter2 string
---@param parameter3 float
---@param parameter4 float
---@param parameter5 float
---@param parameter6 float
---@return integer
function createLightSource(parameter1, parameter2, parameter3, parameter4, parameter5, parameter6) end
--- Create a loop synthesis sample object
---@param objectName string "objectName"
---@return sampleId integer "sampleId"
function createLoopSynthesisSample(objectName) end
--- Create a navigation mesh node.
---@param name string "name"
---@return navMeshId integer "navMeshId"
function createNavMesh(name) end
--- Create note node
---@param parentId integer "Parent ID [optional]"
---@param text string "Text [optional]"
---@param colorR float "R component of note color [optional, 0-1]"
---@param colorG float "G component of note color [optional, 0-1]"
---@param colorB float "B component of note color [optional, 0-1]"
---@param fixedSize boolean "Fixed size on screen [optional]"
---@return noteId integer
function createNoteNode(parentId, text, colorR, colorG, colorB, fixedSize) end
--- Create sample object
---@param objectName string "objectName"
---@return sampleId integer "sampleId"
function createSample(objectName) end
---
---@param parameter1 string
---@param parameter2 string
---@param parameter3 float
---@param parameter4 float
---@param parameter5 boolean
---@return integer
function createSharedNetworkAttributes(parameter1, parameter2, parameter3, parameter4, parameter5) end
--- Create streamed sample object
---@param objectName string "objectName"
---@param isBackgroundMusic boolean "isBackgroundMusic"
---@return sampleId integer "sampleId"
function createStreamedSample(objectName, isBackgroundMusic) end
--- Creates a tire track system
---@param systemId integer "systemId"
---@param width float "width"
---@param atlasIndex integer "atlasIndex"
---@return trackid integer "trackid"
function createTrack(systemId, width, atlasIndex) end
--- Create transform group
---@param transformName string "transformName"
---@return transformId integer "transformId"
function createTransformGroup(transformName) end
--- Create wheel shape
---@param transformId integer "transformId"
---@param positionX float "positionX"
---@param positionY float "positionY"
---@param positionZ float "positionZ"
---@param radius float "radius"
---@param suspensionTravel float "suspensionTravel"
---@param spring float "spring"
---@param damperCompressionLowSpeed float "damperCompressionLowSpeed"
---@param damperCompressionHighSpeed float "damperCompressionHighSpeed"
---@param damperCompressionLowSpeedThreshold float "damperCompressionLowSpeedThreshold"
---@param damperRelaxationLowSpeed float "damperRelaxationLowSpeed"
---@param damperRelaxationHighSpeed float "damperRelaxationHighSpeed"
---@param damperRelaxationLowSpeedThreshold float "damperRelaxationLowSpeedThreshold"
---@param mass float "mass"
---@param collisionMask integer "collisionMask"
---@param wheelShapeIndex integer "wheelShapeIndex (if 0, will create a new wheel)"
---@return wheelShapeIndex integer "wheelShapeIndex"
function createWheelShape(transformId, positionX, positionY, positionZ, radius, suspensionTravel, spring, damperCompressionLowSpeed, damperCompressionHighSpeed, damperCompressionLowSpeedThreshold, damperRelaxationLowSpeed, damperRelaxationHighSpeed, damperRelaxationLowSpeedThreshold, mass, collisionMask, wheelShapeIndex) end
--- Create an empty XML file
---@param objectName string "objectName"
---@param filename string "filename"
---@param rootNodeName string "rootNodeName"
---@return xmlId integer "xmlId"
function createXMLFile(objectName, filename, rootNodeName) end
--- Relinquish Track Segments
---@param systemId integer "systemId"
---@param trackId integer "trackId"
function cutTrack(systemId, trackId) end
--- Delete Entity/Object
---@param objectId integer "objectId"
function delete(objectId) end
---
---@param foliageBendingSystemId integer
---@param objectId integer "id of the bending object, such as returned by createFoliageBendingRectangle"
function destroyFoliageBendingObject(foliageBendingSystemId, objectId) end
--- Destroys a tire track system
---@param systemId integer "systemId"
---@param trackId integer "trackId"
function destroyTrack(systemId, trackId) end
--- Disable animation track
---@param characterSetId integer "characterSetId"
---@param trackId integer "trackId"
function disableAnimTrack(characterSetId, trackId) end
--- Render an arrow. Only use for debug rendering
---@param x float "x"
---@param y float "y"
---@param z float "z"
---@param dirX float "dirX"
---@param dirY float "dirY"
---@param dirZ float "dirZ"
---@param tangX float "tangX"
---@param tangY float "tangY"
---@param tangZ float "tangZ"
---@param r float "r"
---@param g float "g"
---@param b float "b"
---@param solid boolean "solid (optional, default=true)"
function drawDebugArrow(x, y, z, dirX, dirY, dirZ, tangX, tangY, tangZ, r, g, b, solid) end
--- Render a line. Only use for debug rendering
---@param x0 float "x0"
---@param y0 float "y0"
---@param z0 float "z0"
---@param r0 float "r0"
---@param g0 float "g0"
---@param b0 float "b0"
---@param x1 float "x1"
---@param y1 float "y1"
---@param z1 float "z1"
---@param r1 float "r1"
---@param g1 float "g1"
---@param b1 float "b1"
---@param solid boolean "solid (optional, default=true)"
function drawDebugLine(x0, y0, z0, r0, g0, b0, x1, y1, z1, r1, g1, b1, solid) end
--- Render a point. Only use for debug rendering
---@param x float "x"
---@param y float "y"
---@param z float "z"
---@param r float "r"
---@param g float "g"
---@param b float "b"
---@param a float "a"
---@param solid boolean "solid (optional, default=true)"
function drawDebugPoint(x, y, z, r, g, b, a, solid) end
--- Enable animation track
---@param characterSetId integer "characterSetId"
---@param trackId integer "trackId"
function enableAnimTrack(characterSetId, trackId) end
--- Erase Segments Inside Parallelogram
---@param systemId integer "systemId"
---@param startWorldX float "startWorldX"
---@param startWorldZ float "startWorldZ"
---@param widthWorldX float "widthWorldX"
---@param widthWorldZ float "widthWorldZ"
---@param heightWorldX float "heightWorldX"
---@param heightWorldZ float "heightWorldZ"
function eraseParallelogram(systemId, startWorldX, startWorldZ, widthWorldX, widthWorldZ, heightWorldX, heightWorldZ) end
--- Export all script created notes to file
---@param filePth string
function exportNoteNodes(filePth) end
--- Add material/volume to a fill plane
---@param fillPlaneId integer "fillPlaneId"
---@param dTvolume float "dTvolume"
---@param x float "x"
---@param y float "y"
---@param z float "z"
---@param dx1 float "dx1"
---@param dy1 float "dy1"
---@param dz1 float "dz1"
---@param dx2 float "dx2"
---@param dy2 float "dy2"
---@param dz2 float "dz2"
function fillPlaneAdd(fillPlaneId, dTvolume, x, y, z, dx1, dy1, dz1, dx2, dy2, dz2) end
--- find nearest polyline
---@param fillPlaneId integer "fillPlaneId"
---@param x float "x"
---@param z float "z"
---@return polyLineId integer "polyLineId"
function findPolyline(fillPlaneId, x, z) end
---
---@return object
function FoliageTransformGroupConstructor.new() end
---
---@param parameter1 integer
---@return boolean
function FoliageTransformGroupConstructor:allocateTypeIndex(parameter1) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 string
---@return integer
function FoliageTransformGroupConstructor:createLayer(parameter1, parameter2, parameter3) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 integer
---@return integer
function FoliageTransformGroupConstructor:createLodForShape(parameter1, parameter2, parameter3, parameter4) end
---
---@param parameter1 integer
---@return integer
function FoliageTransformGroupConstructor:createMultiLayer(parameter1) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@return integer
function FoliageTransformGroupConstructor:createShapeForState(parameter1, parameter2, parameter3) end
---
---@param parameter1 integer
---@param parameter2 integer
---@return integer
function FoliageTransformGroupConstructor:createStateForLayer(parameter1, parameter2) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 integer
---@param parameter5 integer
---@return float
function FoliageTransformGroupConstructor:getAtlasOffsetForLod(parameter1, parameter2, parameter3, parameter4, parameter5) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 integer
---@param parameter5 integer
---@return integer
function FoliageTransformGroupConstructor:getAtlasSizeForLod(parameter1, parameter2, parameter3, parameter4, parameter5) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@return float
function FoliageTransformGroupConstructor:getBlocksPerUnitForState(parameter1, parameter2, parameter3) end
---
---@return float
function FoliageTransformGroupConstructor:getCellSize() end
---
---@return integer
function FoliageTransformGroupConstructor:getDecalLayer() end
---
---@param parameter1 integer
---@param parameter2 integer
---@return integer
function FoliageTransformGroupConstructor:getDensityChannelsForLayer(parameter1, parameter2) end
---
---@param parameter1 integer
---@return integer
function FoliageTransformGroupConstructor:getDensityMapInfo(parameter1) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@return string
function FoliageTransformGroupConstructor:getDistanceMapForState(parameter1, parameter2, parameter3) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@return float
function FoliageTransformGroupConstructor:getHeightAndVarianceForState(parameter1, parameter2, parameter3) end
---
---@param parameter1 integer
---@param parameter2 integer
---@return integer
function FoliageTransformGroupConstructor:getMaxNumStatesForLayer(parameter1, parameter2) end
---
---@param parameter1 integer
---@param parameter2 integer
---@return string
function FoliageTransformGroupConstructor:getNameForLayer(parameter1, parameter2) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@return string
function FoliageTransformGroupConstructor:getNameForState(parameter1, parameter2, parameter3) end
---
---@param parameter1 integer
---@return integer
function FoliageTransformGroupConstructor:getNumLayers(parameter1) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 integer
---@return integer
function FoliageTransformGroupConstructor:getNumLodsForShape(parameter1, parameter2, parameter3, parameter4) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@return integer
function FoliageTransformGroupConstructor:getNumShapesForState(parameter1, parameter2, parameter3) end
---
---@param parameter1 integer
---@param parameter2 integer
---@return integer
function FoliageTransformGroupConstructor:getNumStatesForLayer(parameter1, parameter2) end
---
---@return integer
function FoliageTransformGroupConstructor:getObjectMask() end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@return float
function FoliageTransformGroupConstructor:getPositionVarianceForState(parameter1, parameter2, parameter3) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 integer
---@param parameter5 integer
---@return string
function FoliageTransformGroupConstructor:getShapeForLod(parameter1, parameter2, parameter3, parameter4, parameter5) end
---
---@param parameter1 integer
---@param parameter2 integer
---@return string
function FoliageTransformGroupConstructor:getShapeSourceForLayer(parameter1, parameter2) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 integer
---@param parameter5 integer
---@return float
function FoliageTransformGroupConstructor:getTexCoordsForLod(parameter1, parameter2, parameter3, parameter4, parameter5) end
---
---@param parameter1 integer
---@param parameter2 integer
---@return integer
function FoliageTransformGroupConstructor:getTypeIndexForLayer(parameter1, parameter2) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 integer
---@param parameter5 integer
---@return float
function FoliageTransformGroupConstructor:getViewDistanceForLod(parameter1, parameter2, parameter3, parameter4, parameter5) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@return float
function FoliageTransformGroupConstructor:getWidthAndVarianceForState(parameter1, parameter2, parameter3) end
---
---@param parameter1 integer
---@param parameter2 string
---@param parameter3 string
---@return boolean
function FoliageTransformGroupConstructor:loadFruitTypeFromXml(parameter1, parameter2, parameter3) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 integer
---@param parameter5 integer
---@param parameter6 float
---@param parameter7 float
function FoliageTransformGroupConstructor:setAtlasOffsetForLod(parameter1, parameter2, parameter3, parameter4, parameter5, parameter6, parameter7) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 integer
---@param parameter5 integer
---@param parameter6 integer
function FoliageTransformGroupConstructor:setAtlasSizeForLod(parameter1, parameter2, parameter3, parameter4, parameter5, parameter6) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 float
function FoliageTransformGroupConstructor:setBlocksPerUnitForState(parameter1, parameter2, parameter3, parameter4) end
---
---@param parameter1 float
function FoliageTransformGroupConstructor:setCellSize(parameter1) end
---
---@param parameter1 integer
function FoliageTransformGroupConstructor:setDecalLayer(parameter1) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 integer
function FoliageTransformGroupConstructor:setDensityChannelsForLayer(parameter1, parameter2, parameter3, parameter4) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 string
---@param parameter5 integer
function FoliageTransformGroupConstructor:setDistanceMapForState(parameter1, parameter2, parameter3, parameter4, parameter5) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 float
---@param parameter5 float
function FoliageTransformGroupConstructor:setHeightAndVarianceForState(parameter1, parameter2, parameter3, parameter4, parameter5) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 string
function FoliageTransformGroupConstructor:setNameForState(parameter1, parameter2, parameter3, parameter4) end
---
---@param parameter1 integer
function FoliageTransformGroupConstructor:setObjectMask(parameter1) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 float
function FoliageTransformGroupConstructor:setPositionVarianceForState(parameter1, parameter2, parameter3, parameter4) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 integer
---@param parameter5 integer
---@param parameter6 string
function FoliageTransformGroupConstructor:setShapeForLod(parameter1, parameter2, parameter3, parameter4, parameter5, parameter6) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 string
function FoliageTransformGroupConstructor:setShapeSourceForLayer(parameter1, parameter2, parameter3) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 integer
---@param parameter5 float
---@param parameter6 float
---@param parameter7 float
---@param parameter8 float
function FoliageTransformGroupConstructor:setTexCoordsForLod(parameter1, parameter2, parameter3, parameter4, parameter5, parameter6, parameter7, parameter8) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 integer
---@param parameter5 integer
---@param parameter6 float
---@param parameter7 float
function FoliageTransformGroupConstructor:setViewDistanceForLod(parameter1, parameter2, parameter3, parameter4, parameter5, parameter6, parameter7) end
---
---@param parameter1 integer
---@param parameter2 integer
---@param parameter3 integer
---@param parameter4 float
---@param parameter5 float
function FoliageTransformGroupConstructor:setWidthAndVarianceForState(parameter1, parameter2, parameter3, parameter4, parameter5) end
--- Get all shared I3D file request ids
---@return ids intarray "array of request ids"
function getAllSharedI3DFileRequestIds() end
--- Get all streaming I3D file request ids
---@return ids intarray "array of request ids"
function getAllStreamI3DFileRequestIds() end
--- Get angular damping
---@param transformId integer "transformId"
---@return angularDamping float "angularDamping"
function getAngularDamping(transformId) end
--- Get angular velocity of transform object
---@param transformId integer "transformId"
---@return velocityX float "velocityX"
function getAngularVelocity(transformId) end
--- Get animation character set id
---@param objectId integer "objectId"
---@return characterSetId integer "characterSetId"
function getAnimCharacterSet(objectId) end
--- Get the duration of the clip at the given index
---@param characterSetId integer "characterSetId"
---@param index integer "index"
---@return duration float "duration"
function getAnimClipDuration(characterSetId, index) end
--- Return the index of the clip with the given name
---@param characterSetId integer "characterSetId"
---@param clipName string "clipName"
---@return index integer "index"
function getAnimClipIndex(characterSetId, clipName) end
--- Get number of clips
---@param characterSetId integer "characterSetId"
---@return numClips integer "numClips"
function getAnimNumOfClips(characterSetId) end
--- Get animation track assigned clip index number
---@param characterSetId integer "characterSetId"
---@param trackId integer "trackId"
---@return clipIndex integer "clipIndex"
function getAnimTrackAssignedClip(characterSetId, trackId) end
--- Get animation track blend weight
---@param characterSetId integer "characterSetId"
---@param trackId integer "trackId"
---@return weight float "weight"
function getAnimTrackBlendWeight(characterSetId, trackId) end
--- Get animation track loop state
---@param trackId integer "trackId"
---@param parameter2 integer
---@return time float "time"
function getAnimTrackTime(trackId, parameter2) end
---
---@param parameter1 integer
---@return boolean
function getAudioSourceAutoPlay(parameter1) end
---
---@param parameter1 integer
---@return float
function getAudioSourceInnerRange(parameter1) end
--- Get the AudioSource's max retrigger delay
---@param objectId integer "objectId"
---@return maxRetriggerDelay float "maxRetriggerDelay"
function getAudioSourceMaxRetriggerDelay(objectId) end
--- Get the AudioSource's min retrigger delay
---@param objectId integer "objectId"
---@return minRetriggerDelay float "minRetriggerDelay"
function getAudioSourceMinRetriggerDelay(objectId) end
--- Get the AudioSource's random playback state
---@param objectId integer "objectId"
---@return randomPlayback boolean "randomPlayback"
function getAudioSourceRandomPlayback(objectId) end
---
---@param parameter1 integer
---@return float
function getAudioSourceRange(parameter1) end
--- Gets the sample id of an audio source
---@param objectId integer "objectId"
---@return sampleId integer "sampleId"
function getAudioSourceSample(objectId) end
--- Get the AudioSource's sample element's probability
---@param objectId integer "objectId"
---@param index integer "index"
---@return probability float "probability"
function getAudioSourceSampleElementProbability(objectId, index) end
---
---@param parameter1 integer
---@return boolean
function getAudioSourceTickInaudible(parameter1) end
--- Get camera
---@return cameraId integer "cameraId"
function getCamera() end
--- Get can render unicode
---@param unicode integer "unicode"
---@return canRender boolean "canRender"
function getCanRenderUnicode(unicode) end
--- Get character controller collision flags
---@param characterIndex integer "characterIndex"
---@return side boolean "side"
function getCCTCollisionFlags(characterIndex) end
--- Get center of mass
---@param transformId integer "transformId"
---@return x float "x"
function getCenterOfMass(transformId) end
--- Get child id
---@param objectId integer "objectId"
---@param childName string "childName"
---@return childId integer "childId"
function getChild(objectId, childName) end
--- Get child id at given index
---@param objectId integer "objectId"
---@param index integer "index"
---@return childId integer "childId"
function getChildAt(objectId, index) end
--- Get child index
---@param objectId integer "objectId"
---@return childIndex integer "childIndex"
function getChildIndex(objectId) end
--- Get object clip distance
---@param objectId integer "objectId"
---@return distance float "distance"
function getClipDistance(objectId) end