---
name: "s3d_clone"
section: "3"
platform: "linux"
package: "s3d-doc"
version: "0.2.2.1-7"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/s3d_clone"
---

# s3d\_clone(3)

clone object

## NAME

s3d\_clone - clone object

## SYNOPSIS

```
#include <s3d.h>
```

**int s3d\_clone(int** *oid***);**

## DESCRIPTION

Clones an already existing object. They get just look the same as the parent-object and will change when the parent-object changes. Cloning especially makes sense if you want to use the same object a lot of times. Move and transform is independent from the parent. The function returns the children object id.

## AUTHOR

**Simon Wunderlich**

Author of s3d
