rotationX; } /** * Set Rotation X (-90 to 90). * * @param int $pValue * * @return \PhpOffice\PhpPresentation\Shape\Chart\View3D */ public function setRotationX($pValue = 0) { $this->rotationX = $pValue; return $this; } /** * Get Rotation Y. * * @return int */ public function getRotationY() { return $this->rotationY; } /** * Set Rotation Y (-90 to 90). * * @param int $pValue * * @return \PhpOffice\PhpPresentation\Shape\Chart\View3D */ public function setRotationY($pValue = 0) { $this->rotationY = $pValue; return $this; } /** * Get RightAngleAxes. * * @return bool */ public function hasRightAngleAxes() { return $this->rightAngleAxes; } /** * Set RightAngleAxes. * * @param bool $value * * @return \PhpOffice\PhpPresentation\Shape\Chart\View3D */ public function setRightAngleAxes($value = true) { $this->rightAngleAxes = $value; return $this; } /** * Get Perspective. * * @return int */ public function getPerspective() { return $this->perspective; } /** * Set Perspective (0 to 100). * * @param int $value * * @return \PhpOffice\PhpPresentation\Shape\Chart\View3D */ public function setPerspective($value = 30) { $this->perspective = $value; return $this; } /** * Get HeightPercent. * * @return int */ public function getHeightPercent() { return $this->heightPercent; } /** * Set HeightPercent (5 to 500). */ public function setHeightPercent(?int $value = 100): self { $this->heightPercent = $value; return $this; } /** * Get DepthPercent. */ public function getDepthPercent(): ?int { return $this->depthPercent; } /** * Set DepthPercent (20 to 2000). * * @param int $value * * @return $this */ public function setDepthPercent($value = 100) { $this->depthPercent = $value; return $this; } /** * Get hash code. * * @return string Hash code */ public function getHashCode(): string { return \md5($this->rotationX . $this->rotationY . ($this->rightAngleAxes ? 't' : 'f') . $this->perspective . $this->heightPercent . $this->depthPercent . __CLASS__); } /** * Get hash index. * * Note that this index may vary during script execution! Only reliable moment is * while doing a write of a workbook and when changes are not allowed. * * @return int|null Hash index */ public function getHashIndex(): ?int { return $this->hashIndex; } /** * Set hash index. * * Note that this index may vary during script execution! Only reliable moment is * while doing a write of a workbook and when changes are not allowed. * * @param int $value Hash index * * @return View3D */ public function setHashIndex(int $value) { $this->hashIndex = $value; return $this; } }