I want to listen for a change of perspective in the 3d area, maybe can use msgbus api.The code I try as followed.But it does't work.How can I choose the correct properties.
def notify_test(*args):
print('change123')
subscribe_to = bpy.types.RegionView3D,'view_rotation'
bpy.msgbus.subscribe_rna(
key=subscribe_to,
owner=object(),
args=(1, 2, 3),
notify=notify_test,
)
bpy.msgbus.publish_rna(key=subscribe_to)
```