
The camera. Declares a view of the visual scene hierarchy or scene graph.

## Constructors

| Constructor | Description |
| --- | --- |
| [Camera()](#Camera) |  |

## Methods

| Method | Description |
| --- | --- |
| [getAsset()](#getAsset) | Gets or sets the asset. |
| [setAsset(Asset value)](#setAsset-com.aspose.cad.fileformats.collada.fileparser.elements.Asset) | Gets or sets the asset. |
| [getOptics()](#getOptics) | Gets or sets the optics. Describes the field of view and viewing frustum using canonical parameters. |
| [setOptics(CameraOptics value)](#setOptics-com.aspose.cad.fileformats.collada.fileparser.elements.CameraOptics) | Gets or sets the optics. Describes the field of view and viewing frustum using canonical parameters. |
| [getExtra()](#getExtra) | Gets or sets the extra. |
| [setExtra(Extra[] value)](#setExtra-com.aspose.cad.fileformats.collada.fileparser.elements.Extra:A) | Gets or sets the extra. |
| [getId()](#getId) | Gets or sets the id. A text string containing the unique identifier of the camera element. This value must be unique within the instance document. Optional. |
| [setId(String value)](#setId-java.lang.String) | Gets or sets the id. A text string containing the unique identifier of the camera element. This value must be unique within the instance document. Optional. |
| [getName()](#getName) | Gets or sets the name. Optional. |
| [setName(String value)](#setName-java.lang.String) | Gets or sets the name. Optional. |

### Camera() {#Camera}
```java
public Camera()
```

### getAsset() {#getAsset}
```java
public final Asset getAsset()
```

Gets or sets the asset.

**Returns:** Asset

### setAsset(Asset value) {#setAsset-com.aspose.cad.fileformats.collada.fileparser.elements.Asset}
```java
public final void setAsset(Asset value)
```

Gets or sets the asset.

### getOptics() {#getOptics}
```java
public final CameraOptics getOptics()
```

Gets or sets the optics. Describes the field of view and viewing frustum using canonical parameters.

**Returns:** CameraOptics

### setOptics(CameraOptics value) {#setOptics-com.aspose.cad.fileformats.collada.fileparser.elements.CameraOptics}
```java
public final void setOptics(CameraOptics value)
```

Gets or sets the optics. Describes the field of view and viewing frustum using canonical parameters.

### getExtra() {#getExtra}
```java
public final Extra[] getExtra()
```

Gets or sets the extra.

**Returns:** Extra[]

### setExtra(Extra[] value) {#setExtra-com.aspose.cad.fileformats.collada.fileparser.elements.Extra:A}
```java
public final void setExtra(Extra[] value)
```

Gets or sets the extra.

### getId() {#getId}
```java
public final String getId()
```

Gets or sets the id. A text string containing the unique identifier of the camera element. This value must be unique within the instance document. Optional.

**Returns:** String

### setId(String value) {#setId-java.lang.String}
```java
public final void setId(String value)
```

Gets or sets the id. A text string containing the unique identifier of the camera element. This value must be unique within the instance document. Optional.

### getName() {#getName}
```java
public final String getName()
```

Gets or sets the name. Optional.

**Returns:** String

### setName(String value) {#setName-java.lang.String}
```java
public final void setName(String value)
```

Gets or sets the name. Optional.

