首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

matrix3d()

该matrix3d() CSS函数定义一个用于3D变换的4×4齐次矩阵.

语法

matrix3d()函数接受16个值。他们按照列优先的顺序被描述。

注:直到Firefox 16,Gecko 接受了对a4b4c4<length>值.

代码语言:javascript
复制
matrix3d(a1, b1, c1, d1, a2, b2, c2, d2, a3, b3, c3, d3, a4, b4, c4, d4)

可能值

a1b1c1d1a2b2c2d2a3b3c3d3d4是描述线性变换的<number>

a4b4c4是描述平移变换的<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

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com