From ce6a22a3cd972af4ffe7b3b36f1ca8c8e0d872eb Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Sun, 21 Apr 2024 16:34:50 -0400 Subject: [PATCH] Docs: Improve Object3D page. --- types/three/src/core/Object3D.d.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/types/three/src/core/Object3D.d.ts b/types/three/src/core/Object3D.d.ts index 8b06be903..62a03bcbc 100644 --- a/types/three/src/core/Object3D.d.ts +++ b/types/three/src/core/Object3D.d.ts @@ -617,10 +617,11 @@ export class Object3D ext clone(recursive?: boolean): this; /** - * Copy the given object into this object - * @remarks Note: event listeners and user-defined callbacks ({@link onAfterRender | .onAfterRender} and {@link onBeforeRender | .onBeforeRender}) are not copied. - * @param source - * @param recursive If true, descendants of the object are also copied. Default `true` + * Copies the given object into this object. + * @remarks Event listeners and user-defined callbacks ({@link .onAfterRender} and {@link .onBeforeRender}) are not copied. + * @param object + * @param recursive If set to `true`, descendants of the object are copied next to the existing ones. If set to + * `false`, descendants are left unchanged. Default is `true`. */ - copy(source: this, recursive?: boolean): this; + copy(object: Object3D, recursive?: boolean): this; }