unity-types 6000.3.0 → 6000.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/OneJS.d.ts +981 -0
- package/README.md +97 -11
- package/Unity.InputSystem.d.ts +5361 -0
- package/UnityEngine.AudioModule.d.ts +791 -4
- package/UnityEngine.CoreModule.d.ts +16187 -4
- package/UnityEngine.InputLegacyModule.d.ts +199 -4
- package/UnityEngine.Physics2DModule.d.ts +3287 -0
- package/UnityEngine.PhysicsModule.d.ts +1251 -4
- package/UnityEngine.UIElementsModule.d.ts +6098 -4
- package/UnityEngine.UnityWebRequestModule.d.ts +214 -0
- package/_system.d.ts +578 -0
- package/index.d.ts +21 -6
- package/package.json +1 -1
|
@@ -1,8 +1,1255 @@
|
|
|
1
|
-
// Unity 6000.3 - UnityEngine.PhysicsModule
|
|
2
|
-
// Generated by OneJS Type Generator
|
|
3
|
-
|
|
4
1
|
declare namespace CS {
|
|
2
|
+
const __keep_incompatibility: symbol;
|
|
3
|
+
|
|
5
4
|
namespace UnityEngine {
|
|
6
|
-
|
|
5
|
+
class ContactPoint {
|
|
6
|
+
protected [__keep_incompatibility]: never;
|
|
7
|
+
public get point(): UnityEngine.Vector3;
|
|
8
|
+
public get normal(): UnityEngine.Vector3;
|
|
9
|
+
public get impulse(): UnityEngine.Vector3;
|
|
10
|
+
public get thisCollider(): UnityEngine.Collider;
|
|
11
|
+
public get otherCollider(): UnityEngine.Collider;
|
|
12
|
+
public get separation(): number;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
class Collision {
|
|
16
|
+
protected [__keep_incompatibility]: never;
|
|
17
|
+
public get impulse(): UnityEngine.Vector3;
|
|
18
|
+
public get relativeVelocity(): UnityEngine.Vector3;
|
|
19
|
+
public get rigidbody(): UnityEngine.Rigidbody;
|
|
20
|
+
public get articulationBody(): UnityEngine.ArticulationBody;
|
|
21
|
+
public get body(): UnityEngine.Component;
|
|
22
|
+
public get collider(): UnityEngine.Collider;
|
|
23
|
+
public get transform(): UnityEngine.Transform;
|
|
24
|
+
public get gameObject(): UnityEngine.GameObject;
|
|
25
|
+
public get contactCount(): number;
|
|
26
|
+
public get contacts(): System.Array$1<UnityEngine.ContactPoint>;
|
|
27
|
+
constructor();
|
|
28
|
+
public GetContact($index: number): UnityEngine.ContactPoint;
|
|
29
|
+
public GetContacts($contacts: System.Array$1<UnityEngine.ContactPoint>): number;
|
|
30
|
+
public GetContacts($contacts: System.Collections.Generic.List$1<UnityEngine.ContactPoint>): number;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
enum CollisionDetectionMode {
|
|
34
|
+
Discrete = 0,
|
|
35
|
+
Continuous = 1,
|
|
36
|
+
ContinuousDynamic = 2,
|
|
37
|
+
ContinuousSpeculative = 3
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
enum ForceMode {
|
|
41
|
+
Force = 0,
|
|
42
|
+
Impulse = 1,
|
|
43
|
+
VelocityChange = 2,
|
|
44
|
+
Acceleration = 5
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
class SoftJointLimit {
|
|
48
|
+
protected [__keep_incompatibility]: never;
|
|
49
|
+
public limit: number;
|
|
50
|
+
public bounciness: number;
|
|
51
|
+
public contactDistance: number;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
class SoftJointLimitSpring {
|
|
55
|
+
protected [__keep_incompatibility]: never;
|
|
56
|
+
public spring: number;
|
|
57
|
+
public damper: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
class JointDrive {
|
|
61
|
+
protected [__keep_incompatibility]: never;
|
|
62
|
+
public positionSpring: number;
|
|
63
|
+
public positionDamper: number;
|
|
64
|
+
public maximumForce: number;
|
|
65
|
+
public useAcceleration: boolean;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
class JointMotor {
|
|
69
|
+
protected [__keep_incompatibility]: never;
|
|
70
|
+
public targetVelocity: number;
|
|
71
|
+
public force: number;
|
|
72
|
+
public freeSpin: boolean;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
class JointSpring {
|
|
76
|
+
protected [__keep_incompatibility]: never;
|
|
77
|
+
public spring: number;
|
|
78
|
+
public damper: number;
|
|
79
|
+
public targetPosition: number;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
class JointLimits {
|
|
83
|
+
protected [__keep_incompatibility]: never;
|
|
84
|
+
public min: number;
|
|
85
|
+
public max: number;
|
|
86
|
+
public bounciness: number;
|
|
87
|
+
public bounceMinVelocity: number;
|
|
88
|
+
public contactDistance: number;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
class WheelFrictionCurve {
|
|
92
|
+
protected [__keep_incompatibility]: never;
|
|
93
|
+
public extremumSlip: number;
|
|
94
|
+
public extremumValue: number;
|
|
95
|
+
public asymptoteSlip: number;
|
|
96
|
+
public asymptoteValue: number;
|
|
97
|
+
public stiffness: number;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
enum ArticulationJointType {
|
|
101
|
+
FixedJoint = 0,
|
|
102
|
+
PrismaticJoint = 1,
|
|
103
|
+
RevoluteJoint = 2,
|
|
104
|
+
SphericalJoint = 3
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
enum ArticulationDofLock {
|
|
108
|
+
LockedMotion = 0,
|
|
109
|
+
LimitedMotion = 1,
|
|
110
|
+
FreeMotion = 2
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
enum ArticulationDriveType {
|
|
114
|
+
Force = 0,
|
|
115
|
+
Acceleration = 1,
|
|
116
|
+
Target = 2,
|
|
117
|
+
Velocity = 3
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
class ArticulationDrive {
|
|
121
|
+
protected [__keep_incompatibility]: never;
|
|
122
|
+
public lowerLimit: number;
|
|
123
|
+
public upperLimit: number;
|
|
124
|
+
public stiffness: number;
|
|
125
|
+
public damping: number;
|
|
126
|
+
public forceLimit: number;
|
|
127
|
+
public target: number;
|
|
128
|
+
public targetVelocity: number;
|
|
129
|
+
public driveType: UnityEngine.ArticulationDriveType;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
class ArticulationReducedSpace {
|
|
133
|
+
protected [__keep_incompatibility]: never;
|
|
134
|
+
public dofCount: number;
|
|
135
|
+
constructor($a: number);
|
|
136
|
+
constructor($a: number, $b: number);
|
|
137
|
+
constructor($a: number, $b: number, $c: number);
|
|
138
|
+
public get_Item($i: number): number;
|
|
139
|
+
public set_Item($i: number, value: number): void;
|
|
140
|
+
}
|
|
141
|
+
namespace ArticulationReducedSpace {
|
|
142
|
+
type _x_e__FixedBuffer = any;
|
|
143
|
+
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
class ArticulationJacobian {
|
|
147
|
+
protected [__keep_incompatibility]: never;
|
|
148
|
+
public rows: number;
|
|
149
|
+
public columns: number;
|
|
150
|
+
public elements: System.Collections.Generic.List$1<number>;
|
|
151
|
+
constructor($rows: number, $cols: number);
|
|
152
|
+
public get_Item($row: number, $col: number): number;
|
|
153
|
+
public set_Item($row: number, $col: number, value: number): void;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
enum ArticulationDriveAxis {
|
|
157
|
+
X = 0,
|
|
158
|
+
Y = 1,
|
|
159
|
+
Z = 2
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
class ArticulationBody extends UnityEngine.Behaviour {
|
|
163
|
+
protected [__keep_incompatibility]: never;
|
|
164
|
+
public jointType: UnityEngine.ArticulationJointType;
|
|
165
|
+
public anchorPosition: UnityEngine.Vector3;
|
|
166
|
+
public parentAnchorPosition: UnityEngine.Vector3;
|
|
167
|
+
public anchorRotation: UnityEngine.Quaternion;
|
|
168
|
+
public parentAnchorRotation: UnityEngine.Quaternion;
|
|
169
|
+
public get isRoot(): boolean;
|
|
170
|
+
public matchAnchors: boolean;
|
|
171
|
+
public linearLockX: UnityEngine.ArticulationDofLock;
|
|
172
|
+
public linearLockY: UnityEngine.ArticulationDofLock;
|
|
173
|
+
public linearLockZ: UnityEngine.ArticulationDofLock;
|
|
174
|
+
public swingYLock: UnityEngine.ArticulationDofLock;
|
|
175
|
+
public swingZLock: UnityEngine.ArticulationDofLock;
|
|
176
|
+
public twistLock: UnityEngine.ArticulationDofLock;
|
|
177
|
+
public xDrive: UnityEngine.ArticulationDrive;
|
|
178
|
+
public yDrive: UnityEngine.ArticulationDrive;
|
|
179
|
+
public zDrive: UnityEngine.ArticulationDrive;
|
|
180
|
+
public immovable: boolean;
|
|
181
|
+
public useGravity: boolean;
|
|
182
|
+
public linearDamping: number;
|
|
183
|
+
public angularDamping: number;
|
|
184
|
+
public jointFriction: number;
|
|
185
|
+
public excludeLayers: UnityEngine.LayerMask;
|
|
186
|
+
public includeLayers: UnityEngine.LayerMask;
|
|
187
|
+
public linearVelocity: UnityEngine.Vector3;
|
|
188
|
+
public angularVelocity: UnityEngine.Vector3;
|
|
189
|
+
public mass: number;
|
|
190
|
+
public automaticCenterOfMass: boolean;
|
|
191
|
+
public centerOfMass: UnityEngine.Vector3;
|
|
192
|
+
public get worldCenterOfMass(): UnityEngine.Vector3;
|
|
193
|
+
public automaticInertiaTensor: boolean;
|
|
194
|
+
public inertiaTensor: UnityEngine.Vector3;
|
|
195
|
+
public inertiaTensorRotation: UnityEngine.Quaternion;
|
|
196
|
+
public sleepThreshold: number;
|
|
197
|
+
public solverIterations: number;
|
|
198
|
+
public solverVelocityIterations: number;
|
|
199
|
+
public maxAngularVelocity: number;
|
|
200
|
+
public maxLinearVelocity: number;
|
|
201
|
+
public maxJointVelocity: number;
|
|
202
|
+
public maxDepenetrationVelocity: number;
|
|
203
|
+
public jointPosition: UnityEngine.ArticulationReducedSpace;
|
|
204
|
+
public jointVelocity: UnityEngine.ArticulationReducedSpace;
|
|
205
|
+
public jointAcceleration: UnityEngine.ArticulationReducedSpace;
|
|
206
|
+
public jointForce: UnityEngine.ArticulationReducedSpace;
|
|
207
|
+
public get driveForce(): UnityEngine.ArticulationReducedSpace;
|
|
208
|
+
public get dofCount(): number;
|
|
209
|
+
public get index(): number;
|
|
210
|
+
public collisionDetectionMode: UnityEngine.CollisionDetectionMode;
|
|
211
|
+
public velocity: UnityEngine.Vector3;
|
|
212
|
+
public computeParentAnchor: boolean;
|
|
213
|
+
constructor();
|
|
214
|
+
public GetAccumulatedForce($step: number): UnityEngine.Vector3;
|
|
215
|
+
public GetAccumulatedForce(): UnityEngine.Vector3;
|
|
216
|
+
public GetAccumulatedTorque($step: number): UnityEngine.Vector3;
|
|
217
|
+
public GetAccumulatedTorque(): UnityEngine.Vector3;
|
|
218
|
+
public AddForce($force: UnityEngine.Vector3, $mode: UnityEngine.ForceMode): void;
|
|
219
|
+
public AddForce($force: UnityEngine.Vector3): void;
|
|
220
|
+
public AddRelativeForce($force: UnityEngine.Vector3, $mode: UnityEngine.ForceMode): void;
|
|
221
|
+
public AddRelativeForce($force: UnityEngine.Vector3): void;
|
|
222
|
+
public AddTorque($torque: UnityEngine.Vector3, $mode: UnityEngine.ForceMode): void;
|
|
223
|
+
public AddTorque($torque: UnityEngine.Vector3): void;
|
|
224
|
+
public AddRelativeTorque($torque: UnityEngine.Vector3, $mode: UnityEngine.ForceMode): void;
|
|
225
|
+
public AddRelativeTorque($torque: UnityEngine.Vector3): void;
|
|
226
|
+
public AddForceAtPosition($force: UnityEngine.Vector3, $position: UnityEngine.Vector3, $mode: UnityEngine.ForceMode): void;
|
|
227
|
+
public AddForceAtPosition($force: UnityEngine.Vector3, $position: UnityEngine.Vector3): void;
|
|
228
|
+
public ResetCenterOfMass(): void;
|
|
229
|
+
public ResetInertiaTensor(): void;
|
|
230
|
+
public Sleep(): void;
|
|
231
|
+
public IsSleeping(): boolean;
|
|
232
|
+
public WakeUp(): void;
|
|
233
|
+
public TeleportRoot($position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion): void;
|
|
234
|
+
public GetClosestPoint($point: UnityEngine.Vector3): UnityEngine.Vector3;
|
|
235
|
+
public GetRelativePointVelocity($relativePoint: UnityEngine.Vector3): UnityEngine.Vector3;
|
|
236
|
+
public GetPointVelocity($worldPoint: UnityEngine.Vector3): UnityEngine.Vector3;
|
|
237
|
+
public GetDenseJacobian($jacobian: $Ref<UnityEngine.ArticulationJacobian>): number;
|
|
238
|
+
public GetJointPositions($positions: System.Collections.Generic.List$1<number>): number;
|
|
239
|
+
public SetJointPositions($positions: System.Collections.Generic.List$1<number>): void;
|
|
240
|
+
public GetJointVelocities($velocities: System.Collections.Generic.List$1<number>): number;
|
|
241
|
+
public SetJointVelocities($velocities: System.Collections.Generic.List$1<number>): void;
|
|
242
|
+
public GetJointAccelerations($accelerations: System.Collections.Generic.List$1<number>): number;
|
|
243
|
+
public GetJointForces($forces: System.Collections.Generic.List$1<number>): number;
|
|
244
|
+
public SetJointForces($forces: System.Collections.Generic.List$1<number>): void;
|
|
245
|
+
public GetJointForcesForAcceleration($acceleration: UnityEngine.ArticulationReducedSpace): UnityEngine.ArticulationReducedSpace;
|
|
246
|
+
public GetDriveForces($forces: System.Collections.Generic.List$1<number>): number;
|
|
247
|
+
public GetJointGravityForces($forces: System.Collections.Generic.List$1<number>): number;
|
|
248
|
+
public GetJointCoriolisCentrifugalForces($forces: System.Collections.Generic.List$1<number>): number;
|
|
249
|
+
public GetJointExternalForces($forces: System.Collections.Generic.List$1<number>, $step: number): number;
|
|
250
|
+
public GetDriveTargets($targets: System.Collections.Generic.List$1<number>): number;
|
|
251
|
+
public SetDriveTargets($targets: System.Collections.Generic.List$1<number>): void;
|
|
252
|
+
public GetDriveTargetVelocities($targetVelocities: System.Collections.Generic.List$1<number>): number;
|
|
253
|
+
public SetDriveTargetVelocities($targetVelocities: System.Collections.Generic.List$1<number>): void;
|
|
254
|
+
public GetDofStartIndices($dofStartIndices: System.Collections.Generic.List$1<number>): number;
|
|
255
|
+
public SetDriveTarget($axis: UnityEngine.ArticulationDriveAxis, $value: number): void;
|
|
256
|
+
public SetDriveTargetVelocity($axis: UnityEngine.ArticulationDriveAxis, $value: number): void;
|
|
257
|
+
public SetDriveLimits($axis: UnityEngine.ArticulationDriveAxis, $lower: number, $upper: number): void;
|
|
258
|
+
public SetDriveStiffness($axis: UnityEngine.ArticulationDriveAxis, $value: number): void;
|
|
259
|
+
public SetDriveDamping($axis: UnityEngine.ArticulationDriveAxis, $value: number): void;
|
|
260
|
+
public SetDriveForceLimit($axis: UnityEngine.ArticulationDriveAxis, $value: number): void;
|
|
261
|
+
public PublishTransform(): void;
|
|
262
|
+
public SnapAnchorToClosestContact(): void;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
class BoxCollider extends UnityEngine.Collider {
|
|
266
|
+
protected [__keep_incompatibility]: never;
|
|
267
|
+
public center: UnityEngine.Vector3;
|
|
268
|
+
public size: UnityEngine.Vector3;
|
|
269
|
+
constructor();
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
class CapsuleCollider extends UnityEngine.Collider {
|
|
273
|
+
protected [__keep_incompatibility]: never;
|
|
274
|
+
public center: UnityEngine.Vector3;
|
|
275
|
+
public radius: number;
|
|
276
|
+
public height: number;
|
|
277
|
+
public direction: number;
|
|
278
|
+
constructor();
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
enum CollisionFlags {
|
|
282
|
+
None = 0,
|
|
283
|
+
Sides = 1,
|
|
284
|
+
CollidedSides = 1,
|
|
285
|
+
Above = 2,
|
|
286
|
+
CollidedAbove = 2,
|
|
287
|
+
Below = 4,
|
|
288
|
+
CollidedBelow = 4
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
class ControllerColliderHit {
|
|
292
|
+
protected [__keep_incompatibility]: never;
|
|
293
|
+
public get controller(): UnityEngine.CharacterController;
|
|
294
|
+
public get collider(): UnityEngine.Collider;
|
|
295
|
+
public get rigidbody(): UnityEngine.Rigidbody;
|
|
296
|
+
public get gameObject(): UnityEngine.GameObject;
|
|
297
|
+
public get transform(): UnityEngine.Transform;
|
|
298
|
+
public get point(): UnityEngine.Vector3;
|
|
299
|
+
public get normal(): UnityEngine.Vector3;
|
|
300
|
+
public get moveDirection(): UnityEngine.Vector3;
|
|
301
|
+
public get moveLength(): number;
|
|
302
|
+
constructor();
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
class CharacterController extends UnityEngine.Collider {
|
|
306
|
+
protected [__keep_incompatibility]: never;
|
|
307
|
+
public get velocity(): UnityEngine.Vector3;
|
|
308
|
+
public get isGrounded(): boolean;
|
|
309
|
+
public get collisionFlags(): UnityEngine.CollisionFlags;
|
|
310
|
+
public radius: number;
|
|
311
|
+
public height: number;
|
|
312
|
+
public center: UnityEngine.Vector3;
|
|
313
|
+
public slopeLimit: number;
|
|
314
|
+
public stepOffset: number;
|
|
315
|
+
public skinWidth: number;
|
|
316
|
+
public minMoveDistance: number;
|
|
317
|
+
public detectCollisions: boolean;
|
|
318
|
+
public enableOverlapRecovery: boolean;
|
|
319
|
+
constructor();
|
|
320
|
+
public SimpleMove($speed: UnityEngine.Vector3): boolean;
|
|
321
|
+
public Move($motion: UnityEngine.Vector3): UnityEngine.CollisionFlags;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
class CharacterJoint extends UnityEngine.Joint {
|
|
325
|
+
protected [__keep_incompatibility]: never;
|
|
326
|
+
public swingAxis: UnityEngine.Vector3;
|
|
327
|
+
public twistLimitSpring: UnityEngine.SoftJointLimitSpring;
|
|
328
|
+
public swingLimitSpring: UnityEngine.SoftJointLimitSpring;
|
|
329
|
+
public lowTwistLimit: UnityEngine.SoftJointLimit;
|
|
330
|
+
public highTwistLimit: UnityEngine.SoftJointLimit;
|
|
331
|
+
public swing1Limit: UnityEngine.SoftJointLimit;
|
|
332
|
+
public swing2Limit: UnityEngine.SoftJointLimit;
|
|
333
|
+
public enableProjection: boolean;
|
|
334
|
+
public projectionDistance: number;
|
|
335
|
+
public projectionAngle: number;
|
|
336
|
+
constructor();
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
class Collider extends UnityEngine.Component {
|
|
340
|
+
protected [__keep_incompatibility]: never;
|
|
341
|
+
public enabled: boolean;
|
|
342
|
+
public get attachedRigidbody(): UnityEngine.Rigidbody;
|
|
343
|
+
public get attachedArticulationBody(): UnityEngine.ArticulationBody;
|
|
344
|
+
public isTrigger: boolean;
|
|
345
|
+
public contactOffset: number;
|
|
346
|
+
public get bounds(): UnityEngine.Bounds;
|
|
347
|
+
public hasModifiableContacts: boolean;
|
|
348
|
+
public providesContacts: boolean;
|
|
349
|
+
public layerOverridePriority: number;
|
|
350
|
+
public excludeLayers: UnityEngine.LayerMask;
|
|
351
|
+
public includeLayers: UnityEngine.LayerMask;
|
|
352
|
+
public get GeometryHolder(): UnityEngine.LowLevelPhysics.GeometryHolder;
|
|
353
|
+
public sharedMaterial: UnityEngine.PhysicsMaterial;
|
|
354
|
+
public material: UnityEngine.PhysicsMaterial;
|
|
355
|
+
constructor();
|
|
356
|
+
public ClosestPoint($position: UnityEngine.Vector3): UnityEngine.Vector3;
|
|
357
|
+
public GetGeometry<T extends UnityEngine.LowLevelPhysics.IGeometry>(): T;
|
|
358
|
+
public Raycast($ray: UnityEngine.Ray, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number): boolean;
|
|
359
|
+
public ClosestPointOnBounds($position: UnityEngine.Vector3): UnityEngine.Vector3;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
enum JointProjectionMode {
|
|
363
|
+
None = 0,
|
|
364
|
+
PositionAndRotation = 1,
|
|
365
|
+
PositionOnly = 2
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
enum RotationDriveMode {
|
|
369
|
+
XYAndZ = 0,
|
|
370
|
+
Slerp = 1
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
enum ConfigurableJointMotion {
|
|
374
|
+
Locked = 0,
|
|
375
|
+
Limited = 1,
|
|
376
|
+
Free = 2
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
class ConfigurableJoint extends UnityEngine.Joint {
|
|
380
|
+
protected [__keep_incompatibility]: never;
|
|
381
|
+
public secondaryAxis: UnityEngine.Vector3;
|
|
382
|
+
public xMotion: UnityEngine.ConfigurableJointMotion;
|
|
383
|
+
public yMotion: UnityEngine.ConfigurableJointMotion;
|
|
384
|
+
public zMotion: UnityEngine.ConfigurableJointMotion;
|
|
385
|
+
public angularXMotion: UnityEngine.ConfigurableJointMotion;
|
|
386
|
+
public angularYMotion: UnityEngine.ConfigurableJointMotion;
|
|
387
|
+
public angularZMotion: UnityEngine.ConfigurableJointMotion;
|
|
388
|
+
public linearLimitSpring: UnityEngine.SoftJointLimitSpring;
|
|
389
|
+
public angularXLimitSpring: UnityEngine.SoftJointLimitSpring;
|
|
390
|
+
public angularYZLimitSpring: UnityEngine.SoftJointLimitSpring;
|
|
391
|
+
public linearLimit: UnityEngine.SoftJointLimit;
|
|
392
|
+
public lowAngularXLimit: UnityEngine.SoftJointLimit;
|
|
393
|
+
public highAngularXLimit: UnityEngine.SoftJointLimit;
|
|
394
|
+
public angularYLimit: UnityEngine.SoftJointLimit;
|
|
395
|
+
public angularZLimit: UnityEngine.SoftJointLimit;
|
|
396
|
+
public targetPosition: UnityEngine.Vector3;
|
|
397
|
+
public targetVelocity: UnityEngine.Vector3;
|
|
398
|
+
public xDrive: UnityEngine.JointDrive;
|
|
399
|
+
public yDrive: UnityEngine.JointDrive;
|
|
400
|
+
public zDrive: UnityEngine.JointDrive;
|
|
401
|
+
public targetRotation: UnityEngine.Quaternion;
|
|
402
|
+
public targetAngularVelocity: UnityEngine.Vector3;
|
|
403
|
+
public rotationDriveMode: UnityEngine.RotationDriveMode;
|
|
404
|
+
public angularXDrive: UnityEngine.JointDrive;
|
|
405
|
+
public angularYZDrive: UnityEngine.JointDrive;
|
|
406
|
+
public slerpDrive: UnityEngine.JointDrive;
|
|
407
|
+
public projectionMode: UnityEngine.JointProjectionMode;
|
|
408
|
+
public projectionDistance: number;
|
|
409
|
+
public projectionAngle: number;
|
|
410
|
+
public configuredInWorldSpace: boolean;
|
|
411
|
+
public swapBodies: boolean;
|
|
412
|
+
constructor();
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
class ConstantForce extends UnityEngine.Behaviour {
|
|
416
|
+
protected [__keep_incompatibility]: never;
|
|
417
|
+
public force: UnityEngine.Vector3;
|
|
418
|
+
public torque: UnityEngine.Vector3;
|
|
419
|
+
public relativeForce: UnityEngine.Vector3;
|
|
420
|
+
public relativeTorque: UnityEngine.Vector3;
|
|
421
|
+
constructor();
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
class Physics {
|
|
425
|
+
protected [__keep_incompatibility]: never;
|
|
426
|
+
public static readonly IgnoreRaycastLayer: number;
|
|
427
|
+
public static readonly DefaultRaycastLayers: number;
|
|
428
|
+
public static readonly AllLayers: number;
|
|
429
|
+
public static gravity: UnityEngine.Vector3;
|
|
430
|
+
public static defaultContactOffset: number;
|
|
431
|
+
public static sleepThreshold: number;
|
|
432
|
+
public static queriesHitTriggers: boolean;
|
|
433
|
+
public static queriesHitBackfaces: boolean;
|
|
434
|
+
public static bounceThreshold: number;
|
|
435
|
+
public static defaultMaxDepenetrationVelocity: number;
|
|
436
|
+
public static defaultSolverIterations: number;
|
|
437
|
+
public static defaultSolverVelocityIterations: number;
|
|
438
|
+
public static simulationMode: UnityEngine.SimulationMode;
|
|
439
|
+
public static defaultMaxAngularSpeed: number;
|
|
440
|
+
public static improvedPatchFriction: boolean;
|
|
441
|
+
public static invokeCollisionCallbacks: boolean;
|
|
442
|
+
public static get defaultPhysicsScene(): UnityEngine.PhysicsScene;
|
|
443
|
+
public static reuseCollisionCallbacks: boolean;
|
|
444
|
+
public static interCollisionDistance: number;
|
|
445
|
+
public static interCollisionStiffness: number;
|
|
446
|
+
public static interCollisionSettingsToggle: boolean;
|
|
447
|
+
public static clothGravity: UnityEngine.Vector3;
|
|
448
|
+
public static autoSimulation: boolean;
|
|
449
|
+
public static autoSyncTransforms: boolean;
|
|
450
|
+
constructor();
|
|
451
|
+
public static GetCurrentIntegrationInfo(): UnityEngine.IntegrationInfo;
|
|
452
|
+
public static IgnoreCollision($collider1: UnityEngine.Collider, $collider2: UnityEngine.Collider, $ignore: boolean): void;
|
|
453
|
+
public static IgnoreCollision($collider1: UnityEngine.Collider, $collider2: UnityEngine.Collider): void;
|
|
454
|
+
public static IgnoreLayerCollision($layer1: number, $layer2: number, $ignore: boolean): void;
|
|
455
|
+
public static IgnoreLayerCollision($layer1: number, $layer2: number): void;
|
|
456
|
+
public static GetIgnoreLayerCollision($layer1: number, $layer2: number): boolean;
|
|
457
|
+
public static GetIgnoreCollision($collider1: UnityEngine.Collider, $collider2: UnityEngine.Collider): boolean;
|
|
458
|
+
public static Raycast($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
459
|
+
public static Raycast($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $maxDistance: number, $layerMask: number): boolean;
|
|
460
|
+
public static Raycast($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $maxDistance: number): boolean;
|
|
461
|
+
public static Raycast($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3): boolean;
|
|
462
|
+
public static Raycast($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
463
|
+
public static Raycast($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number): boolean;
|
|
464
|
+
public static Raycast($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number): boolean;
|
|
465
|
+
public static Raycast($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>): boolean;
|
|
466
|
+
public static Raycast($ray: UnityEngine.Ray, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
467
|
+
public static Raycast($ray: UnityEngine.Ray, $maxDistance: number, $layerMask: number): boolean;
|
|
468
|
+
public static Raycast($ray: UnityEngine.Ray, $maxDistance: number): boolean;
|
|
469
|
+
public static Raycast($ray: UnityEngine.Ray): boolean;
|
|
470
|
+
public static Raycast($ray: UnityEngine.Ray, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
471
|
+
public static Raycast($ray: UnityEngine.Ray, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number): boolean;
|
|
472
|
+
public static Raycast($ray: UnityEngine.Ray, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number): boolean;
|
|
473
|
+
public static Raycast($ray: UnityEngine.Ray, $hitInfo: $Out<UnityEngine.RaycastHit>): boolean;
|
|
474
|
+
public static Linecast($start: UnityEngine.Vector3, $end: UnityEngine.Vector3, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
475
|
+
public static Linecast($start: UnityEngine.Vector3, $end: UnityEngine.Vector3, $layerMask: number): boolean;
|
|
476
|
+
public static Linecast($start: UnityEngine.Vector3, $end: UnityEngine.Vector3): boolean;
|
|
477
|
+
public static Linecast($start: UnityEngine.Vector3, $end: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
478
|
+
public static Linecast($start: UnityEngine.Vector3, $end: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $layerMask: number): boolean;
|
|
479
|
+
public static Linecast($start: UnityEngine.Vector3, $end: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>): boolean;
|
|
480
|
+
public static CapsuleCast($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
481
|
+
public static CapsuleCast($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $maxDistance: number, $layerMask: number): boolean;
|
|
482
|
+
public static CapsuleCast($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $maxDistance: number): boolean;
|
|
483
|
+
public static CapsuleCast($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3): boolean;
|
|
484
|
+
public static CapsuleCast($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
485
|
+
public static CapsuleCast($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number): boolean;
|
|
486
|
+
public static CapsuleCast($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number): boolean;
|
|
487
|
+
public static CapsuleCast($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>): boolean;
|
|
488
|
+
public static SphereCast($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
489
|
+
public static SphereCast($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number): boolean;
|
|
490
|
+
public static SphereCast($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number): boolean;
|
|
491
|
+
public static SphereCast($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>): boolean;
|
|
492
|
+
public static SphereCast($ray: UnityEngine.Ray, $radius: number, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
493
|
+
public static SphereCast($ray: UnityEngine.Ray, $radius: number, $maxDistance: number, $layerMask: number): boolean;
|
|
494
|
+
public static SphereCast($ray: UnityEngine.Ray, $radius: number, $maxDistance: number): boolean;
|
|
495
|
+
public static SphereCast($ray: UnityEngine.Ray, $radius: number): boolean;
|
|
496
|
+
public static SphereCast($ray: UnityEngine.Ray, $radius: number, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
497
|
+
public static SphereCast($ray: UnityEngine.Ray, $radius: number, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number): boolean;
|
|
498
|
+
public static SphereCast($ray: UnityEngine.Ray, $radius: number, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number): boolean;
|
|
499
|
+
public static SphereCast($ray: UnityEngine.Ray, $radius: number, $hitInfo: $Out<UnityEngine.RaycastHit>): boolean;
|
|
500
|
+
public static BoxCast($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
501
|
+
public static BoxCast($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $maxDistance: number, $layerMask: number): boolean;
|
|
502
|
+
public static BoxCast($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $maxDistance: number): boolean;
|
|
503
|
+
public static BoxCast($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion): boolean;
|
|
504
|
+
public static BoxCast($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3): boolean;
|
|
505
|
+
public static BoxCast($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $orientation: UnityEngine.Quaternion, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
506
|
+
public static BoxCast($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $orientation: UnityEngine.Quaternion, $maxDistance: number, $layerMask: number): boolean;
|
|
507
|
+
public static BoxCast($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $orientation: UnityEngine.Quaternion, $maxDistance: number): boolean;
|
|
508
|
+
public static BoxCast($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $orientation: UnityEngine.Quaternion): boolean;
|
|
509
|
+
public static BoxCast($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>): boolean;
|
|
510
|
+
public static RaycastAll($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): System.Array$1<UnityEngine.RaycastHit>;
|
|
511
|
+
public static RaycastAll($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $maxDistance: number, $layerMask: number): System.Array$1<UnityEngine.RaycastHit>;
|
|
512
|
+
public static RaycastAll($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $maxDistance: number): System.Array$1<UnityEngine.RaycastHit>;
|
|
513
|
+
public static RaycastAll($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3): System.Array$1<UnityEngine.RaycastHit>;
|
|
514
|
+
public static RaycastAll($ray: UnityEngine.Ray, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): System.Array$1<UnityEngine.RaycastHit>;
|
|
515
|
+
public static RaycastAll($ray: UnityEngine.Ray, $maxDistance: number, $layerMask: number): System.Array$1<UnityEngine.RaycastHit>;
|
|
516
|
+
public static RaycastAll($ray: UnityEngine.Ray, $maxDistance: number): System.Array$1<UnityEngine.RaycastHit>;
|
|
517
|
+
public static RaycastAll($ray: UnityEngine.Ray): System.Array$1<UnityEngine.RaycastHit>;
|
|
518
|
+
public static RaycastNonAlloc($ray: UnityEngine.Ray, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): number;
|
|
519
|
+
public static RaycastNonAlloc($ray: UnityEngine.Ray, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number): number;
|
|
520
|
+
public static RaycastNonAlloc($ray: UnityEngine.Ray, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance: number): number;
|
|
521
|
+
public static RaycastNonAlloc($ray: UnityEngine.Ray, $results: System.Array$1<UnityEngine.RaycastHit>): number;
|
|
522
|
+
public static RaycastNonAlloc($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): number;
|
|
523
|
+
public static RaycastNonAlloc($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number): number;
|
|
524
|
+
public static RaycastNonAlloc($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance: number): number;
|
|
525
|
+
public static RaycastNonAlloc($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>): number;
|
|
526
|
+
public static CapsuleCastAll($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): System.Array$1<UnityEngine.RaycastHit>;
|
|
527
|
+
public static CapsuleCastAll($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $maxDistance: number, $layerMask: number): System.Array$1<UnityEngine.RaycastHit>;
|
|
528
|
+
public static CapsuleCastAll($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $maxDistance: number): System.Array$1<UnityEngine.RaycastHit>;
|
|
529
|
+
public static CapsuleCastAll($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3): System.Array$1<UnityEngine.RaycastHit>;
|
|
530
|
+
public static SphereCastAll($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): System.Array$1<UnityEngine.RaycastHit>;
|
|
531
|
+
public static SphereCastAll($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $maxDistance: number, $layerMask: number): System.Array$1<UnityEngine.RaycastHit>;
|
|
532
|
+
public static SphereCastAll($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $maxDistance: number): System.Array$1<UnityEngine.RaycastHit>;
|
|
533
|
+
public static SphereCastAll($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3): System.Array$1<UnityEngine.RaycastHit>;
|
|
534
|
+
public static SphereCastAll($ray: UnityEngine.Ray, $radius: number, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): System.Array$1<UnityEngine.RaycastHit>;
|
|
535
|
+
public static SphereCastAll($ray: UnityEngine.Ray, $radius: number, $maxDistance: number, $layerMask: number): System.Array$1<UnityEngine.RaycastHit>;
|
|
536
|
+
public static SphereCastAll($ray: UnityEngine.Ray, $radius: number, $maxDistance: number): System.Array$1<UnityEngine.RaycastHit>;
|
|
537
|
+
public static SphereCastAll($ray: UnityEngine.Ray, $radius: number): System.Array$1<UnityEngine.RaycastHit>;
|
|
538
|
+
public static OverlapCapsule($point0: UnityEngine.Vector3, $point1: UnityEngine.Vector3, $radius: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): System.Array$1<UnityEngine.Collider>;
|
|
539
|
+
public static OverlapCapsule($point0: UnityEngine.Vector3, $point1: UnityEngine.Vector3, $radius: number, $layerMask: number): System.Array$1<UnityEngine.Collider>;
|
|
540
|
+
public static OverlapCapsule($point0: UnityEngine.Vector3, $point1: UnityEngine.Vector3, $radius: number): System.Array$1<UnityEngine.Collider>;
|
|
541
|
+
public static OverlapSphere($position: UnityEngine.Vector3, $radius: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): System.Array$1<UnityEngine.Collider>;
|
|
542
|
+
public static OverlapSphere($position: UnityEngine.Vector3, $radius: number, $layerMask: number): System.Array$1<UnityEngine.Collider>;
|
|
543
|
+
public static OverlapSphere($position: UnityEngine.Vector3, $radius: number): System.Array$1<UnityEngine.Collider>;
|
|
544
|
+
public static Simulate($step: number): void;
|
|
545
|
+
public static SyncTransforms(): void;
|
|
546
|
+
public static ComputePenetration($colliderA: UnityEngine.Collider, $positionA: UnityEngine.Vector3, $rotationA: UnityEngine.Quaternion, $colliderB: UnityEngine.Collider, $positionB: UnityEngine.Vector3, $rotationB: UnityEngine.Quaternion, $direction: $Out<UnityEngine.Vector3>, $distance: $Out<number>): boolean;
|
|
547
|
+
public static ClosestPoint($point: UnityEngine.Vector3, $collider: UnityEngine.Collider, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion): UnityEngine.Vector3;
|
|
548
|
+
public static OverlapSphereNonAlloc($position: UnityEngine.Vector3, $radius: number, $results: System.Array$1<UnityEngine.Collider>, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): number;
|
|
549
|
+
public static OverlapSphereNonAlloc($position: UnityEngine.Vector3, $radius: number, $results: System.Array$1<UnityEngine.Collider>, $layerMask: number): number;
|
|
550
|
+
public static OverlapSphereNonAlloc($position: UnityEngine.Vector3, $radius: number, $results: System.Array$1<UnityEngine.Collider>): number;
|
|
551
|
+
public static CheckSphere($position: UnityEngine.Vector3, $radius: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
552
|
+
public static CheckSphere($position: UnityEngine.Vector3, $radius: number, $layerMask: number): boolean;
|
|
553
|
+
public static CheckSphere($position: UnityEngine.Vector3, $radius: number): boolean;
|
|
554
|
+
public static CapsuleCastNonAlloc($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): number;
|
|
555
|
+
public static CapsuleCastNonAlloc($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number): number;
|
|
556
|
+
public static CapsuleCastNonAlloc($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance: number): number;
|
|
557
|
+
public static CapsuleCastNonAlloc($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>): number;
|
|
558
|
+
public static SphereCastNonAlloc($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): number;
|
|
559
|
+
public static SphereCastNonAlloc($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number): number;
|
|
560
|
+
public static SphereCastNonAlloc($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance: number): number;
|
|
561
|
+
public static SphereCastNonAlloc($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>): number;
|
|
562
|
+
public static SphereCastNonAlloc($ray: UnityEngine.Ray, $radius: number, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): number;
|
|
563
|
+
public static SphereCastNonAlloc($ray: UnityEngine.Ray, $radius: number, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance: number, $layerMask: number): number;
|
|
564
|
+
public static SphereCastNonAlloc($ray: UnityEngine.Ray, $radius: number, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance: number): number;
|
|
565
|
+
public static SphereCastNonAlloc($ray: UnityEngine.Ray, $radius: number, $results: System.Array$1<UnityEngine.RaycastHit>): number;
|
|
566
|
+
public static CheckCapsule($start: UnityEngine.Vector3, $end: UnityEngine.Vector3, $radius: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
567
|
+
public static CheckCapsule($start: UnityEngine.Vector3, $end: UnityEngine.Vector3, $radius: number, $layerMask: number): boolean;
|
|
568
|
+
public static CheckCapsule($start: UnityEngine.Vector3, $end: UnityEngine.Vector3, $radius: number): boolean;
|
|
569
|
+
public static CheckBox($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $layermask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
570
|
+
public static CheckBox($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $layerMask: number): boolean;
|
|
571
|
+
public static CheckBox($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion): boolean;
|
|
572
|
+
public static CheckBox($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3): boolean;
|
|
573
|
+
public static OverlapBox($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): System.Array$1<UnityEngine.Collider>;
|
|
574
|
+
public static OverlapBox($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $layerMask: number): System.Array$1<UnityEngine.Collider>;
|
|
575
|
+
public static OverlapBox($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion): System.Array$1<UnityEngine.Collider>;
|
|
576
|
+
public static OverlapBox($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3): System.Array$1<UnityEngine.Collider>;
|
|
577
|
+
public static OverlapBoxNonAlloc($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.Collider>, $orientation: UnityEngine.Quaternion, $mask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): number;
|
|
578
|
+
public static OverlapBoxNonAlloc($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.Collider>, $orientation: UnityEngine.Quaternion, $mask: number): number;
|
|
579
|
+
public static OverlapBoxNonAlloc($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.Collider>, $orientation: UnityEngine.Quaternion): number;
|
|
580
|
+
public static OverlapBoxNonAlloc($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.Collider>): number;
|
|
581
|
+
public static BoxCastNonAlloc($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $orientation: UnityEngine.Quaternion, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): number;
|
|
582
|
+
public static BoxCastNonAlloc($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $orientation: UnityEngine.Quaternion): number;
|
|
583
|
+
public static BoxCastNonAlloc($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $orientation: UnityEngine.Quaternion, $maxDistance: number): number;
|
|
584
|
+
public static BoxCastNonAlloc($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $orientation: UnityEngine.Quaternion, $maxDistance: number, $layerMask: number): number;
|
|
585
|
+
public static BoxCastNonAlloc($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>): number;
|
|
586
|
+
public static BoxCastAll($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $maxDistance: number, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): System.Array$1<UnityEngine.RaycastHit>;
|
|
587
|
+
public static BoxCastAll($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $maxDistance: number, $layerMask: number): System.Array$1<UnityEngine.RaycastHit>;
|
|
588
|
+
public static BoxCastAll($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $maxDistance: number): System.Array$1<UnityEngine.RaycastHit>;
|
|
589
|
+
public static BoxCastAll($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion): System.Array$1<UnityEngine.RaycastHit>;
|
|
590
|
+
public static BoxCastAll($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3): System.Array$1<UnityEngine.RaycastHit>;
|
|
591
|
+
public static OverlapCapsuleNonAlloc($point0: UnityEngine.Vector3, $point1: UnityEngine.Vector3, $radius: number, $results: System.Array$1<UnityEngine.Collider>, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): number;
|
|
592
|
+
public static OverlapCapsuleNonAlloc($point0: UnityEngine.Vector3, $point1: UnityEngine.Vector3, $radius: number, $results: System.Array$1<UnityEngine.Collider>, $layerMask: number): number;
|
|
593
|
+
public static OverlapCapsuleNonAlloc($point0: UnityEngine.Vector3, $point1: UnityEngine.Vector3, $radius: number, $results: System.Array$1<UnityEngine.Collider>): number;
|
|
594
|
+
public static RebuildBroadphaseRegions($worldBounds: UnityEngine.Bounds, $subdivisions: number): void;
|
|
595
|
+
public static BakeMesh($meshEntityId: UnityEngine.EntityId, $convex: boolean, $cookingOptions: UnityEngine.MeshColliderCookingOptions): void;
|
|
596
|
+
public static BakeMesh($meshID: number, $convex: boolean, $cookingOptions: UnityEngine.MeshColliderCookingOptions): void;
|
|
597
|
+
public static BakeMesh($meshID: number, $convex: boolean): void;
|
|
598
|
+
public static BakeMesh($meshEntityId: UnityEngine.EntityId, $convex: boolean): void;
|
|
599
|
+
public static add_ContactModifyEvent(handler: System.Action$2<UnityEngine.PhysicsScene, Unity.Collections.NativeArray$1<UnityEngine.ModifiableContactPair>>): void;
|
|
600
|
+
public static remove_ContactModifyEvent(handler: System.Action$2<UnityEngine.PhysicsScene, Unity.Collections.NativeArray$1<UnityEngine.ModifiableContactPair>>): void;
|
|
601
|
+
public static add_ContactModifyEventCCD(handler: System.Action$2<UnityEngine.PhysicsScene, Unity.Collections.NativeArray$1<UnityEngine.ModifiableContactPair>>): void;
|
|
602
|
+
public static remove_ContactModifyEventCCD(handler: System.Action$2<UnityEngine.PhysicsScene, Unity.Collections.NativeArray$1<UnityEngine.ModifiableContactPair>>): void;
|
|
603
|
+
public static add_ContactEvent(handler: UnityEngine.Physics.ContactEventDelegate): void;
|
|
604
|
+
public static remove_ContactEvent(handler: UnityEngine.Physics.ContactEventDelegate): void;
|
|
605
|
+
}
|
|
606
|
+
namespace Physics {
|
|
607
|
+
interface ContactEventDelegate {
|
|
608
|
+
($scene: UnityEngine.PhysicsScene, $headerArray: Unity.Collections.NativeArray$1.ReadOnly$1<UnityEngine.ContactPairHeader>): void;
|
|
609
|
+
Invoke?: ($scene: UnityEngine.PhysicsScene, $headerArray: Unity.Collections.NativeArray$1.ReadOnly$1<UnityEngine.ContactPairHeader>) => void;
|
|
610
|
+
}
|
|
611
|
+
var ContactEventDelegate: { new (func: ($scene: UnityEngine.PhysicsScene, $headerArray: Unity.Collections.NativeArray$1.ReadOnly$1<UnityEngine.ContactPairHeader>) => void): ContactEventDelegate; };
|
|
612
|
+
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
class ModifiableContactPair {
|
|
616
|
+
protected [__keep_incompatibility]: never;
|
|
617
|
+
public rotation: UnityEngine.Quaternion;
|
|
618
|
+
public position: UnityEngine.Vector3;
|
|
619
|
+
public otherRotation: UnityEngine.Quaternion;
|
|
620
|
+
public otherPosition: UnityEngine.Vector3;
|
|
621
|
+
public get colliderInstanceID(): number;
|
|
622
|
+
public get otherColliderInstanceID(): number;
|
|
623
|
+
public get bodyInstanceID(): number;
|
|
624
|
+
public get otherBodyInstanceID(): number;
|
|
625
|
+
public get bodyVelocity(): UnityEngine.Vector3;
|
|
626
|
+
public get bodyAngularVelocity(): UnityEngine.Vector3;
|
|
627
|
+
public get otherBodyVelocity(): UnityEngine.Vector3;
|
|
628
|
+
public get otherBodyAngularVelocity(): UnityEngine.Vector3;
|
|
629
|
+
public get contactCount(): number;
|
|
630
|
+
public massProperties: UnityEngine.ModifiableMassProperties;
|
|
631
|
+
public GetPoint($i: number): UnityEngine.Vector3;
|
|
632
|
+
public SetPoint($i: number, $v: UnityEngine.Vector3): void;
|
|
633
|
+
public GetNormal($i: number): UnityEngine.Vector3;
|
|
634
|
+
public SetNormal($i: number, $normal: UnityEngine.Vector3): void;
|
|
635
|
+
public GetSeparation($i: number): number;
|
|
636
|
+
public SetSeparation($i: number, $separation: number): void;
|
|
637
|
+
public GetTargetVelocity($i: number): UnityEngine.Vector3;
|
|
638
|
+
public SetTargetVelocity($i: number, $velocity: UnityEngine.Vector3): void;
|
|
639
|
+
public GetBounciness($i: number): number;
|
|
640
|
+
public SetBounciness($i: number, $bounciness: number): void;
|
|
641
|
+
public GetStaticFriction($i: number): number;
|
|
642
|
+
public SetStaticFriction($i: number, $staticFriction: number): void;
|
|
643
|
+
public GetDynamicFriction($i: number): number;
|
|
644
|
+
public SetDynamicFriction($i: number, $dynamicFriction: number): void;
|
|
645
|
+
public GetMaxImpulse($i: number): number;
|
|
646
|
+
public SetMaxImpulse($i: number, $value: number): void;
|
|
647
|
+
public IgnoreContact($i: number): void;
|
|
648
|
+
public GetFaceIndex($i: number): number;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
class ModifiableMassProperties {
|
|
652
|
+
protected [__keep_incompatibility]: never;
|
|
653
|
+
public inverseMassScale: number;
|
|
654
|
+
public inverseInertiaScale: number;
|
|
655
|
+
public otherInverseMassScale: number;
|
|
656
|
+
public otherInverseInertiaScale: number;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
class FixedJoint extends UnityEngine.Joint {
|
|
660
|
+
protected [__keep_incompatibility]: never;
|
|
661
|
+
constructor();
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
class HingeJoint extends UnityEngine.Joint {
|
|
665
|
+
protected [__keep_incompatibility]: never;
|
|
666
|
+
public motor: UnityEngine.JointMotor;
|
|
667
|
+
public limits: UnityEngine.JointLimits;
|
|
668
|
+
public spring: UnityEngine.JointSpring;
|
|
669
|
+
public useMotor: boolean;
|
|
670
|
+
public useLimits: boolean;
|
|
671
|
+
public extendedLimits: boolean;
|
|
672
|
+
public useSpring: boolean;
|
|
673
|
+
public get velocity(): number;
|
|
674
|
+
public get angle(): number;
|
|
675
|
+
public useAcceleration: boolean;
|
|
676
|
+
constructor();
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
class Joint extends UnityEngine.Component {
|
|
680
|
+
protected [__keep_incompatibility]: never;
|
|
681
|
+
public connectedBody: UnityEngine.Rigidbody;
|
|
682
|
+
public connectedArticulationBody: UnityEngine.ArticulationBody;
|
|
683
|
+
public axis: UnityEngine.Vector3;
|
|
684
|
+
public anchor: UnityEngine.Vector3;
|
|
685
|
+
public connectedAnchor: UnityEngine.Vector3;
|
|
686
|
+
public autoConfigureConnectedAnchor: boolean;
|
|
687
|
+
public breakForce: number;
|
|
688
|
+
public breakTorque: number;
|
|
689
|
+
public enableCollision: boolean;
|
|
690
|
+
public enablePreprocessing: boolean;
|
|
691
|
+
public massScale: number;
|
|
692
|
+
public connectedMassScale: number;
|
|
693
|
+
public get currentForce(): UnityEngine.Vector3;
|
|
694
|
+
public get currentTorque(): UnityEngine.Vector3;
|
|
695
|
+
constructor();
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
enum MeshColliderCookingOptions {
|
|
699
|
+
None = 0,
|
|
700
|
+
InflateConvexMesh = 1,
|
|
701
|
+
CookForFasterSimulation = 2,
|
|
702
|
+
EnableMeshCleaning = 4,
|
|
703
|
+
WeldColocatedVertices = 8,
|
|
704
|
+
UseFastMidphase = 16
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
class MeshCollider extends UnityEngine.Collider {
|
|
708
|
+
protected [__keep_incompatibility]: never;
|
|
709
|
+
public sharedMesh: UnityEngine.Mesh;
|
|
710
|
+
public convex: boolean;
|
|
711
|
+
public cookingOptions: UnityEngine.MeshColliderCookingOptions;
|
|
712
|
+
constructor();
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
enum QueryTriggerInteraction {
|
|
716
|
+
UseGlobal = 0,
|
|
717
|
+
Ignore = 1,
|
|
718
|
+
Collide = 2
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
enum SimulationMode {
|
|
722
|
+
FixedUpdate = 0,
|
|
723
|
+
Update = 1,
|
|
724
|
+
Script = 2
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
enum SimulationStage {
|
|
728
|
+
None = 0,
|
|
729
|
+
PrepareSimulation = 1,
|
|
730
|
+
RunSimulation = 2,
|
|
731
|
+
PublishSimulationResults = 4,
|
|
732
|
+
All = 7
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
enum SimulationOption {
|
|
736
|
+
None = 0,
|
|
737
|
+
SyncTransforms = 1,
|
|
738
|
+
IgnoreEmptyScenes = 2,
|
|
739
|
+
All = 3
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
class IntegrationInfo {
|
|
743
|
+
protected [__keep_incompatibility]: never;
|
|
744
|
+
public get id(): number;
|
|
745
|
+
public get name(): string;
|
|
746
|
+
public get description(): string;
|
|
747
|
+
public get isFallback(): boolean;
|
|
748
|
+
}
|
|
749
|
+
namespace IntegrationInfo {
|
|
750
|
+
type _m_Desc_e__FixedBuffer = any;
|
|
751
|
+
|
|
752
|
+
type _m_IntegrationVersion_e__FixedBuffer = any;
|
|
753
|
+
|
|
754
|
+
type _m_Name_e__FixedBuffer = any;
|
|
755
|
+
|
|
756
|
+
type _m_SdkVersion_e__FixedBuffer = any;
|
|
757
|
+
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
class ContactPairHeader {
|
|
761
|
+
protected [__keep_incompatibility]: never;
|
|
762
|
+
public get bodyInstanceID(): number;
|
|
763
|
+
public get otherBodyInstanceID(): number;
|
|
764
|
+
public get bodyEntityId(): UnityEngine.EntityId;
|
|
765
|
+
public get otherBodyEntityId(): UnityEngine.EntityId;
|
|
766
|
+
public get body(): UnityEngine.Component;
|
|
767
|
+
public get otherBody(): UnityEngine.Component;
|
|
768
|
+
public get pairCount(): number;
|
|
769
|
+
public get BodyInstanceID(): number;
|
|
770
|
+
public get OtherBodyInstanceID(): number;
|
|
771
|
+
public get Body(): UnityEngine.Component;
|
|
772
|
+
public get OtherBody(): UnityEngine.Component;
|
|
773
|
+
public get PairCount(): number;
|
|
774
|
+
public GetContactPair($index: number): $Ref<UnityEngine.ContactPair>;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
class ContactPair {
|
|
778
|
+
protected [__keep_incompatibility]: never;
|
|
779
|
+
public get colliderInstanceID(): number;
|
|
780
|
+
public get otherColliderInstanceID(): number;
|
|
781
|
+
public get colliderEntityId(): UnityEngine.EntityId;
|
|
782
|
+
public get otherColliderEntityId(): UnityEngine.EntityId;
|
|
783
|
+
public get collider(): UnityEngine.Collider;
|
|
784
|
+
public get otherCollider(): UnityEngine.Collider;
|
|
785
|
+
public get contactCount(): number;
|
|
786
|
+
public get impulseSum(): UnityEngine.Vector3;
|
|
787
|
+
public get isCollisionEnter(): boolean;
|
|
788
|
+
public get isCollisionExit(): boolean;
|
|
789
|
+
public get isCollisionStay(): boolean;
|
|
790
|
+
public get ColliderInstanceID(): number;
|
|
791
|
+
public get OtherColliderInstanceID(): number;
|
|
792
|
+
public get Collider(): UnityEngine.Collider;
|
|
793
|
+
public get OtherCollider(): UnityEngine.Collider;
|
|
794
|
+
public get ContactCount(): number;
|
|
795
|
+
public get ImpulseSum(): UnityEngine.Vector3;
|
|
796
|
+
public get IsCollisionEnter(): boolean;
|
|
797
|
+
public get IsCollisionExit(): boolean;
|
|
798
|
+
public get IsCollisionStay(): boolean;
|
|
799
|
+
public CopyToNativeArray($buffer: Unity.Collections.NativeArray$1<UnityEngine.ContactPairPoint>): void;
|
|
800
|
+
public GetContactPoint($index: number): $Ref<UnityEngine.ContactPairPoint>;
|
|
801
|
+
public GetContactPointFaceIndex($contactIndex: number): number;
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
class ContactPairPoint {
|
|
805
|
+
protected [__keep_incompatibility]: never;
|
|
806
|
+
public get position(): UnityEngine.Vector3;
|
|
807
|
+
public get separation(): number;
|
|
808
|
+
public get normal(): UnityEngine.Vector3;
|
|
809
|
+
public get impulse(): UnityEngine.Vector3;
|
|
810
|
+
public get Position(): UnityEngine.Vector3;
|
|
811
|
+
public get Separation(): number;
|
|
812
|
+
public get Normal(): UnityEngine.Vector3;
|
|
813
|
+
public get Impulse(): UnityEngine.Vector3;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
enum PhysicsMaterialCombine {
|
|
817
|
+
Average = 0,
|
|
818
|
+
Multiply = 1,
|
|
819
|
+
Minimum = 2,
|
|
820
|
+
Maximum = 3
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
class PhysicsMaterial extends UnityEngine.Object {
|
|
824
|
+
protected [__keep_incompatibility]: never;
|
|
825
|
+
public bounciness: number;
|
|
826
|
+
public dynamicFriction: number;
|
|
827
|
+
public staticFriction: number;
|
|
828
|
+
public frictionCombine: UnityEngine.PhysicsMaterialCombine;
|
|
829
|
+
public bounceCombine: UnityEngine.PhysicsMaterialCombine;
|
|
830
|
+
constructor();
|
|
831
|
+
constructor($name: string);
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
enum PhysicMaterialCombine {
|
|
835
|
+
Average = 0,
|
|
836
|
+
Multiply = 1,
|
|
837
|
+
Minimum = 2,
|
|
838
|
+
Maximum = 3
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
class PhysicMaterial extends UnityEngine.Object {
|
|
842
|
+
protected [__keep_incompatibility]: never;
|
|
843
|
+
public bounciness: number;
|
|
844
|
+
public dynamicFriction: number;
|
|
845
|
+
public staticFriction: number;
|
|
846
|
+
public frictionCombine: UnityEngine.PhysicMaterialCombine;
|
|
847
|
+
public bounceCombine: UnityEngine.PhysicMaterialCombine;
|
|
848
|
+
public bouncyness: number;
|
|
849
|
+
constructor();
|
|
850
|
+
constructor($name: string);
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
class PhysicsScene implements System.IEquatable$1<UnityEngine.PhysicsScene> {
|
|
854
|
+
protected [__keep_incompatibility]: never;
|
|
855
|
+
public ToString(): string;
|
|
856
|
+
public GetHashCode(): number;
|
|
857
|
+
public Equals($other: any): boolean;
|
|
858
|
+
public Equals($other: UnityEngine.PhysicsScene): boolean;
|
|
859
|
+
public IsValid(): boolean;
|
|
860
|
+
public IsEmpty(): boolean;
|
|
861
|
+
public Simulate($step: number): void;
|
|
862
|
+
public RunSimulationStages($step: number, $stages: UnityEngine.SimulationStage, $options?: UnityEngine.SimulationOption): void;
|
|
863
|
+
public InterpolateBodies(): void;
|
|
864
|
+
public ResetInterpolationPoses(): void;
|
|
865
|
+
public Raycast($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $maxDistance?: number, $layerMask?: number, $queryTriggerInteraction?: UnityEngine.QueryTriggerInteraction): boolean;
|
|
866
|
+
public Raycast($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance?: number, $layerMask?: number, $queryTriggerInteraction?: UnityEngine.QueryTriggerInteraction): boolean;
|
|
867
|
+
public Raycast($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $raycastHits: System.Array$1<UnityEngine.RaycastHit>, $maxDistance?: number, $layerMask?: number, $queryTriggerInteraction?: UnityEngine.QueryTriggerInteraction): number;
|
|
868
|
+
public CapsuleCast($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance?: number, $layerMask?: number, $queryTriggerInteraction?: UnityEngine.QueryTriggerInteraction): boolean;
|
|
869
|
+
public CapsuleCast($point1: UnityEngine.Vector3, $point2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance?: number, $layerMask?: number, $queryTriggerInteraction?: UnityEngine.QueryTriggerInteraction): number;
|
|
870
|
+
public OverlapCapsule($point0: UnityEngine.Vector3, $point1: UnityEngine.Vector3, $radius: number, $results: System.Array$1<UnityEngine.Collider>, $layerMask?: number, $queryTriggerInteraction?: UnityEngine.QueryTriggerInteraction): number;
|
|
871
|
+
public SphereCast($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance?: number, $layerMask?: number, $queryTriggerInteraction?: UnityEngine.QueryTriggerInteraction): boolean;
|
|
872
|
+
public SphereCast($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $maxDistance?: number, $layerMask?: number, $queryTriggerInteraction?: UnityEngine.QueryTriggerInteraction): number;
|
|
873
|
+
public OverlapSphere($position: UnityEngine.Vector3, $radius: number, $results: System.Array$1<UnityEngine.Collider>, $layerMask: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): number;
|
|
874
|
+
public BoxCast($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $orientation: UnityEngine.Quaternion, $maxDistance?: number, $layerMask?: number, $queryTriggerInteraction?: UnityEngine.QueryTriggerInteraction): boolean;
|
|
875
|
+
public BoxCast($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>): boolean;
|
|
876
|
+
public OverlapBox($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.Collider>, $orientation: UnityEngine.Quaternion, $layerMask?: number, $queryTriggerInteraction?: UnityEngine.QueryTriggerInteraction): number;
|
|
877
|
+
public OverlapBox($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.Collider>): number;
|
|
878
|
+
public BoxCast($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>, $orientation: UnityEngine.Quaternion, $maxDistance?: number, $layerMask?: number, $queryTriggerInteraction?: UnityEngine.QueryTriggerInteraction): number;
|
|
879
|
+
public BoxCast($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $results: System.Array$1<UnityEngine.RaycastHit>): number;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
class PhysicsSceneExtensions {
|
|
883
|
+
protected [__keep_incompatibility]: never;
|
|
884
|
+
public static GetPhysicsScene(): UnityEngine.PhysicsScene;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
class QueryParameters {
|
|
888
|
+
protected [__keep_incompatibility]: never;
|
|
889
|
+
public layerMask: number;
|
|
890
|
+
public hitMultipleFaces: boolean;
|
|
891
|
+
public hitTriggers: UnityEngine.QueryTriggerInteraction;
|
|
892
|
+
public hitBackfaces: boolean;
|
|
893
|
+
public static get Default(): UnityEngine.QueryParameters;
|
|
894
|
+
constructor($layerMask?: number, $hitMultipleFaces?: boolean, $hitTriggers?: UnityEngine.QueryTriggerInteraction, $hitBackfaces?: boolean);
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
class ColliderHit {
|
|
898
|
+
protected [__keep_incompatibility]: never;
|
|
899
|
+
public get instanceID(): number;
|
|
900
|
+
public get collider(): UnityEngine.Collider;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
class RaycastCommand {
|
|
904
|
+
protected [__keep_incompatibility]: never;
|
|
905
|
+
public queryParameters: UnityEngine.QueryParameters;
|
|
906
|
+
public from: UnityEngine.Vector3;
|
|
907
|
+
public direction: UnityEngine.Vector3;
|
|
908
|
+
public physicsScene: UnityEngine.PhysicsScene;
|
|
909
|
+
public distance: number;
|
|
910
|
+
public maxHits: number;
|
|
911
|
+
public layerMask: number;
|
|
912
|
+
constructor($from: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $queryParameters: UnityEngine.QueryParameters, $distance?: number);
|
|
913
|
+
constructor($physicsScene: UnityEngine.PhysicsScene, $from: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $queryParameters: UnityEngine.QueryParameters, $distance?: number);
|
|
914
|
+
constructor($from: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $distance?: number, $layerMask?: number, $maxHits?: number);
|
|
915
|
+
constructor($physicsScene: UnityEngine.PhysicsScene, $from: UnityEngine.Vector3, $direction: UnityEngine.Vector3, $distance?: number, $layerMask?: number, $maxHits?: number);
|
|
916
|
+
public static ScheduleBatch($commands: Unity.Collections.NativeArray$1<UnityEngine.RaycastCommand>, $results: Unity.Collections.NativeArray$1<UnityEngine.RaycastHit>, $minCommandsPerJob: number, $maxHits: number, $dependsOn?: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle;
|
|
917
|
+
public static ScheduleBatch($commands: Unity.Collections.NativeArray$1<UnityEngine.RaycastCommand>, $results: Unity.Collections.NativeArray$1<UnityEngine.RaycastHit>, $minCommandsPerJob: number, $dependsOn?: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
class SpherecastCommand {
|
|
921
|
+
protected [__keep_incompatibility]: never;
|
|
922
|
+
public queryParameters: UnityEngine.QueryParameters;
|
|
923
|
+
public origin: UnityEngine.Vector3;
|
|
924
|
+
public radius: number;
|
|
925
|
+
public direction: UnityEngine.Vector3;
|
|
926
|
+
public distance: number;
|
|
927
|
+
public physicsScene: UnityEngine.PhysicsScene;
|
|
928
|
+
public layerMask: number;
|
|
929
|
+
constructor($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $queryParameters: UnityEngine.QueryParameters, $distance?: number);
|
|
930
|
+
constructor($physicsScene: UnityEngine.PhysicsScene, $origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $queryParameters: UnityEngine.QueryParameters, $distance?: number);
|
|
931
|
+
constructor($origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $distance?: number, $layerMask?: number);
|
|
932
|
+
constructor($physicsScene: UnityEngine.PhysicsScene, $origin: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $distance?: number, $layerMask?: number);
|
|
933
|
+
public static ScheduleBatch($commands: Unity.Collections.NativeArray$1<UnityEngine.SpherecastCommand>, $results: Unity.Collections.NativeArray$1<UnityEngine.RaycastHit>, $minCommandsPerJob: number, $maxHits: number, $dependsOn?: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle;
|
|
934
|
+
public static ScheduleBatch($commands: Unity.Collections.NativeArray$1<UnityEngine.SpherecastCommand>, $results: Unity.Collections.NativeArray$1<UnityEngine.RaycastHit>, $minCommandsPerJob: number, $dependsOn?: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
class CapsulecastCommand {
|
|
938
|
+
protected [__keep_incompatibility]: never;
|
|
939
|
+
public queryParameters: UnityEngine.QueryParameters;
|
|
940
|
+
public point1: UnityEngine.Vector3;
|
|
941
|
+
public point2: UnityEngine.Vector3;
|
|
942
|
+
public radius: number;
|
|
943
|
+
public direction: UnityEngine.Vector3;
|
|
944
|
+
public distance: number;
|
|
945
|
+
public physicsScene: UnityEngine.PhysicsScene;
|
|
946
|
+
public layerMask: number;
|
|
947
|
+
constructor($p1: UnityEngine.Vector3, $p2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $queryParameters: UnityEngine.QueryParameters, $distance?: number);
|
|
948
|
+
constructor($physicsScene: UnityEngine.PhysicsScene, $p1: UnityEngine.Vector3, $p2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $queryParameters: UnityEngine.QueryParameters, $distance?: number);
|
|
949
|
+
constructor($p1: UnityEngine.Vector3, $p2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $distance?: number, $layerMask?: number);
|
|
950
|
+
constructor($physicsScene: UnityEngine.PhysicsScene, $p1: UnityEngine.Vector3, $p2: UnityEngine.Vector3, $radius: number, $direction: UnityEngine.Vector3, $distance?: number, $layerMask?: number);
|
|
951
|
+
public static ScheduleBatch($commands: Unity.Collections.NativeArray$1<UnityEngine.CapsulecastCommand>, $results: Unity.Collections.NativeArray$1<UnityEngine.RaycastHit>, $minCommandsPerJob: number, $maxHits: number, $dependsOn?: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle;
|
|
952
|
+
public static ScheduleBatch($commands: Unity.Collections.NativeArray$1<UnityEngine.CapsulecastCommand>, $results: Unity.Collections.NativeArray$1<UnityEngine.RaycastHit>, $minCommandsPerJob: number, $dependsOn?: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
class BoxcastCommand {
|
|
956
|
+
protected [__keep_incompatibility]: never;
|
|
957
|
+
public queryParameters: UnityEngine.QueryParameters;
|
|
958
|
+
public center: UnityEngine.Vector3;
|
|
959
|
+
public halfExtents: UnityEngine.Vector3;
|
|
960
|
+
public orientation: UnityEngine.Quaternion;
|
|
961
|
+
public direction: UnityEngine.Vector3;
|
|
962
|
+
public distance: number;
|
|
963
|
+
public physicsScene: UnityEngine.PhysicsScene;
|
|
964
|
+
public layerMask: number;
|
|
965
|
+
constructor($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $direction: UnityEngine.Vector3, $queryParameters: UnityEngine.QueryParameters, $distance?: number);
|
|
966
|
+
constructor($physicsScene: UnityEngine.PhysicsScene, $center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $direction: UnityEngine.Vector3, $queryParameters: UnityEngine.QueryParameters, $distance?: number);
|
|
967
|
+
constructor($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $direction: UnityEngine.Vector3, $distance?: number, $layerMask?: number);
|
|
968
|
+
constructor($physicsScene: UnityEngine.PhysicsScene, $center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $direction: UnityEngine.Vector3, $distance?: number, $layerMask?: number);
|
|
969
|
+
public static ScheduleBatch($commands: Unity.Collections.NativeArray$1<UnityEngine.BoxcastCommand>, $results: Unity.Collections.NativeArray$1<UnityEngine.RaycastHit>, $minCommandsPerJob: number, $maxHits: number, $dependsOn?: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle;
|
|
970
|
+
public static ScheduleBatch($commands: Unity.Collections.NativeArray$1<UnityEngine.BoxcastCommand>, $results: Unity.Collections.NativeArray$1<UnityEngine.RaycastHit>, $minCommandsPerJob: number, $dependsOn?: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
class ClosestPointCommand {
|
|
974
|
+
protected [__keep_incompatibility]: never;
|
|
975
|
+
public point: UnityEngine.Vector3;
|
|
976
|
+
public colliderInstanceID: number;
|
|
977
|
+
public position: UnityEngine.Vector3;
|
|
978
|
+
public rotation: UnityEngine.Quaternion;
|
|
979
|
+
public scale: UnityEngine.Vector3;
|
|
980
|
+
constructor($point: UnityEngine.Vector3, $colliderInstanceID: number, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $scale: UnityEngine.Vector3);
|
|
981
|
+
constructor($point: UnityEngine.Vector3, $collider: UnityEngine.Collider, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $scale: UnityEngine.Vector3);
|
|
982
|
+
public static ScheduleBatch($commands: Unity.Collections.NativeArray$1<UnityEngine.ClosestPointCommand>, $results: Unity.Collections.NativeArray$1<UnityEngine.Vector3>, $minCommandsPerJob: number, $dependsOn?: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
class OverlapSphereCommand {
|
|
986
|
+
protected [__keep_incompatibility]: never;
|
|
987
|
+
public queryParameters: UnityEngine.QueryParameters;
|
|
988
|
+
public point: UnityEngine.Vector3;
|
|
989
|
+
public radius: number;
|
|
990
|
+
public physicsScene: UnityEngine.PhysicsScene;
|
|
991
|
+
constructor($point: UnityEngine.Vector3, $radius: number, $queryParameters: UnityEngine.QueryParameters);
|
|
992
|
+
constructor($physicsScene: UnityEngine.PhysicsScene, $point: UnityEngine.Vector3, $radius: number, $queryParameters: UnityEngine.QueryParameters);
|
|
993
|
+
public static ScheduleBatch($commands: Unity.Collections.NativeArray$1<UnityEngine.OverlapSphereCommand>, $results: Unity.Collections.NativeArray$1<UnityEngine.ColliderHit>, $minCommandsPerJob: number, $maxHits: number, $dependsOn?: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
class OverlapBoxCommand {
|
|
997
|
+
protected [__keep_incompatibility]: never;
|
|
998
|
+
public queryParameters: UnityEngine.QueryParameters;
|
|
999
|
+
public center: UnityEngine.Vector3;
|
|
1000
|
+
public halfExtents: UnityEngine.Vector3;
|
|
1001
|
+
public orientation: UnityEngine.Quaternion;
|
|
1002
|
+
public physicsScene: UnityEngine.PhysicsScene;
|
|
1003
|
+
constructor($center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $queryParameters: UnityEngine.QueryParameters);
|
|
1004
|
+
constructor($physicsScene: UnityEngine.PhysicsScene, $center: UnityEngine.Vector3, $halfExtents: UnityEngine.Vector3, $orientation: UnityEngine.Quaternion, $queryParameters: UnityEngine.QueryParameters);
|
|
1005
|
+
public static ScheduleBatch($commands: Unity.Collections.NativeArray$1<UnityEngine.OverlapBoxCommand>, $results: Unity.Collections.NativeArray$1<UnityEngine.ColliderHit>, $minCommandsPerJob: number, $maxHits: number, $dependsOn?: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
class OverlapCapsuleCommand {
|
|
1009
|
+
protected [__keep_incompatibility]: never;
|
|
1010
|
+
public queryParameters: UnityEngine.QueryParameters;
|
|
1011
|
+
public point0: UnityEngine.Vector3;
|
|
1012
|
+
public point1: UnityEngine.Vector3;
|
|
1013
|
+
public radius: number;
|
|
1014
|
+
public physicsScene: UnityEngine.PhysicsScene;
|
|
1015
|
+
constructor($point0: UnityEngine.Vector3, $point1: UnityEngine.Vector3, $radius: number, $queryParameters: UnityEngine.QueryParameters);
|
|
1016
|
+
constructor($physicsScene: UnityEngine.PhysicsScene, $point0: UnityEngine.Vector3, $point1: UnityEngine.Vector3, $radius: number, $queryParameters: UnityEngine.QueryParameters);
|
|
1017
|
+
public static ScheduleBatch($commands: Unity.Collections.NativeArray$1<UnityEngine.OverlapCapsuleCommand>, $results: Unity.Collections.NativeArray$1<UnityEngine.ColliderHit>, $minCommandsPerJob: number, $maxHits: number, $dependsOn?: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
class RaycastHit {
|
|
1021
|
+
protected [__keep_incompatibility]: never;
|
|
1022
|
+
public get collider(): UnityEngine.Collider;
|
|
1023
|
+
public get colliderInstanceID(): number;
|
|
1024
|
+
public get colliderEntityId(): UnityEngine.EntityId;
|
|
1025
|
+
public point: UnityEngine.Vector3;
|
|
1026
|
+
public normal: UnityEngine.Vector3;
|
|
1027
|
+
public barycentricCoordinate: UnityEngine.Vector3;
|
|
1028
|
+
public distance: number;
|
|
1029
|
+
public get triangleIndex(): number;
|
|
1030
|
+
public get textureCoord(): UnityEngine.Vector2;
|
|
1031
|
+
public get textureCoord2(): UnityEngine.Vector2;
|
|
1032
|
+
public get transform(): UnityEngine.Transform;
|
|
1033
|
+
public get rigidbody(): UnityEngine.Rigidbody;
|
|
1034
|
+
public get articulationBody(): UnityEngine.ArticulationBody;
|
|
1035
|
+
public get lightmapCoord(): UnityEngine.Vector2;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
enum RigidbodyConstraints {
|
|
1039
|
+
None = 0,
|
|
1040
|
+
FreezePositionX = 2,
|
|
1041
|
+
FreezePositionY = 4,
|
|
1042
|
+
FreezePositionZ = 8,
|
|
1043
|
+
FreezePosition = 14,
|
|
1044
|
+
FreezeRotationX = 16,
|
|
1045
|
+
FreezeRotationY = 32,
|
|
1046
|
+
FreezeRotationZ = 64,
|
|
1047
|
+
FreezeRotation = 112,
|
|
1048
|
+
FreezeAll = 126
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
enum RigidbodyInterpolation {
|
|
1052
|
+
None = 0,
|
|
1053
|
+
Interpolate = 1,
|
|
1054
|
+
Extrapolate = 2
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
class Rigidbody extends UnityEngine.Component {
|
|
1058
|
+
protected [__keep_incompatibility]: never;
|
|
1059
|
+
public linearVelocity: UnityEngine.Vector3;
|
|
1060
|
+
public angularVelocity: UnityEngine.Vector3;
|
|
1061
|
+
public linearDamping: number;
|
|
1062
|
+
public angularDamping: number;
|
|
1063
|
+
public mass: number;
|
|
1064
|
+
public useGravity: boolean;
|
|
1065
|
+
public maxDepenetrationVelocity: number;
|
|
1066
|
+
public isKinematic: boolean;
|
|
1067
|
+
public freezeRotation: boolean;
|
|
1068
|
+
public constraints: UnityEngine.RigidbodyConstraints;
|
|
1069
|
+
public collisionDetectionMode: UnityEngine.CollisionDetectionMode;
|
|
1070
|
+
public automaticCenterOfMass: boolean;
|
|
1071
|
+
public centerOfMass: UnityEngine.Vector3;
|
|
1072
|
+
public get worldCenterOfMass(): UnityEngine.Vector3;
|
|
1073
|
+
public automaticInertiaTensor: boolean;
|
|
1074
|
+
public inertiaTensorRotation: UnityEngine.Quaternion;
|
|
1075
|
+
public inertiaTensor: UnityEngine.Vector3;
|
|
1076
|
+
public detectCollisions: boolean;
|
|
1077
|
+
public position: UnityEngine.Vector3;
|
|
1078
|
+
public rotation: UnityEngine.Quaternion;
|
|
1079
|
+
public interpolation: UnityEngine.RigidbodyInterpolation;
|
|
1080
|
+
public solverIterations: number;
|
|
1081
|
+
public sleepThreshold: number;
|
|
1082
|
+
public maxAngularVelocity: number;
|
|
1083
|
+
public maxLinearVelocity: number;
|
|
1084
|
+
public solverVelocityIterations: number;
|
|
1085
|
+
public excludeLayers: UnityEngine.LayerMask;
|
|
1086
|
+
public includeLayers: UnityEngine.LayerMask;
|
|
1087
|
+
public drag: number;
|
|
1088
|
+
public angularDrag: number;
|
|
1089
|
+
public velocity: UnityEngine.Vector3;
|
|
1090
|
+
constructor();
|
|
1091
|
+
public MovePosition($position: UnityEngine.Vector3): void;
|
|
1092
|
+
public MoveRotation($rotation: UnityEngine.Quaternion): void;
|
|
1093
|
+
public Move($position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion): void;
|
|
1094
|
+
public Sleep(): void;
|
|
1095
|
+
public IsSleeping(): boolean;
|
|
1096
|
+
public WakeUp(): void;
|
|
1097
|
+
public ResetCenterOfMass(): void;
|
|
1098
|
+
public ResetInertiaTensor(): void;
|
|
1099
|
+
public GetRelativePointVelocity($relativePoint: UnityEngine.Vector3): UnityEngine.Vector3;
|
|
1100
|
+
public GetPointVelocity($worldPoint: UnityEngine.Vector3): UnityEngine.Vector3;
|
|
1101
|
+
public PublishTransform(): void;
|
|
1102
|
+
public GetAccumulatedForce($step: number): UnityEngine.Vector3;
|
|
1103
|
+
public GetAccumulatedForce(): UnityEngine.Vector3;
|
|
1104
|
+
public GetAccumulatedTorque($step: number): UnityEngine.Vector3;
|
|
1105
|
+
public GetAccumulatedTorque(): UnityEngine.Vector3;
|
|
1106
|
+
public AddForce($force: UnityEngine.Vector3, $mode: UnityEngine.ForceMode): void;
|
|
1107
|
+
public AddForce($force: UnityEngine.Vector3): void;
|
|
1108
|
+
public AddForce($x: number, $y: number, $z: number, $mode: UnityEngine.ForceMode): void;
|
|
1109
|
+
public AddForce($x: number, $y: number, $z: number): void;
|
|
1110
|
+
public AddRelativeForce($force: UnityEngine.Vector3, $mode: UnityEngine.ForceMode): void;
|
|
1111
|
+
public AddRelativeForce($force: UnityEngine.Vector3): void;
|
|
1112
|
+
public AddRelativeForce($x: number, $y: number, $z: number, $mode: UnityEngine.ForceMode): void;
|
|
1113
|
+
public AddRelativeForce($x: number, $y: number, $z: number): void;
|
|
1114
|
+
public AddTorque($torque: UnityEngine.Vector3, $mode: UnityEngine.ForceMode): void;
|
|
1115
|
+
public AddTorque($torque: UnityEngine.Vector3): void;
|
|
1116
|
+
public AddTorque($x: number, $y: number, $z: number, $mode: UnityEngine.ForceMode): void;
|
|
1117
|
+
public AddTorque($x: number, $y: number, $z: number): void;
|
|
1118
|
+
public AddRelativeTorque($torque: UnityEngine.Vector3, $mode: UnityEngine.ForceMode): void;
|
|
1119
|
+
public AddRelativeTorque($torque: UnityEngine.Vector3): void;
|
|
1120
|
+
public AddRelativeTorque($x: number, $y: number, $z: number, $mode: UnityEngine.ForceMode): void;
|
|
1121
|
+
public AddRelativeTorque($x: number, $y: number, $z: number): void;
|
|
1122
|
+
public AddForceAtPosition($force: UnityEngine.Vector3, $position: UnityEngine.Vector3, $mode: UnityEngine.ForceMode): void;
|
|
1123
|
+
public AddForceAtPosition($force: UnityEngine.Vector3, $position: UnityEngine.Vector3): void;
|
|
1124
|
+
public AddExplosionForce($explosionForce: number, $explosionPosition: UnityEngine.Vector3, $explosionRadius: number, $upwardsModifier: number, $mode: UnityEngine.ForceMode): void;
|
|
1125
|
+
public AddExplosionForce($explosionForce: number, $explosionPosition: UnityEngine.Vector3, $explosionRadius: number, $upwardsModifier: number): void;
|
|
1126
|
+
public AddExplosionForce($explosionForce: number, $explosionPosition: UnityEngine.Vector3, $explosionRadius: number): void;
|
|
1127
|
+
public ClosestPointOnBounds($position: UnityEngine.Vector3): UnityEngine.Vector3;
|
|
1128
|
+
public SweepTest($direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): boolean;
|
|
1129
|
+
public SweepTest($direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>, $maxDistance: number): boolean;
|
|
1130
|
+
public SweepTest($direction: UnityEngine.Vector3, $hitInfo: $Out<UnityEngine.RaycastHit>): boolean;
|
|
1131
|
+
public SweepTestAll($direction: UnityEngine.Vector3, $maxDistance: number, $queryTriggerInteraction: UnityEngine.QueryTriggerInteraction): System.Array$1<UnityEngine.RaycastHit>;
|
|
1132
|
+
public SweepTestAll($direction: UnityEngine.Vector3, $maxDistance: number): System.Array$1<UnityEngine.RaycastHit>;
|
|
1133
|
+
public SweepTestAll($direction: UnityEngine.Vector3): System.Array$1<UnityEngine.RaycastHit>;
|
|
1134
|
+
public SetDensity($density: number): void;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
class SphereCollider extends UnityEngine.Collider {
|
|
1138
|
+
protected [__keep_incompatibility]: never;
|
|
1139
|
+
public center: UnityEngine.Vector3;
|
|
1140
|
+
public radius: number;
|
|
1141
|
+
constructor();
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
class SpringJoint extends UnityEngine.Joint {
|
|
1145
|
+
protected [__keep_incompatibility]: never;
|
|
1146
|
+
public spring: number;
|
|
1147
|
+
public damper: number;
|
|
1148
|
+
public minDistance: number;
|
|
1149
|
+
public maxDistance: number;
|
|
1150
|
+
public tolerance: number;
|
|
1151
|
+
constructor();
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
}
|
|
1155
|
+
namespace UnityEngine {
|
|
1156
|
+
namespace LowLevelPhysics {
|
|
1157
|
+
class ImmediateTransform {
|
|
1158
|
+
protected [__keep_incompatibility]: never;
|
|
1159
|
+
public Rotation: UnityEngine.Quaternion;
|
|
1160
|
+
public Position: UnityEngine.Vector3;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
class ImmediateContact {
|
|
1164
|
+
protected [__keep_incompatibility]: never;
|
|
1165
|
+
public Normal: UnityEngine.Vector3;
|
|
1166
|
+
public Separation: number;
|
|
1167
|
+
public Point: UnityEngine.Vector3;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
class ImmediatePhysics {
|
|
1171
|
+
protected [__keep_incompatibility]: never;
|
|
1172
|
+
public static GenerateContacts($geom1: Unity.Collections.NativeArray$1.ReadOnly$1<UnityEngine.LowLevelPhysics.GeometryHolder>, $geom2: Unity.Collections.NativeArray$1.ReadOnly$1<UnityEngine.LowLevelPhysics.GeometryHolder>, $xform1: Unity.Collections.NativeArray$1.ReadOnly$1<UnityEngine.LowLevelPhysics.ImmediateTransform>, $xform2: Unity.Collections.NativeArray$1.ReadOnly$1<UnityEngine.LowLevelPhysics.ImmediateTransform>, $pairCount: number, $outContacts: Unity.Collections.NativeArray$1<UnityEngine.LowLevelPhysics.ImmediateContact>, $outContactCounts: Unity.Collections.NativeArray$1<number>, $contactDistance?: number): number;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
interface IGeometry {
|
|
1176
|
+
get GeometryType(): UnityEngine.LowLevelPhysics.GeometryType;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
class BoxGeometry implements UnityEngine.LowLevelPhysics.IGeometry {
|
|
1180
|
+
protected [__keep_incompatibility]: never;
|
|
1181
|
+
public HalfExtents: UnityEngine.Vector3;
|
|
1182
|
+
public get GeometryType(): UnityEngine.LowLevelPhysics.GeometryType;
|
|
1183
|
+
constructor($halfExtents: UnityEngine.Vector3);
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
class SphereGeometry implements UnityEngine.LowLevelPhysics.IGeometry {
|
|
1187
|
+
protected [__keep_incompatibility]: never;
|
|
1188
|
+
public Radius: number;
|
|
1189
|
+
public get GeometryType(): UnityEngine.LowLevelPhysics.GeometryType;
|
|
1190
|
+
constructor($radius: number);
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
class CapsuleGeometry implements UnityEngine.LowLevelPhysics.IGeometry {
|
|
1194
|
+
protected [__keep_incompatibility]: never;
|
|
1195
|
+
public Radius: number;
|
|
1196
|
+
public HalfLength: number;
|
|
1197
|
+
public get GeometryType(): UnityEngine.LowLevelPhysics.GeometryType;
|
|
1198
|
+
constructor($radius: number, $halfLength: number);
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
class ConvexMeshGeometry implements UnityEngine.LowLevelPhysics.IGeometry {
|
|
1202
|
+
protected [__keep_incompatibility]: never;
|
|
1203
|
+
public Scale: UnityEngine.Vector3;
|
|
1204
|
+
public ScaleAxisRotation: UnityEngine.Quaternion;
|
|
1205
|
+
public get GeometryType(): UnityEngine.LowLevelPhysics.GeometryType;
|
|
1206
|
+
}
|
|
1207
|
+
namespace ConvexMeshGeometry {
|
|
1208
|
+
type _m_MeshFlagsPadding_e__FixedBuffer = any;
|
|
1209
|
+
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
class TriangleMeshGeometry implements UnityEngine.LowLevelPhysics.IGeometry {
|
|
1213
|
+
protected [__keep_incompatibility]: never;
|
|
1214
|
+
public Scale: UnityEngine.Vector3;
|
|
1215
|
+
public ScaleAxisRotation: UnityEngine.Quaternion;
|
|
1216
|
+
public get GeometryType(): UnityEngine.LowLevelPhysics.GeometryType;
|
|
1217
|
+
}
|
|
1218
|
+
namespace TriangleMeshGeometry {
|
|
1219
|
+
type _m_MeshFlagsPadding_e__FixedBuffer = any;
|
|
1220
|
+
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
class TerrainGeometry implements UnityEngine.LowLevelPhysics.IGeometry {
|
|
1224
|
+
protected [__keep_incompatibility]: never;
|
|
1225
|
+
public get GeometryType(): UnityEngine.LowLevelPhysics.GeometryType;
|
|
1226
|
+
}
|
|
1227
|
+
namespace TerrainGeometry {
|
|
1228
|
+
type _m_TerrainFlagsPadding_e__FixedBuffer = any;
|
|
1229
|
+
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
enum GeometryType {
|
|
1233
|
+
Sphere = 0,
|
|
1234
|
+
Capsule = 2,
|
|
1235
|
+
Box = 3,
|
|
1236
|
+
ConvexMesh = 4,
|
|
1237
|
+
TriangleMesh = 5,
|
|
1238
|
+
Terrain = 6,
|
|
1239
|
+
Invalid = -1
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
class GeometryHolder {
|
|
1243
|
+
protected [__keep_incompatibility]: never;
|
|
1244
|
+
public get Type(): UnityEngine.LowLevelPhysics.GeometryType;
|
|
1245
|
+
public As<T extends UnityEngine.LowLevelPhysics.IGeometry>(): T;
|
|
1246
|
+
public static Create<T extends UnityEngine.LowLevelPhysics.IGeometry>($geometry: T): UnityEngine.LowLevelPhysics.GeometryHolder;
|
|
1247
|
+
}
|
|
1248
|
+
namespace GeometryHolder {
|
|
1249
|
+
type _m_Data_e__FixedBuffer = any;
|
|
1250
|
+
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
}
|
|
7
1254
|
}
|
|
8
1255
|
}
|