Skip to content

format

typescript
Bounds.Clone(val)

class: Bounds

description

Returns a copy of the given object.

parameter

param_nametypedescription
valBoundsThe object to be copied.

return

typedescription
BoundsA 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);