
## Format3D class

This class specifies the 3D shape properties for a chart element or shape.

## Methods

| Name | Description |
| --- | --- |
| [getLightingAngle()](#getlightingangle) | Gets and sets the lighting angle. Range from 0 to 359.9 degrees. |
| [getSurfaceLightingType()](#getsurfacelightingtype) | Gets and sets the lighting type which is to be applied to the scene of the shape. Default value is LightRigType.ThreePoi |
| [getSurfaceMaterialType()](#getsurfacematerialtype) | Gets and sets the material type which is combined with the lighting properties to give the final look and feel of a shap |
| [getTopBevel()](#gettopbevel) | Gets the Bevel object that holds the properties associated with defining a bevel on the top or front face of a shape. |
| [hasTopBevelData()](#hastopbeveldata) | Indicates if the shape has top bevel data. |
| [setLightingAngle()](#setlightingangle) | Gets and sets the lighting angle. Range from 0 to 359.9 degrees. |
| [setSurfaceLightingType()](#setsurfacelightingtype) | Gets and sets the lighting type which is to be applied to the scene of the shape. Default value is LightRigType.ThreePoi |
| [setSurfaceMaterialType()](#setsurfacematerialtype) | Gets and sets the material type which is combined with the lighting properties to give the final look and feel of a shap |

### getLightingAngle() {#getlightingangle}

Gets and sets the lighting angle. Range from 0 to 359.9 degrees.

### getSurfaceLightingType() {#getsurfacelightingtype}

Gets and sets the lighting type which is to be applied to the scene of the shape. Default value is LightRigType.ThreePoint. The value of the property is LightRigType integer constant.

### getSurfaceMaterialType() {#getsurfacematerialtype}

Gets and sets the material type which is combined with the lighting properties to give the final look and feel of a shape. Default value is PresetMaterialType.WarmMatte. The value of the property is PresetMaterialType integer constant.

### getTopBevel() {#gettopbevel}

Gets the Bevel object that holds the properties associated with defining a bevel on the top or front face of a shape.

### hasTopBevelData() {#hastopbeveldata}

Indicates if the shape has top bevel data.

**Returns:** boolean — `boolean`

### setLightingAngle() {#setlightingangle}

Gets and sets the lighting angle. Range from 0 to 359.9 degrees.

### setSurfaceLightingType() {#setsurfacelightingtype}

Gets and sets the lighting type which is to be applied to the scene of the shape. Default value is LightRigType.ThreePoint. The value of the property is LightRigType integer constant.

### setSurfaceMaterialType() {#setsurfacematerialtype}

Gets and sets the material type which is combined with the lighting properties to give the final look and feel of a shape. Default value is PresetMaterialType.WarmMatte. The value of the property is PresetMaterialType integer constant.
