@@ -272,6 +272,46 @@ <h3>[method:Object3D getObjectById]([page:Integer id])</h3>
272
272
Searches through the object's children and returns the first with a matching id.
273
273
</ div >
274
274
275
+ < h3 > [method:Vector3 getWorldPosition]([page:Vector3 optionalTarget])</ h3 >
276
+ < div >
277
+ optionalTarget — Optional target to set the result. Otherwise, a new `Vector3` is instantiated. (optional)< br />
278
+ </ div >
279
+ < div >
280
+ Returns a vector representing the position of the object in world space.
281
+ </ div >
282
+
283
+ < h3 > [method:Quaternion getWorldQuaternion]([page:Quaternion optionalTarget])</ h3 >
284
+ < div >
285
+ optionalTarget — Optional target to set the result. Otherwise, a new `Quaternion` is instantiated. (optional)< br />
286
+ </ div >
287
+ < div >
288
+ Returns a quaternion representing the rotation of the object in world space.
289
+ </ div >
290
+
291
+ < h3 > [method:Euler getWorldRotation]([page:Euler optionalTarget])</ h3 >
292
+ < div >
293
+ optionalTarget — Optional target to set the result. Otherwise, a new `Euler` is instantiated. (optional)< br />
294
+ </ div >
295
+ < div >
296
+ Returns the euler angles representing the rotation of the object in world space.
297
+ </ div >
298
+
299
+ < h3 > [method:Vector3 getWorldScale]([page:Vector3 optionalTarget])</ h3 >
300
+ < div >
301
+ optionalTarget — Optional target to set the result. Otherwise, a new `Vector3` is instantiated. (optional)< br />
302
+ </ div >
303
+ < div >
304
+ Returns a vector of the scaling factors applied to the object for each axis in world space.
305
+ </ div >
306
+
307
+ < h3 > [method:Vector3 getWorldDirection]([page:Vector3 optionalTarget])</ h3 >
308
+ < div >
309
+ optionalTarget — Optional target to set the result. Otherwise, a new `Vector3` is instantiated. (optional)< br />
310
+ </ div >
311
+ < div >
312
+ Returns a vector representing the direction of object's positive z-axis in world space.
313
+ </ div >
314
+
275
315
< h3 > [method:Object3D translateOnAxis]([page:Vector3 axis], [page:Float distance])</ h3 >
276
316
< div >
277
317
axis -- A normalized vector in object space.< br />
0 commit comments