1 | <?php |
||
36 | final class ObjModel extends Entity implements ObjModelPrimitiveIF |
||
37 | { |
||
38 | |||
39 | use MeshAttributes; |
||
40 | |||
41 | /** |
||
42 | * Selector to obj |
||
43 | * |
||
44 | * Selector to an <a-asset-item> pointing to a .OBJ file or an inline path to a .OBJ file. |
||
45 | * |
||
46 | * @param null|string $selector |
||
47 | * @return ObjModelPrimitiveIF |
||
48 | */ |
||
49 | 4 | public function obj(string $selector = null): ObjModelPrimitiveIF |
|
54 | |||
55 | /** |
||
56 | * Selector to mtl |
||
57 | * |
||
58 | * Selector to an <a-asset-item> pointing to a .MTL file or an inline path to a .MTL file. Optional if you wish to |
||
59 | * use the material component instead. |
||
60 | * |
||
61 | * @param null|string $selector |
||
62 | * @return ObjModelPrimitiveIF |
||
63 | */ |
||
64 | 4 | public function mtl(string $selector = null): ObjModelPrimitiveIF |
|
69 | } |