| 1 | <?php |
||
| 29 | class Video extends Entity implements EntityInterface |
||
| 30 | { |
||
| 31 | /** |
||
| 32 | * Init <a-video> |
||
| 33 | * |
||
| 34 | * The video primitive displays a video on a flat plane as a texture. It is an entity that prescribes the geometry with its geometric primitive set to plane. |
||
|
|
|||
| 35 | * |
||
| 36 | * @return void |
||
| 37 | */ |
||
| 38 | 1 | public function reset() |
|
| 50 | |||
| 51 | /** |
||
| 52 | * geometry.height |
||
| 53 | * |
||
| 54 | * @param float $height |
||
| 55 | * @return self |
||
| 56 | */ |
||
| 57 | 1 | public function height(float $height = 1.75): self |
|
| 62 | |||
| 63 | /** |
||
| 64 | * geometry.width |
||
| 65 | * |
||
| 66 | * @param float $width |
||
| 67 | * @return self |
||
| 68 | */ |
||
| 69 | 1 | public function width(float $width = 3): self |
|
| 74 | } |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.