Snapshot.rotate3d

void rotate3d(float angle, graphene.vec3.Vec3 axis)

Rotates snapshot's coordinate system by angle degrees around axis.

For a rotation in 2D space, use [gsk.transform.Transform.rotate].

Parameters

anglethe rotation angle, in degrees (clockwise)
axisThe rotation axis