1 | <?php |
||
29 | class Cylinder extends Entity implements EntityInterface |
||
30 | { |
||
31 | |||
32 | /** |
||
33 | * <a-cylinder> |
||
34 | * |
||
35 | * The cylinder primitive is an entity that prescribes the geometry with its geometric primitive set to cylinder. |
||
36 | * It can be used to create tubes and curved surfaces. |
||
37 | * |
||
38 | * @return void |
||
39 | */ |
||
40 | 3 | public function reset() |
|
46 | |||
47 | /** |
||
48 | * geometry.height |
||
49 | * |
||
50 | * @param int|float $height |
||
|
|||
51 | * @return self |
||
52 | */ |
||
53 | 2 | public function height(float $height) |
|
58 | |||
59 | /** |
||
60 | * geometry.openEnded |
||
61 | * |
||
62 | * @param bool $openEnded |
||
63 | * @return self |
||
64 | */ |
||
65 | 2 | public function openEnded(bool $openEnded = false) |
|
70 | |||
71 | /** |
||
72 | * geometry.radius |
||
73 | * |
||
74 | * @param float $radius |
||
75 | * @return self |
||
76 | */ |
||
77 | 2 | public function radius(float $radius) |
|
82 | |||
83 | /** |
||
84 | * geometry.segmentsHeight |
||
85 | * |
||
86 | * @param int $segmentsHeight |
||
87 | * @return self |
||
88 | */ |
||
89 | 2 | public function segmentsHeight(int $segmentsHeight) |
|
94 | |||
95 | /** |
||
96 | * geometry.segmentsRadial |
||
97 | * |
||
98 | * @param int $segmentsRadial |
||
99 | * @return self |
||
100 | */ |
||
101 | 2 | public function segmentsRadial(int $segmentsRadial) |
|
106 | |||
107 | /** |
||
108 | * geometry.thetaLength |
||
109 | * |
||
110 | * @param int $thetaLength |
||
111 | * @return self |
||
112 | */ |
||
113 | 2 | public function thetaLength(int $thetaLength) |
|
118 | |||
119 | /** |
||
120 | * geometry.thetaStart |
||
121 | * |
||
122 | * @param int $thetaStart |
||
123 | * @return self |
||
124 | */ |
||
125 | 2 | public function thetaStart(int $thetaStart) |
|
130 | } |
||
131 |