matrix3d()
matrix3d()
该matrix3d()
CSS函数定义一个用于3D变换的4×4齐次矩阵.
语法
该matrix3d()
函数接受16个值。他们按照列优先的顺序被描述。
注:直到Firefox 16,Gecko 接受了对a4,b4和c4的<length>值.
matrix3d(a1, b1, c1, d1, a2, b2, c2, d2, a3, b3, c3, d3, a4, b4, c4, d4)
可能值
a1b1c1d1a2b2c2d2a3b3c3d3d4是描述线性变换的<number>
Cartesian coordinates on ℝ2 | Homogeneous coordinates on ℝℙ2 | Cartesian coordinates on ℝ3 | Homogeneous coordinates on ℝℙ3 |
---|---|---|---|
This transform applies to the 3D space and cannot be represented on the plan. | Cartesian-coordinate matrix doesn't allow to represent a generic 3d affine transforms as translations are not linear transforms. | a1a2a3a4b1b2b3b4c1c2c3c4d1d2d3d4 |
实例
TBD