1 | <?php |
||
29 | class ObjModelComponent extends ComponentAbstract implements ObjModelCMPTIF |
||
30 | { |
||
31 | |||
32 | /** |
||
33 | * Initialize Component |
||
34 | * |
||
35 | * {@inheritdoc} |
||
36 | * |
||
37 | * @return bool |
||
38 | */ |
||
39 | 3 | public function initializeComponent(): bool |
|
44 | |||
45 | /** |
||
46 | * Selector to obj |
||
47 | * |
||
48 | * Selector to an <a-asset-item> pointing to a .OBJ file or an inline path to a .OBJ file. |
||
49 | * |
||
50 | * @param string $selector |
||
51 | * @return ObjModelCMPTIF |
||
52 | */ |
||
53 | 2 | public function obj(string $selector): ObjModelCMPTIF |
|
58 | |||
59 | /** |
||
60 | * Selector to mtl |
||
61 | * |
||
62 | * Selector to an <a-asset-item> pointing to a .MTL file or an inline path to a .MTL file. Optional if you wish to |
||
63 | * use the material component instead. |
||
64 | * |
||
65 | * @param string $selector |
||
66 | * @return ObjModelCMPTIF |
||
67 | */ |
||
68 | 2 | public function mtl(string $selector): ObjModelCMPTIF |
|
73 | } |
||
74 |