OCLOperators deepclone
No edit summary
(Automatically adding template at the end of the page.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  object.deepclone(viewmodelname) returns a deepclone copy of the object - viewmodel decide copy depth
  object.deepclone(viewmodelname) returns a deepclone copy of the object - viewmodel decide copy depth
Deep clone is a special case of [[OCLOperators transform|Transform]] using the same class as both the source and the target.
Deepclone is a special case of [[OCLOperators transform|Transform]] using the same class as both the source and the target.


For deepclone you don't need to provide a destination object. It always creates a new object of the same class as the source.
For Deepclone, you don't need a destination object. It always creates a new object of the same class as the source.


See [[OCLOperators transform|Transform]] for more information and use cases.
See [[OCLOperators transform|Transform]] for more information and use cases.
[[Category:OCLOperators]]
[[Category:OCLOperators]]
{{Edited|July|12|2024}}

Latest revision as of 15:41, 10 February 2024

object.deepclone(viewmodelname) returns a deepclone copy of the object - viewmodel decide copy depth

Deepclone is a special case of Transform using the same class as both the source and the target.

For Deepclone, you don't need a destination object. It always creates a new object of the same class as the source.

See Transform for more information and use cases.

This page was edited 101 days ago on 02/10/2024. What links here