rotation3DEffect
Rotates a view’s rendered output in three dimensions around a given axis of rotation.
rotation3DEffect?: { degrees, axis, anchor?, anchorZ?, perspective? }
degrees— the rotation angle, in degrees.axis— the axis of rotation as a vector with optionalx,y,zcomponents (each defaults to0). For example{ x: 0, y: 1, z: 0 }rotates around the vertical axis.anchor— the point about which the rotation is anchored. AKeywordPoint(e.g."center","top") or{ x, y }. Defaults tocenter.anchorZ— the z position of the anchor point. Defaults to0.perspective— the relative vanishing point for the rotation. Defaults to1.
A plain number is not accepted, because a 3D rotation is meaningless without an axis.
