1 | <?php |
||
29 | final class Curvedimage extends Entity implements EntityInterface |
||
30 | { |
||
31 | |||
32 | /** |
||
33 | * <a-curvedimage> |
||
34 | * |
||
35 | * he curved image primitive creates images that bend around the user. Curved images arranged around the camera can |
||
36 | * be pleasing for legibility since each pixel sits at the same distance from the user. They can be a better choice |
||
37 | * than angled flat planes for complex layouts because they ensure a smooth surface rather than a series of awkward |
||
38 | * seams between planes. It is an entity that prescribes a double-sided open-ended cylinder with the geometry |
||
39 | * component and rendering textures on the inside of the cylinder with the material component. |
||
40 | * |
||
41 | * @return void |
||
42 | */ |
||
43 | 3 | public function reset() |
|
60 | |||
61 | /** |
||
62 | * geometry.height |
||
63 | * |
||
64 | * @param float $height |
||
65 | * @return self |
||
66 | */ |
||
67 | 3 | public function height(float $height) |
|
72 | |||
73 | /** |
||
74 | * geometry.radius |
||
75 | * |
||
76 | * @param float $radius |
||
77 | * @return self |
||
78 | */ |
||
79 | 3 | public function radius(float $radius) |
|
84 | |||
85 | /** |
||
86 | * geometry.segmentsRadial |
||
87 | * |
||
88 | * @param int $segmentsRadial |
||
89 | * @return self |
||
90 | */ |
||
91 | 3 | public function segmentsRadial(int $segmentsRadial) |
|
96 | |||
97 | /** |
||
98 | * geometry.thetaLength |
||
99 | * |
||
100 | * @param int $thetaLength |
||
101 | * @return self |
||
102 | */ |
||
103 | 3 | public function thetaLength(int $thetaLength) |
|
108 | |||
109 | /** |
||
110 | * geometry.thetaStart |
||
111 | * |
||
112 | * @param int $thetaStart |
||
113 | * @return self |
||
114 | */ |
||
115 | 3 | public function thetaStart(int $thetaStart) |
|
120 | |||
121 | /** |
||
122 | * geometry.openEnded |
||
123 | * |
||
124 | * @param bool $openEnded |
||
125 | * @return self |
||
126 | */ |
||
127 | 3 | public function openEnded(bool $openEnded = false) |
|
132 | } |