@rbxts/types 1.0.743 → 1.0.745
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.
|
@@ -887,7 +887,7 @@ interface Instance {
|
|
|
887
887
|
/**
|
|
888
888
|
* Returns the Actor associated with the Instance, usually the first Actor ancestor
|
|
889
889
|
*/
|
|
890
|
-
GetActor(this: Instance): Actor;
|
|
890
|
+
GetActor(this: Instance): Actor | undefined;
|
|
891
891
|
/**
|
|
892
892
|
* This function returns the attribute which has been assigned to the given name. If no attribute has been assigned then nil is returned.
|
|
893
893
|
*
|
package/include/roblox.d.ts
CHANGED
|
@@ -1393,6 +1393,12 @@ interface CFrameConstructor {
|
|
|
1393
1393
|
* This function replaces the `CFrame.new(Vector3, Vector3)` constructor which accomplished a similar task. This function allows you to specify the `up` Vector, using the same default as the old constructor.
|
|
1394
1394
|
*/
|
|
1395
1395
|
lookAt: (at: Vector3, lookAt: Vector3, up?: Vector3) => CFrame;
|
|
1396
|
+
/**
|
|
1397
|
+
* Returns a new CFrame with the position of `at` and facing along `direction`, optionally specifying the upward direction (`up`) with a default of `(0, 1, 0)`.
|
|
1398
|
+
*
|
|
1399
|
+
* This constructor is equivalent to `CFrame.lookAt(at, at + direction)`.
|
|
1400
|
+
*/
|
|
1401
|
+
lookAlong: (at: Vector3, direction: Vector3, up?: Vector3) => CFrame;
|
|
1396
1402
|
/** Creates a CFrame from a Vector3 */
|
|
1397
1403
|
new (pos: Vector3): CFrame;
|
|
1398
1404
|
/** Creates a CFrame from position (x, y, z). */
|