1 | <?php |
||
29 | class ColladaModel extends Entity implements EntityInterface |
||
30 | { |
||
31 | |||
32 | /** |
||
33 | * Init <a-collada-model> |
||
34 | * |
||
35 | * The COLLADA model primitive displays a 3D COLLADA model created from a 3D modeling program or downloaded from |
||
36 | * the web. It is an entity that maps the src attribute to the collada-model component. |
||
37 | * |
||
38 | * @return void |
||
39 | */ |
||
40 | 3 | public function reset() |
|
45 | |||
46 | /** |
||
47 | * Rotation component |
||
48 | * |
||
49 | * Apply rotation on child instead |
||
50 | * |
||
51 | * @param int|float $roll |
||
52 | * @param int|float $pitch |
||
53 | * @param int|float $yaw |
||
54 | * @return EntityInterface |
||
55 | */ |
||
56 | 2 | public function rotation(float $roll = 0, float $pitch = 0, float $yaw = 0): EntityInterface |
|
61 | |||
62 | /** |
||
63 | * Scale component |
||
64 | * |
||
65 | * Apply scale on child intead |
||
66 | * |
||
67 | * @param int|float $scale_x |
||
68 | * @param int|float $scale_y |
||
69 | * @param int|float $scale_z |
||
70 | * @return EntityInterface |
||
71 | */ |
||
72 | 2 | public function scale(float $scale_x = 1, float $scale_y = 1, float $scale_z = 1): EntityInterface |
|
77 | |||
78 | /** |
||
79 | * ColladaModel.src |
||
80 | * |
||
81 | * @param null|string $src |
||
82 | * @return EntityInterface |
||
83 | */ |
||
84 | 2 | public function src(string $src = null): EntityInterface |
|
92 | } |
||
93 |