format
typescript
Bounds.Clone(val)class: Bounds
description
Returns a copy of the given object.
parameter
| param_name | type | description |
|---|---|---|
| val | Bounds | The object to be copied. |
return
| type | description |
|---|---|
Bounds | A copy of the given object. |
code example
typescript
let bounds = new Bounds(new Vector3(1, 1, 1), new Vector3(1, 1, 1));
let clone = Bounds.Clone(bounds);