1 | <?php |
||
47 | class EntityChildrenFactory |
||
48 | { |
||
49 | /** |
||
50 | * Child entities |
||
51 | * |
||
52 | * @var array |
||
53 | */ |
||
54 | protected $childrens = array(); |
||
55 | |||
56 | /** |
||
57 | * Entity |
||
58 | * |
||
59 | * @api |
||
60 | * |
||
61 | * @param string $id |
||
62 | * @return \AframeVR\Core\Entity |
||
63 | */ |
||
64 | 7 | public function entity(string $id = 'untitled'): Entity |
|
68 | |||
69 | /** |
||
70 | * A-Frame Primitive box |
||
71 | * |
||
72 | * @param string $id |
||
73 | * @return Entity |
||
74 | */ |
||
75 | 1 | public function box(string $id = 'untitled'): Entity |
|
79 | |||
80 | /** |
||
81 | * A-Frame Primitive sphere |
||
82 | * |
||
83 | * @param string $id |
||
84 | * @return Entity |
||
85 | */ |
||
86 | 1 | public function sphere(string $id = 'untitled'): Entity |
|
90 | |||
91 | /** |
||
92 | * A-Frame Primitive cylinder |
||
93 | * |
||
94 | * @param string $id |
||
95 | * @return Entity |
||
96 | */ |
||
97 | 1 | public function cylinder(string $id = 'untitled'): Entity |
|
101 | |||
102 | /** |
||
103 | * A-Frame Primitive plane |
||
104 | * |
||
105 | * @param string $id |
||
106 | * @return Entity |
||
107 | */ |
||
108 | 4 | public function plane(string $id = 'untitled'): Entity |
|
112 | |||
113 | /** |
||
114 | * A-Frame Primitive camera |
||
115 | * |
||
116 | * @param string $id |
||
117 | * @return Entity |
||
118 | */ |
||
119 | 1 | public function camera(string $id = 'untitled'): Entity |
|
123 | |||
124 | /** |
||
125 | * A-Frame Primitive collada-model |
||
126 | * |
||
127 | * @param string $id |
||
128 | * @return Entity |
||
129 | */ |
||
130 | 1 | public function colladaModel(string $id = 'untitled'): Entity |
|
134 | |||
135 | /** |
||
136 | * A-Frame Primitive image |
||
137 | * |
||
138 | * @param string $id |
||
139 | * @return Entity |
||
140 | */ |
||
141 | 4 | public function image(string $id = 'untitled'): Entity |
|
145 | |||
146 | /** |
||
147 | * A-Frame Primitive light |
||
148 | * |
||
149 | * @param string $id |
||
150 | * @return Entity |
||
151 | */ |
||
152 | 1 | public function light(string $id = 'untitled'): Entity |
|
156 | |||
157 | /** |
||
158 | * A-Frame Primitive video |
||
159 | * |
||
160 | * @param string $id |
||
161 | * @return Entity |
||
162 | */ |
||
163 | 1 | public function video(string $id = 'untitled'): Entity |
|
167 | |||
168 | /** |
||
169 | * A-Frame Primitive torus |
||
170 | * |
||
171 | * @param string $id |
||
172 | * @return Entity |
||
173 | */ |
||
174 | 1 | public function torus(string $id = 'untitled'): Entity |
|
178 | |||
179 | /** |
||
180 | * A-Frame Primitive ring |
||
181 | * |
||
182 | * @param string $id |
||
183 | * @return Entity |
||
184 | */ |
||
185 | 1 | public function ring(string $id = 'untitled'): Entity |
|
189 | |||
190 | |||
191 | /** |
||
192 | * A-Frame Primitive obj model |
||
193 | * |
||
194 | * @return Entity |
||
195 | */ |
||
196 | 1 | public function objmodel(string $id = 'untitled'): Entity |
|
200 | |||
201 | /** |
||
202 | * A-Frame Primitive curvedimage |
||
203 | * |
||
204 | * @return Entity |
||
205 | */ |
||
206 | 1 | public function curvedimage(string $id = 'untitled'): Entity |
|
210 | |||
211 | /** |
||
212 | * A-Frame Primitive curvedimage |
||
213 | * |
||
214 | * @return Entity |
||
215 | */ |
||
216 | 1 | public function cursor(string $id = 'untitled'): Entity |
|
220 | |||
221 | /** |
||
222 | * A-Frame Primitive cone |
||
223 | * |
||
224 | * @return Entity |
||
225 | */ |
||
226 | 1 | public function cone(string $id = 'untitled'): Entity |
|
230 | |||
231 | 2 | public function getChildern() |
|
235 | } |