1 | <?php |
||
29 | class VisibleComponent extends ComponentAbstract implements VisibleCMPTIF |
||
30 | { |
||
31 | protected $dom_attribute; |
||
32 | |||
33 | /** |
||
34 | * Initialize Component |
||
35 | * |
||
36 | * {@inheritdoc} |
||
37 | * |
||
38 | * @return bool |
||
39 | */ |
||
40 | 2 | public function initializeComponent(): bool |
|
46 | |||
47 | /** |
||
48 | * Entity visible |
||
49 | * |
||
50 | * {@inheritdoc} |
||
51 | * |
||
52 | * @param bool $visible |
||
53 | * @return VisibleCMPTIF |
||
54 | */ |
||
55 | 2 | public function set(bool $visible = true): VisibleCMPTIF |
|
60 | |||
61 | /** |
||
62 | * Does component have DOM Atributes |
||
63 | * |
||
64 | * If compnent is called then we return true |
||
65 | * |
||
66 | * {@inheritdoc} |
||
67 | * |
||
68 | * @return bool |
||
69 | */ |
||
70 | 1 | public function hasDOMAttributes(): bool |
|
74 | |||
75 | /** |
||
76 | * Return DOM attribute contents |
||
77 | * |
||
78 | * Scale Components dom atribute contains roll, pitch, yaw |
||
79 | * Ex: rotation="1 1 1" |
||
80 | * |
||
81 | * @return string |
||
82 | */ |
||
83 | 1 | public function getDomAttributeString(): string |
|
87 | } |