Format3D

Format3D class

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

class Format3D;

Methods

MethodDescription
getTopBevel()Gets the Bevel object that holds the properties associated with defining a bevel on the top or front face of a shape.
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.
setSurfaceMaterialType(PresetMaterialType)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.
getSurfaceLightingType()Gets and sets the lighting type which is to be applied to the scene of the shape. Default value is LightRigType.ThreePoint.
setSurfaceLightingType(LightRigType)Gets and sets the lighting type which is to be applied to the scene of the shape. Default value is LightRigType.ThreePoint.
getLightingAngle()Gets and sets the lighting angle. Range from 0 to 359.9 degrees.
setLightingAngle(number)Gets and sets the lighting angle. Range from 0 to 359.9 degrees.
hasTopBevelData()Indicates if the shape has top bevel data.

getTopBevel()

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

getTopBevel() : Bevel;

Returns

Bevel

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.

getSurfaceMaterialType() : PresetMaterialType;

Returns

PresetMaterialType

setSurfaceMaterialType(PresetMaterialType)

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.

setSurfaceMaterialType(value: PresetMaterialType) : void;

Parameters:

ParameterTypeDescription
valuePresetMaterialTypeThe value to set.

getSurfaceLightingType()

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

getSurfaceLightingType() : LightRigType;

Returns

LightRigType

setSurfaceLightingType(LightRigType)

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

setSurfaceLightingType(value: LightRigType) : void;

Parameters:

ParameterTypeDescription
valueLightRigTypeThe value to set.

getLightingAngle()

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

getLightingAngle() : number;

setLightingAngle(number)

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

setLightingAngle(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

hasTopBevelData()

Indicates if the shape has top bevel data.

hasTopBevelData() : boolean;