1 | <?php |
||
26 | class DefaultMethods |
||
27 | { |
||
28 | |||
29 | /** |
||
30 | * opacity |
||
31 | * |
||
32 | * Extent of transparency. If the transparent property is not true, |
||
33 | * then the material will remain opaque and opacity will only affect color. |
||
34 | * |
||
35 | * @param &array $dom_attributes |
||
|
|||
36 | * @param float $opacity |
||
37 | * @return void |
||
38 | */ |
||
39 | 8 | public function opacity(array &$dom_attributes, float $opacity = 1.0) |
|
43 | |||
44 | /** |
||
45 | * transparent |
||
46 | * |
||
47 | * Whether material is transparent. Transparent entities are rendered after non-transparent entities. |
||
48 | * |
||
49 | * @param &array $dom_attributes |
||
50 | * @param bool|string $transparent |
||
51 | * @return void |
||
52 | */ |
||
53 | 7 | public function transparent(array &$dom_attributes, bool $transparent = false) |
|
57 | |||
58 | /** |
||
59 | * Which sides of the mesh to render. |
||
60 | * Can be one of front, back, or double |
||
61 | * |
||
62 | * @param &array $dom_attributes |
||
63 | * @param string $side |
||
64 | * @return void |
||
65 | */ |
||
66 | 1 | public function side(array &$dom_attributes, string $side = 'front') |
|
70 | } |
||
71 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.